com.prowidesoftware.swift.model.mx.dic.ContractRegistrationStatement2 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;
/**
* Statement of the journal entries for all activities related to the registered currency control contract.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ContractRegistrationStatement2", propOrder = {
"stmtId",
"rptgPty",
"regnAgt",
"rptgPrd",
"regdCtrct",
"txJrnl",
"spprtgDocJrnl",
"addtlSpprtgDocJrnl",
"rgltryRuleVldtn",
"ttlCtrctTrnvrSum",
"splmtryData"
})
public class ContractRegistrationStatement2 {
@XmlElement(name = "StmtId")
protected String stmtId;
@XmlElement(name = "RptgPty", required = true)
protected TradeParty5 rptgPty;
@XmlElement(name = "RegnAgt", required = true)
protected BranchAndFinancialInstitutionIdentification6 regnAgt;
@XmlElement(name = "RptgPrd", required = true)
protected ReportingPeriod4 rptgPrd;
@XmlElement(name = "RegdCtrct", required = true)
protected RegisteredContract8 regdCtrct;
@XmlElement(name = "TxJrnl")
protected List txJrnl;
@XmlElement(name = "SpprtgDocJrnl")
protected List spprtgDocJrnl;
@XmlElement(name = "AddtlSpprtgDocJrnl")
protected List addtlSpprtgDocJrnl;
@XmlElement(name = "RgltryRuleVldtn")
protected List rgltryRuleVldtn;
@XmlElement(name = "TtlCtrctTrnvrSum", required = true)
protected ActiveCurrencyAndAmount ttlCtrctTrnvrSum;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the stmtId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStmtId() {
return stmtId;
}
/**
* Sets the value of the stmtId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ContractRegistrationStatement2 setStmtId(String value) {
this.stmtId = value;
return this;
}
/**
* Gets the value of the rptgPty property.
*
* @return
* possible object is
* {@link TradeParty5 }
*
*/
public TradeParty5 getRptgPty() {
return rptgPty;
}
/**
* Sets the value of the rptgPty property.
*
* @param value
* allowed object is
* {@link TradeParty5 }
*
*/
public ContractRegistrationStatement2 setRptgPty(TradeParty5 value) {
this.rptgPty = value;
return this;
}
/**
* Gets the value of the regnAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getRegnAgt() {
return regnAgt;
}
/**
* Sets the value of the regnAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public ContractRegistrationStatement2 setRegnAgt(BranchAndFinancialInstitutionIdentification6 value) {
this.regnAgt = value;
return this;
}
/**
* Gets the value of the rptgPrd property.
*
* @return
* possible object is
* {@link ReportingPeriod4 }
*
*/
public ReportingPeriod4 getRptgPrd() {
return rptgPrd;
}
/**
* Sets the value of the rptgPrd property.
*
* @param value
* allowed object is
* {@link ReportingPeriod4 }
*
*/
public ContractRegistrationStatement2 setRptgPrd(ReportingPeriod4 value) {
this.rptgPrd = value;
return this;
}
/**
* Gets the value of the regdCtrct property.
*
* @return
* possible object is
* {@link RegisteredContract8 }
*
*/
public RegisteredContract8 getRegdCtrct() {
return regdCtrct;
}
/**
* Sets the value of the regdCtrct property.
*
* @param value
* allowed object is
* {@link RegisteredContract8 }
*
*/
public ContractRegistrationStatement2 setRegdCtrct(RegisteredContract8 value) {
this.regdCtrct = value;
return this;
}
/**
* Gets the value of the txJrnl 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 txJrnl property.
*
*
* For example, to add a new item, do as follows:
*
* getTxJrnl().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TransactionCertificate3 }
*
*
* @return
* The value of the txJrnl property.
*/
public List getTxJrnl() {
if (txJrnl == null) {
txJrnl = new ArrayList<>();
}
return this.txJrnl;
}
/**
* Gets the value of the spprtgDocJrnl 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 spprtgDocJrnl property.
*
*
* For example, to add a new item, do as follows:
*
* getSpprtgDocJrnl().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SupportingDocument2 }
*
*
* @return
* The value of the spprtgDocJrnl property.
*/
public List getSpprtgDocJrnl() {
if (spprtgDocJrnl == null) {
spprtgDocJrnl = new ArrayList<>();
}
return this.spprtgDocJrnl;
}
/**
* Gets the value of the addtlSpprtgDocJrnl 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 addtlSpprtgDocJrnl property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlSpprtgDocJrnl().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SupportingDocument2 }
*
*
* @return
* The value of the addtlSpprtgDocJrnl property.
*/
public List getAddtlSpprtgDocJrnl() {
if (addtlSpprtgDocJrnl == null) {
addtlSpprtgDocJrnl = new ArrayList<>();
}
return this.addtlSpprtgDocJrnl;
}
/**
* Gets the value of the rgltryRuleVldtn 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 rgltryRuleVldtn property.
*
*
* For example, to add a new item, do as follows:
*
* getRgltryRuleVldtn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GenericValidationRuleIdentification1 }
*
*
* @return
* The value of the rgltryRuleVldtn property.
*/
public List getRgltryRuleVldtn() {
if (rgltryRuleVldtn == null) {
rgltryRuleVldtn = new ArrayList<>();
}
return this.rgltryRuleVldtn;
}
/**
* Gets the value of the ttlCtrctTrnvrSum property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getTtlCtrctTrnvrSum() {
return ttlCtrctTrnvrSum;
}
/**
* Sets the value of the ttlCtrctTrnvrSum property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ContractRegistrationStatement2 setTtlCtrctTrnvrSum(ActiveCurrencyAndAmount value) {
this.ttlCtrctTrnvrSum = value;
return this;
}
/**
* Gets the value of the splmtryData 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 splmtryData property.
*
*
* For example, to add a new item, do as follows:
*
* getSplmtryData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SupplementaryData1 }
*
*
* @return
* The value of the splmtryData property.
*/
public List getSplmtryData() {
if (splmtryData == null) {
splmtryData = new ArrayList<>();
}
return this.splmtryData;
}
@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 txJrnl list.
* @see #getTxJrnl()
*
*/
public ContractRegistrationStatement2 addTxJrnl(TransactionCertificate3 txJrnl) {
getTxJrnl().add(txJrnl);
return this;
}
/**
* Adds a new item to the spprtgDocJrnl list.
* @see #getSpprtgDocJrnl()
*
*/
public ContractRegistrationStatement2 addSpprtgDocJrnl(SupportingDocument2 spprtgDocJrnl) {
getSpprtgDocJrnl().add(spprtgDocJrnl);
return this;
}
/**
* Adds a new item to the addtlSpprtgDocJrnl list.
* @see #getAddtlSpprtgDocJrnl()
*
*/
public ContractRegistrationStatement2 addAddtlSpprtgDocJrnl(SupportingDocument2 addtlSpprtgDocJrnl) {
getAddtlSpprtgDocJrnl().add(addtlSpprtgDocJrnl);
return this;
}
/**
* Adds a new item to the rgltryRuleVldtn list.
* @see #getRgltryRuleVldtn()
*
*/
public ContractRegistrationStatement2 addRgltryRuleVldtn(GenericValidationRuleIdentification1 rgltryRuleVldtn) {
getRgltryRuleVldtn().add(rgltryRuleVldtn);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public ContractRegistrationStatement2 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}