com.prowidesoftware.swift.model.mx.dic.TradeAgreement2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
package com.prowidesoftware.swift.model.mx.dic;
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;
/**
* Date and identification of a trade together with references to previous events in its life.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeAgreement2", propOrder = {
"tradDt",
"ntfctnId",
"cmonRef",
"amdOrCclRsn",
"rltdRef"
})
public class TradeAgreement2 {
@XmlElement(name = "TradDt", required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar tradDt;
@XmlElement(name = "NtfctnId", required = true)
protected String ntfctnId;
@XmlElement(name = "CmonRef")
protected String cmonRef;
@XmlElement(name = "AmdOrCclRsn")
protected String amdOrCclRsn;
@XmlElement(name = "RltdRef", required = true)
protected String rltdRef;
/**
* Gets the value of the tradDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTradDt() {
return tradDt;
}
/**
* Sets the value of the tradDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public TradeAgreement2 setTradDt(XMLGregorianCalendar value) {
this.tradDt = value;
return this;
}
/**
* Gets the value of the ntfctnId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNtfctnId() {
return ntfctnId;
}
/**
* Sets the value of the ntfctnId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeAgreement2 setNtfctnId(String value) {
this.ntfctnId = value;
return this;
}
/**
* Gets the value of the cmonRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCmonRef() {
return cmonRef;
}
/**
* Sets the value of the cmonRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeAgreement2 setCmonRef(String value) {
this.cmonRef = value;
return this;
}
/**
* Gets the value of the amdOrCclRsn property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAmdOrCclRsn() {
return amdOrCclRsn;
}
/**
* Sets the value of the amdOrCclRsn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeAgreement2 setAmdOrCclRsn(String value) {
this.amdOrCclRsn = value;
return this;
}
/**
* Gets the value of the rltdRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRltdRef() {
return rltdRef;
}
/**
* Sets the value of the rltdRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeAgreement2 setRltdRef(String value) {
this.rltdRef = 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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy