com.prowidesoftware.swift.model.mx.dic.TransactionAgents5 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
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 further details on the agents specific to the individual transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TransactionAgents5", propOrder = {
"instgAgt",
"instdAgt",
"dbtrAgt",
"cdtrAgt",
"intrmyAgt1",
"intrmyAgt2",
"intrmyAgt3",
"rcvgAgt",
"dlvrgAgt",
"issgAgt",
"sttlmPlc",
"prtry"
})
public class TransactionAgents5 {
@XmlElement(name = "InstgAgt")
protected BranchAndFinancialInstitutionIdentification6 instgAgt;
@XmlElement(name = "InstdAgt")
protected BranchAndFinancialInstitutionIdentification6 instdAgt;
@XmlElement(name = "DbtrAgt")
protected BranchAndFinancialInstitutionIdentification6 dbtrAgt;
@XmlElement(name = "CdtrAgt")
protected BranchAndFinancialInstitutionIdentification6 cdtrAgt;
@XmlElement(name = "IntrmyAgt1")
protected BranchAndFinancialInstitutionIdentification6 intrmyAgt1;
@XmlElement(name = "IntrmyAgt2")
protected BranchAndFinancialInstitutionIdentification6 intrmyAgt2;
@XmlElement(name = "IntrmyAgt3")
protected BranchAndFinancialInstitutionIdentification6 intrmyAgt3;
@XmlElement(name = "RcvgAgt")
protected BranchAndFinancialInstitutionIdentification6 rcvgAgt;
@XmlElement(name = "DlvrgAgt")
protected BranchAndFinancialInstitutionIdentification6 dlvrgAgt;
@XmlElement(name = "IssgAgt")
protected BranchAndFinancialInstitutionIdentification6 issgAgt;
@XmlElement(name = "SttlmPlc")
protected BranchAndFinancialInstitutionIdentification6 sttlmPlc;
@XmlElement(name = "Prtry")
protected List prtry;
/**
* Gets the value of the instgAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getInstgAgt() {
return instgAgt;
}
/**
* Sets the value of the instgAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public TransactionAgents5 setInstgAgt(BranchAndFinancialInstitutionIdentification6 value) {
this.instgAgt = value;
return this;
}
/**
* Gets the value of the instdAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getInstdAgt() {
return instdAgt;
}
/**
* Sets the value of the instdAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public TransactionAgents5 setInstdAgt(BranchAndFinancialInstitutionIdentification6 value) {
this.instdAgt = value;
return this;
}
/**
* Gets the value of the dbtrAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getDbtrAgt() {
return dbtrAgt;
}
/**
* Sets the value of the dbtrAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public TransactionAgents5 setDbtrAgt(BranchAndFinancialInstitutionIdentification6 value) {
this.dbtrAgt = value;
return this;
}
/**
* Gets the value of the cdtrAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getCdtrAgt() {
return cdtrAgt;
}
/**
* Sets the value of the cdtrAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public TransactionAgents5 setCdtrAgt(BranchAndFinancialInstitutionIdentification6 value) {
this.cdtrAgt = value;
return this;
}
/**
* Gets the value of the intrmyAgt1 property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getIntrmyAgt1() {
return intrmyAgt1;
}
/**
* Sets the value of the intrmyAgt1 property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public TransactionAgents5 setIntrmyAgt1(BranchAndFinancialInstitutionIdentification6 value) {
this.intrmyAgt1 = value;
return this;
}
/**
* Gets the value of the intrmyAgt2 property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getIntrmyAgt2() {
return intrmyAgt2;
}
/**
* Sets the value of the intrmyAgt2 property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public TransactionAgents5 setIntrmyAgt2(BranchAndFinancialInstitutionIdentification6 value) {
this.intrmyAgt2 = value;
return this;
}
/**
* Gets the value of the intrmyAgt3 property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getIntrmyAgt3() {
return intrmyAgt3;
}
/**
* Sets the value of the intrmyAgt3 property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public TransactionAgents5 setIntrmyAgt3(BranchAndFinancialInstitutionIdentification6 value) {
this.intrmyAgt3 = value;
return this;
}
/**
* Gets the value of the rcvgAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getRcvgAgt() {
return rcvgAgt;
}
/**
* Sets the value of the rcvgAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public TransactionAgents5 setRcvgAgt(BranchAndFinancialInstitutionIdentification6 value) {
this.rcvgAgt = value;
return this;
}
/**
* Gets the value of the dlvrgAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getDlvrgAgt() {
return dlvrgAgt;
}
/**
* Sets the value of the dlvrgAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public TransactionAgents5 setDlvrgAgt(BranchAndFinancialInstitutionIdentification6 value) {
this.dlvrgAgt = value;
return this;
}
/**
* Gets the value of the issgAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getIssgAgt() {
return issgAgt;
}
/**
* Sets the value of the issgAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public TransactionAgents5 setIssgAgt(BranchAndFinancialInstitutionIdentification6 value) {
this.issgAgt = value;
return this;
}
/**
* Gets the value of the sttlmPlc property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getSttlmPlc() {
return sttlmPlc;
}
/**
* Sets the value of the sttlmPlc property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public TransactionAgents5 setSttlmPlc(BranchAndFinancialInstitutionIdentification6 value) {
this.sttlmPlc = value;
return this;
}
/**
* Gets the value of the prtry 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 JAXB object.
* This is why there is not a set
method for the prtry property.
*
*
* For example, to add a new item, do as follows:
*
* getPrtry().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ProprietaryAgent4 }
*
*
*/
public List getPrtry() {
if (prtry == null) {
prtry = new ArrayList();
}
return this.prtry;
}
@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 prtry list.
* @see #getPrtry()
*
*/
public TransactionAgents5 addPrtry(ProprietaryAgent4 prtry) {
getPrtry().add(prtry);
return this;
}
}