com.prowidesoftware.swift.model.mx.dic.OtherParties2 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.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;
/**
* Other parties information.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OtherParties2", propOrder = {
"invstr",
"qlfdFrgnIntrmy",
"stockXchg",
"tradRgltr",
"trptyAgt"
})
public class OtherParties2 {
@XmlElement(name = "Invstr")
protected List invstr;
@XmlElement(name = "QlfdFrgnIntrmy")
protected PartyIdentificationAndAccount21 qlfdFrgnIntrmy;
@XmlElement(name = "StockXchg")
protected PartyIdentificationAndAccount21 stockXchg;
@XmlElement(name = "TradRgltr")
protected PartyIdentificationAndAccount21 tradRgltr;
@XmlElement(name = "TrptyAgt")
protected PartyIdentificationAndAccount21 trptyAgt;
/**
* Gets the value of the invstr 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the invstr property.
*
*
* For example, to add a new item, do as follows:
*
* getInvstr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyIdentificationAndAccount19 }
*
*
* @return
* The value of the invstr property.
*/
public List getInvstr() {
if (invstr == null) {
invstr = new ArrayList<>();
}
return this.invstr;
}
/**
* Gets the value of the qlfdFrgnIntrmy property.
*
* @return
* possible object is
* {@link PartyIdentificationAndAccount21 }
*
*/
public PartyIdentificationAndAccount21 getQlfdFrgnIntrmy() {
return qlfdFrgnIntrmy;
}
/**
* Sets the value of the qlfdFrgnIntrmy property.
*
* @param value
* allowed object is
* {@link PartyIdentificationAndAccount21 }
*
*/
public OtherParties2 setQlfdFrgnIntrmy(PartyIdentificationAndAccount21 value) {
this.qlfdFrgnIntrmy = value;
return this;
}
/**
* Gets the value of the stockXchg property.
*
* @return
* possible object is
* {@link PartyIdentificationAndAccount21 }
*
*/
public PartyIdentificationAndAccount21 getStockXchg() {
return stockXchg;
}
/**
* Sets the value of the stockXchg property.
*
* @param value
* allowed object is
* {@link PartyIdentificationAndAccount21 }
*
*/
public OtherParties2 setStockXchg(PartyIdentificationAndAccount21 value) {
this.stockXchg = value;
return this;
}
/**
* Gets the value of the tradRgltr property.
*
* @return
* possible object is
* {@link PartyIdentificationAndAccount21 }
*
*/
public PartyIdentificationAndAccount21 getTradRgltr() {
return tradRgltr;
}
/**
* Sets the value of the tradRgltr property.
*
* @param value
* allowed object is
* {@link PartyIdentificationAndAccount21 }
*
*/
public OtherParties2 setTradRgltr(PartyIdentificationAndAccount21 value) {
this.tradRgltr = value;
return this;
}
/**
* Gets the value of the trptyAgt property.
*
* @return
* possible object is
* {@link PartyIdentificationAndAccount21 }
*
*/
public PartyIdentificationAndAccount21 getTrptyAgt() {
return trptyAgt;
}
/**
* Sets the value of the trptyAgt property.
*
* @param value
* allowed object is
* {@link PartyIdentificationAndAccount21 }
*
*/
public OtherParties2 setTrptyAgt(PartyIdentificationAndAccount21 value) {
this.trptyAgt = 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 invstr list.
* @see #getInvstr()
*
*/
public OtherParties2 addInvstr(PartyIdentificationAndAccount19 invstr) {
getInvstr().add(invstr);
return this;
}
}