com.prowidesoftware.swift.model.mx.dic.OperationMandate5 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
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;
/**
* Information specifying the mandate.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OperationMandate5", propOrder = {
"modCd",
"id",
"aplblChanl",
"reqrdSgntrNb",
"sgntrOrdrInd",
"mndtHldr",
"bkOpr",
"startDt",
"endDt"
})
public class OperationMandate5 {
@XmlElement(name = "ModCd")
@XmlSchemaType(name = "string")
protected Modification1Code modCd;
@XmlElement(name = "Id", required = true)
protected String id;
@XmlElement(name = "AplblChanl", required = true)
protected List aplblChanl;
@XmlElement(name = "ReqrdSgntrNb", required = true)
protected String reqrdSgntrNb;
@XmlElement(name = "SgntrOrdrInd")
protected boolean sgntrOrdrInd;
@XmlElement(name = "MndtHldr")
protected List mndtHldr;
@XmlElement(name = "BkOpr", required = true)
protected List bkOpr;
@XmlElement(name = "StartDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar startDt;
@XmlElement(name = "EndDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar endDt;
/**
* Gets the value of the modCd property.
*
* @return
* possible object is
* {@link Modification1Code }
*
*/
public Modification1Code getModCd() {
return modCd;
}
/**
* Sets the value of the modCd property.
*
* @param value
* allowed object is
* {@link Modification1Code }
*
*/
public OperationMandate5 setModCd(Modification1Code value) {
this.modCd = value;
return this;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public OperationMandate5 setId(String value) {
this.id = value;
return this;
}
/**
* Gets the value of the aplblChanl 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 aplblChanl property.
*
*
* For example, to add a new item, do as follows:
*
* getAplblChanl().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Channel2Choice }
*
*
*/
public List getAplblChanl() {
if (aplblChanl == null) {
aplblChanl = new ArrayList();
}
return this.aplblChanl;
}
/**
* Gets the value of the reqrdSgntrNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReqrdSgntrNb() {
return reqrdSgntrNb;
}
/**
* Sets the value of the reqrdSgntrNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public OperationMandate5 setReqrdSgntrNb(String value) {
this.reqrdSgntrNb = value;
return this;
}
/**
* Gets the value of the sgntrOrdrInd property.
*
*/
public boolean isSgntrOrdrInd() {
return sgntrOrdrInd;
}
/**
* Sets the value of the sgntrOrdrInd property.
*
*/
public OperationMandate5 setSgntrOrdrInd(boolean value) {
this.sgntrOrdrInd = value;
return this;
}
/**
* Gets the value of the mndtHldr 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 mndtHldr property.
*
*
* For example, to add a new item, do as follows:
*
* getMndtHldr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyAndAuthorisation5 }
*
*
*/
public List getMndtHldr() {
if (mndtHldr == null) {
mndtHldr = new ArrayList();
}
return this.mndtHldr;
}
/**
* Gets the value of the bkOpr 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 bkOpr property.
*
*
* For example, to add a new item, do as follows:
*
* getBkOpr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BankTransactionCodeStructure4 }
*
*
*/
public List getBkOpr() {
if (bkOpr == null) {
bkOpr = new ArrayList();
}
return this.bkOpr;
}
/**
* Gets the value of the startDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getStartDt() {
return startDt;
}
/**
* Sets the value of the startDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public OperationMandate5 setStartDt(XMLGregorianCalendar value) {
this.startDt = value;
return this;
}
/**
* Gets the value of the endDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getEndDt() {
return endDt;
}
/**
* Sets the value of the endDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public OperationMandate5 setEndDt(XMLGregorianCalendar value) {
this.endDt = 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 aplblChanl list.
* @see #getAplblChanl()
*
*/
public OperationMandate5 addAplblChanl(Channel2Choice aplblChanl) {
getAplblChanl().add(aplblChanl);
return this;
}
/**
* Adds a new item to the mndtHldr list.
* @see #getMndtHldr()
*
*/
public OperationMandate5 addMndtHldr(PartyAndAuthorisation5 mndtHldr) {
getMndtHldr().add(mndtHldr);
return this;
}
/**
* Adds a new item to the bkOpr list.
* @see #getBkOpr()
*
*/
public OperationMandate5 addBkOpr(BankTransactionCodeStructure4 bkOpr) {
getBkOpr().add(bkOpr);
return this;
}
}