com.prowidesoftware.swift.model.mx.dic.LoanData1 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Specifies the loan data details in case of a repurchase trade transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LoanData1", propOrder = {
"clrSts",
"tradgVn",
"mstrAgrmt",
"valDt",
"minNtcePrd",
"earlstCallBckDt",
"gnlColl",
"dlvryByVal",
"collDlvryMtd",
"term",
"intrstRate",
"prncplAmt"
})
public class LoanData1 {
@XmlElement(name = "ClrSts")
protected Cleared8Choice clrSts;
@XmlElement(name = "TradgVn")
protected String tradgVn;
@XmlElement(name = "MstrAgrmt")
protected MasterAgreement1 mstrAgrmt;
@XmlElement(name = "ValDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar valDt;
@XmlElement(name = "MinNtcePrd")
protected BigDecimal minNtcePrd;
@XmlElement(name = "EarlstCallBckDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar earlstCallBckDt;
@XmlElement(name = "GnlColl")
@XmlSchemaType(name = "string")
protected SpecialCollateral1Code gnlColl;
@XmlElement(name = "DlvryByVal")
protected Boolean dlvryByVal;
@XmlElement(name = "CollDlvryMtd")
@XmlSchemaType(name = "string")
protected CollateralDeliveryMethod1Code collDlvryMtd;
@XmlElement(name = "Term")
protected List term;
@XmlElement(name = "IntrstRate")
protected InterestRate14Choice intrstRate;
@XmlElement(name = "PrncplAmt")
protected PrincipalAmount1 prncplAmt;
/**
* Gets the value of the clrSts property.
*
* @return
* possible object is
* {@link Cleared8Choice }
*
*/
public Cleared8Choice getClrSts() {
return clrSts;
}
/**
* Sets the value of the clrSts property.
*
* @param value
* allowed object is
* {@link Cleared8Choice }
*
*/
public LoanData1 setClrSts(Cleared8Choice value) {
this.clrSts = value;
return this;
}
/**
* Gets the value of the tradgVn property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTradgVn() {
return tradgVn;
}
/**
* Sets the value of the tradgVn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public LoanData1 setTradgVn(String value) {
this.tradgVn = value;
return this;
}
/**
* Gets the value of the mstrAgrmt property.
*
* @return
* possible object is
* {@link MasterAgreement1 }
*
*/
public MasterAgreement1 getMstrAgrmt() {
return mstrAgrmt;
}
/**
* Sets the value of the mstrAgrmt property.
*
* @param value
* allowed object is
* {@link MasterAgreement1 }
*
*/
public LoanData1 setMstrAgrmt(MasterAgreement1 value) {
this.mstrAgrmt = value;
return this;
}
/**
* Gets the value of the valDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getValDt() {
return valDt;
}
/**
* Sets the value of the valDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public LoanData1 setValDt(XMLGregorianCalendar value) {
this.valDt = value;
return this;
}
/**
* Gets the value of the minNtcePrd property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMinNtcePrd() {
return minNtcePrd;
}
/**
* Sets the value of the minNtcePrd property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public LoanData1 setMinNtcePrd(BigDecimal value) {
this.minNtcePrd = value;
return this;
}
/**
* Gets the value of the earlstCallBckDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getEarlstCallBckDt() {
return earlstCallBckDt;
}
/**
* Sets the value of the earlstCallBckDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public LoanData1 setEarlstCallBckDt(XMLGregorianCalendar value) {
this.earlstCallBckDt = value;
return this;
}
/**
* Gets the value of the gnlColl property.
*
* @return
* possible object is
* {@link SpecialCollateral1Code }
*
*/
public SpecialCollateral1Code getGnlColl() {
return gnlColl;
}
/**
* Sets the value of the gnlColl property.
*
* @param value
* allowed object is
* {@link SpecialCollateral1Code }
*
*/
public LoanData1 setGnlColl(SpecialCollateral1Code value) {
this.gnlColl = value;
return this;
}
/**
* Gets the value of the dlvryByVal property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDlvryByVal() {
return dlvryByVal;
}
/**
* Sets the value of the dlvryByVal property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public LoanData1 setDlvryByVal(Boolean value) {
this.dlvryByVal = value;
return this;
}
/**
* Gets the value of the collDlvryMtd property.
*
* @return
* possible object is
* {@link CollateralDeliveryMethod1Code }
*
*/
public CollateralDeliveryMethod1Code getCollDlvryMtd() {
return collDlvryMtd;
}
/**
* Sets the value of the collDlvryMtd property.
*
* @param value
* allowed object is
* {@link CollateralDeliveryMethod1Code }
*
*/
public LoanData1 setCollDlvryMtd(CollateralDeliveryMethod1Code value) {
this.collDlvryMtd = value;
return this;
}
/**
* Gets the value of the term property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the term property.
*
*
* For example, to add a new item, do as follows:
*
* getTerm().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ContractTerm2Choice }
*
*
*/
public List getTerm() {
if (term == null) {
term = new ArrayList();
}
return this.term;
}
/**
* Gets the value of the intrstRate property.
*
* @return
* possible object is
* {@link InterestRate14Choice }
*
*/
public InterestRate14Choice getIntrstRate() {
return intrstRate;
}
/**
* Sets the value of the intrstRate property.
*
* @param value
* allowed object is
* {@link InterestRate14Choice }
*
*/
public LoanData1 setIntrstRate(InterestRate14Choice value) {
this.intrstRate = value;
return this;
}
/**
* Gets the value of the prncplAmt property.
*
* @return
* possible object is
* {@link PrincipalAmount1 }
*
*/
public PrincipalAmount1 getPrncplAmt() {
return prncplAmt;
}
/**
* Sets the value of the prncplAmt property.
*
* @param value
* allowed object is
* {@link PrincipalAmount1 }
*
*/
public LoanData1 setPrncplAmt(PrincipalAmount1 value) {
this.prncplAmt = value;
return this;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
/**
* Adds a new item to the term list.
* @see #getTerm()
*
*/
public LoanData1 addTerm(ContractTerm2Choice term) {
getTerm().add(term);
return this;
}
}