com.prowidesoftware.swift.model.mx.dic.SystemSearch3 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;
/**
* Search for a system and a member of a system.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SystemSearch3", propOrder = {
"sysId",
"mmbId",
"ctry",
"acctId"
})
public class SystemSearch3 {
@XmlElement(name = "SysId")
protected List sysId;
@XmlElement(name = "MmbId")
protected List mmbId;
@XmlElement(name = "Ctry")
protected String ctry;
@XmlElement(name = "AcctId")
protected AccountIdentification4Choice acctId;
/**
* Gets the value of the sysId 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 sysId property.
*
*
* For example, to add a new item, do as follows:
*
* getSysId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ClearingSystemIdentification3Choice }
*
*
* @return
* The value of the sysId property.
*/
public List getSysId() {
if (sysId == null) {
sysId = new ArrayList<>();
}
return this.sysId;
}
/**
* Gets the value of the mmbId 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 mmbId property.
*
*
* For example, to add a new item, do as follows:
*
* getMmbId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*
* @return
* The value of the mmbId property.
*/
public List getMmbId() {
if (mmbId == null) {
mmbId = new ArrayList<>();
}
return this.mmbId;
}
/**
* Gets the value of the ctry property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCtry() {
return ctry;
}
/**
* Sets the value of the ctry property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SystemSearch3 setCtry(String value) {
this.ctry = value;
return this;
}
/**
* Gets the value of the acctId property.
*
* @return
* possible object is
* {@link AccountIdentification4Choice }
*
*/
public AccountIdentification4Choice getAcctId() {
return acctId;
}
/**
* Sets the value of the acctId property.
*
* @param value
* allowed object is
* {@link AccountIdentification4Choice }
*
*/
public SystemSearch3 setAcctId(AccountIdentification4Choice value) {
this.acctId = 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 sysId list.
* @see #getSysId()
*
*/
public SystemSearch3 addSysId(ClearingSystemIdentification3Choice sysId) {
getSysId().add(sysId);
return this;
}
/**
* Adds a new item to the mmbId list.
* @see #getMmbId()
*
*/
public SystemSearch3 addMmbId(BranchAndFinancialInstitutionIdentification5 mmbId) {
getMmbId().add(mmbId);
return this;
}
}