
com.prowidesoftware.swift.model.mx.dic.CashAccountEntrySearch6 Maven / Gradle / Ivy
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.XmlSchemaType;
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;
/**
* Defines the criteria used to search for a cash entry.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CashAccountEntrySearch6", propOrder = {
"acctId",
"ntryAmt",
"ntryAmtCcy",
"cdtDbtInd",
"ntrySts",
"ntryDt",
"acctOwnr",
"acctSvcr"
})
public class CashAccountEntrySearch6 {
@XmlElement(name = "AcctId")
protected List acctId;
@XmlElement(name = "NtryAmt")
protected List ntryAmt;
@XmlElement(name = "NtryAmtCcy")
protected List ntryAmtCcy;
@XmlElement(name = "CdtDbtInd")
@XmlSchemaType(name = "string")
protected CreditDebitCode cdtDbtInd;
@XmlElement(name = "NtrySts")
@XmlSchemaType(name = "string")
protected List ntrySts;
@XmlElement(name = "NtryDt")
protected List ntryDt;
@XmlElement(name = "AcctOwnr")
protected PartyIdentification135 acctOwnr;
@XmlElement(name = "AcctSvcr")
protected BranchAndFinancialInstitutionIdentification6 acctSvcr;
/**
* Gets the value of the acctId 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 acctId property.
*
*
* For example, to add a new item, do as follows:
*
* getAcctId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AccountIdentificationSearchCriteria2Choice }
*
*
*/
public List getAcctId() {
if (acctId == null) {
acctId = new ArrayList();
}
return this.acctId;
}
/**
* Gets the value of the ntryAmt 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 ntryAmt property.
*
*
* For example, to add a new item, do as follows:
*
* getNtryAmt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ActiveOrHistoricAmountRange2Choice }
*
*
*/
public List getNtryAmt() {
if (ntryAmt == null) {
ntryAmt = new ArrayList();
}
return this.ntryAmt;
}
/**
* Gets the value of the ntryAmtCcy 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 ntryAmtCcy property.
*
*
* For example, to add a new item, do as follows:
*
* getNtryAmtCcy().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getNtryAmtCcy() {
if (ntryAmtCcy == null) {
ntryAmtCcy = new ArrayList();
}
return this.ntryAmtCcy;
}
/**
* Gets the value of the cdtDbtInd property.
*
* @return
* possible object is
* {@link CreditDebitCode }
*
*/
public CreditDebitCode getCdtDbtInd() {
return cdtDbtInd;
}
/**
* Sets the value of the cdtDbtInd property.
*
* @param value
* allowed object is
* {@link CreditDebitCode }
*
*/
public CashAccountEntrySearch6 setCdtDbtInd(CreditDebitCode value) {
this.cdtDbtInd = value;
return this;
}
/**
* Gets the value of the ntrySts 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 ntrySts property.
*
*
* For example, to add a new item, do as follows:
*
* getNtrySts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link EntryStatus1Code }
*
*
*/
public List getNtrySts() {
if (ntrySts == null) {
ntrySts = new ArrayList();
}
return this.ntrySts;
}
/**
* Gets the value of the ntryDt 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 ntryDt property.
*
*
* For example, to add a new item, do as follows:
*
* getNtryDt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DateAndDateTimeSearch3Choice }
*
*
*/
public List getNtryDt() {
if (ntryDt == null) {
ntryDt = new ArrayList();
}
return this.ntryDt;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification135 }
*
*/
public PartyIdentification135 getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification135 }
*
*/
public CashAccountEntrySearch6 setAcctOwnr(PartyIdentification135 value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the acctSvcr property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getAcctSvcr() {
return acctSvcr;
}
/**
* Sets the value of the acctSvcr property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public CashAccountEntrySearch6 setAcctSvcr(BranchAndFinancialInstitutionIdentification6 value) {
this.acctSvcr = 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 acctId list.
* @see #getAcctId()
*
*/
public CashAccountEntrySearch6 addAcctId(AccountIdentificationSearchCriteria2Choice acctId) {
getAcctId().add(acctId);
return this;
}
/**
* Adds a new item to the ntryAmt list.
* @see #getNtryAmt()
*
*/
public CashAccountEntrySearch6 addNtryAmt(ActiveOrHistoricAmountRange2Choice ntryAmt) {
getNtryAmt().add(ntryAmt);
return this;
}
/**
* Adds a new item to the ntryAmtCcy list.
* @see #getNtryAmtCcy()
*
*/
public CashAccountEntrySearch6 addNtryAmtCcy(String ntryAmtCcy) {
getNtryAmtCcy().add(ntryAmtCcy);
return this;
}
/**
* Adds a new item to the ntrySts list.
* @see #getNtrySts()
*
*/
public CashAccountEntrySearch6 addNtrySts(EntryStatus1Code ntrySts) {
getNtrySts().add(ntrySts);
return this;
}
/**
* Adds a new item to the ntryDt list.
* @see #getNtryDt()
*
*/
public CashAccountEntrySearch6 addNtryDt(DateAndDateTimeSearch3Choice ntryDt) {
getNtryDt().add(ntryDt);
return this;
}
}