
com.prowidesoftware.swift.model.mx.dic.Obligation2 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 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;
/**
* Provides information like the identification of the party or parties associated with the collateral agreement, the exposure type and the valuation date.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Obligation2", propOrder = {
"ptyA",
"svcgPtyA",
"ptyB",
"svcgPtyB",
"collAcctId",
"xpsrTp",
"valtnDt"
})
public class Obligation2 {
@XmlElement(name = "PtyA", required = true)
protected PartyIdentification33Choice ptyA;
@XmlElement(name = "SvcgPtyA")
protected PartyIdentification33Choice svcgPtyA;
@XmlElement(name = "PtyB", required = true)
protected PartyIdentification33Choice ptyB;
@XmlElement(name = "SvcgPtyB")
protected PartyIdentification33Choice svcgPtyB;
@XmlElement(name = "CollAcctId")
protected CollateralAccount1 collAcctId;
@XmlElement(name = "XpsrTp")
@XmlSchemaType(name = "string")
protected ExposureType1Code xpsrTp;
@XmlElement(name = "ValtnDt", required = true)
protected DateAndDateTimeChoice valtnDt;
/**
* Gets the value of the ptyA property.
*
* @return
* possible object is
* {@link PartyIdentification33Choice }
*
*/
public PartyIdentification33Choice getPtyA() {
return ptyA;
}
/**
* Sets the value of the ptyA property.
*
* @param value
* allowed object is
* {@link PartyIdentification33Choice }
*
*/
public Obligation2 setPtyA(PartyIdentification33Choice value) {
this.ptyA = value;
return this;
}
/**
* Gets the value of the svcgPtyA property.
*
* @return
* possible object is
* {@link PartyIdentification33Choice }
*
*/
public PartyIdentification33Choice getSvcgPtyA() {
return svcgPtyA;
}
/**
* Sets the value of the svcgPtyA property.
*
* @param value
* allowed object is
* {@link PartyIdentification33Choice }
*
*/
public Obligation2 setSvcgPtyA(PartyIdentification33Choice value) {
this.svcgPtyA = value;
return this;
}
/**
* Gets the value of the ptyB property.
*
* @return
* possible object is
* {@link PartyIdentification33Choice }
*
*/
public PartyIdentification33Choice getPtyB() {
return ptyB;
}
/**
* Sets the value of the ptyB property.
*
* @param value
* allowed object is
* {@link PartyIdentification33Choice }
*
*/
public Obligation2 setPtyB(PartyIdentification33Choice value) {
this.ptyB = value;
return this;
}
/**
* Gets the value of the svcgPtyB property.
*
* @return
* possible object is
* {@link PartyIdentification33Choice }
*
*/
public PartyIdentification33Choice getSvcgPtyB() {
return svcgPtyB;
}
/**
* Sets the value of the svcgPtyB property.
*
* @param value
* allowed object is
* {@link PartyIdentification33Choice }
*
*/
public Obligation2 setSvcgPtyB(PartyIdentification33Choice value) {
this.svcgPtyB = value;
return this;
}
/**
* Gets the value of the collAcctId property.
*
* @return
* possible object is
* {@link CollateralAccount1 }
*
*/
public CollateralAccount1 getCollAcctId() {
return collAcctId;
}
/**
* Sets the value of the collAcctId property.
*
* @param value
* allowed object is
* {@link CollateralAccount1 }
*
*/
public Obligation2 setCollAcctId(CollateralAccount1 value) {
this.collAcctId = value;
return this;
}
/**
* Gets the value of the xpsrTp property.
*
* @return
* possible object is
* {@link ExposureType1Code }
*
*/
public ExposureType1Code getXpsrTp() {
return xpsrTp;
}
/**
* Sets the value of the xpsrTp property.
*
* @param value
* allowed object is
* {@link ExposureType1Code }
*
*/
public Obligation2 setXpsrTp(ExposureType1Code value) {
this.xpsrTp = value;
return this;
}
/**
* Gets the value of the valtnDt property.
*
* @return
* possible object is
* {@link DateAndDateTimeChoice }
*
*/
public DateAndDateTimeChoice getValtnDt() {
return valtnDt;
}
/**
* Sets the value of the valtnDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTimeChoice }
*
*/
public Obligation2 setValtnDt(DateAndDateTimeChoice value) {
this.valtnDt = 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