com.prowidesoftware.swift.model.mx.dic.Identification15 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;
/**
* Unique identifier of a document, message or transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Identification15", propOrder = {
"acctOwnrTxId",
"acctSvcrTxId",
"mktInfrstrctrTxId",
"prcrTxId",
"cmonId",
"tradId",
"mstrId",
"bsktId",
"indxId",
"listId",
"prgmId",
"poolId",
"corpActnEvtId"
})
public class Identification15 {
@XmlElement(name = "AcctOwnrTxId", required = true)
protected String acctOwnrTxId;
@XmlElement(name = "AcctSvcrTxId")
protected String acctSvcrTxId;
@XmlElement(name = "MktInfrstrctrTxId")
protected String mktInfrstrctrTxId;
@XmlElement(name = "PrcrTxId")
protected String prcrTxId;
@XmlElement(name = "CmonId")
protected String cmonId;
@XmlElement(name = "TradId")
protected List tradId;
@XmlElement(name = "MstrId")
protected String mstrId;
@XmlElement(name = "BsktId")
protected String bsktId;
@XmlElement(name = "IndxId")
protected String indxId;
@XmlElement(name = "ListId")
protected String listId;
@XmlElement(name = "PrgmId")
protected String prgmId;
@XmlElement(name = "PoolId")
protected String poolId;
@XmlElement(name = "CorpActnEvtId")
protected String corpActnEvtId;
/**
* Gets the value of the acctOwnrTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcctOwnrTxId() {
return acctOwnrTxId;
}
/**
* Sets the value of the acctOwnrTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Identification15 setAcctOwnrTxId(String value) {
this.acctOwnrTxId = value;
return this;
}
/**
* Gets the value of the acctSvcrTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcctSvcrTxId() {
return acctSvcrTxId;
}
/**
* Sets the value of the acctSvcrTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Identification15 setAcctSvcrTxId(String value) {
this.acctSvcrTxId = value;
return this;
}
/**
* Gets the value of the mktInfrstrctrTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMktInfrstrctrTxId() {
return mktInfrstrctrTxId;
}
/**
* Sets the value of the mktInfrstrctrTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Identification15 setMktInfrstrctrTxId(String value) {
this.mktInfrstrctrTxId = value;
return this;
}
/**
* Gets the value of the prcrTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrcrTxId() {
return prcrTxId;
}
/**
* Sets the value of the prcrTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Identification15 setPrcrTxId(String value) {
this.prcrTxId = value;
return this;
}
/**
* Gets the value of the cmonId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCmonId() {
return cmonId;
}
/**
* Sets the value of the cmonId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Identification15 setCmonId(String value) {
this.cmonId = value;
return this;
}
/**
* Gets the value of the tradId 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 tradId property.
*
*
* For example, to add a new item, do as follows:
*
* getTradId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the tradId property.
*/
public List getTradId() {
if (tradId == null) {
tradId = new ArrayList<>();
}
return this.tradId;
}
/**
* Gets the value of the mstrId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMstrId() {
return mstrId;
}
/**
* Sets the value of the mstrId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Identification15 setMstrId(String value) {
this.mstrId = value;
return this;
}
/**
* Gets the value of the bsktId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBsktId() {
return bsktId;
}
/**
* Sets the value of the bsktId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Identification15 setBsktId(String value) {
this.bsktId = value;
return this;
}
/**
* Gets the value of the indxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIndxId() {
return indxId;
}
/**
* Sets the value of the indxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Identification15 setIndxId(String value) {
this.indxId = value;
return this;
}
/**
* Gets the value of the listId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getListId() {
return listId;
}
/**
* Sets the value of the listId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Identification15 setListId(String value) {
this.listId = value;
return this;
}
/**
* Gets the value of the prgmId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrgmId() {
return prgmId;
}
/**
* Sets the value of the prgmId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Identification15 setPrgmId(String value) {
this.prgmId = value;
return this;
}
/**
* Gets the value of the poolId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPoolId() {
return poolId;
}
/**
* Sets the value of the poolId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Identification15 setPoolId(String value) {
this.poolId = value;
return this;
}
/**
* Gets the value of the corpActnEvtId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCorpActnEvtId() {
return corpActnEvtId;
}
/**
* Sets the value of the corpActnEvtId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Identification15 setCorpActnEvtId(String value) {
this.corpActnEvtId = 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 tradId list.
* @see #getTradId()
*
*/
public Identification15 addTradId(String tradId) {
getTradId().add(tradId);
return this;
}
}