com.prowidesoftware.swift.model.mx.dic.RequestDetails20 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 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;
/**
* Details of the settlement condition modification request.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RequestDetails20", propOrder = {
"ref",
"rstrctnRef",
"automtcBrrwg",
"rtnInd",
"lkg",
"prty",
"othrPrcg",
"prtlSttlmInd",
"sctiesRTGS",
"hldInd",
"mtchgDnl",
"unltrlSplt",
"lnkgs"
})
public class RequestDetails20 {
@XmlElement(name = "Ref", required = true)
protected References23 ref;
@XmlElement(name = "RstrctnRef")
protected List rstrctnRef;
@XmlElement(name = "AutomtcBrrwg")
protected AutomaticBorrowing7Choice automtcBrrwg;
@XmlElement(name = "RtnInd")
protected Boolean rtnInd;
@XmlElement(name = "Lkg")
protected LinkageType3Choice lkg;
@XmlElement(name = "Prty")
protected PriorityNumeric4Choice prty;
@XmlElement(name = "OthrPrcg")
protected List othrPrcg;
@XmlElement(name = "PrtlSttlmInd")
@XmlSchemaType(name = "string")
protected SettlementTransactionCondition5Code prtlSttlmInd;
@XmlElement(name = "SctiesRTGS")
protected SecuritiesRTGS4Choice sctiesRTGS;
@XmlElement(name = "HldInd")
protected HoldIndicator6 hldInd;
@XmlElement(name = "MtchgDnl")
protected MatchingDenied3Choice mtchgDnl;
@XmlElement(name = "UnltrlSplt")
protected UnilateralSplit3Choice unltrlSplt;
@XmlElement(name = "Lnkgs")
protected List lnkgs;
/**
* Gets the value of the ref property.
*
* @return
* possible object is
* {@link References23 }
*
*/
public References23 getRef() {
return ref;
}
/**
* Sets the value of the ref property.
*
* @param value
* allowed object is
* {@link References23 }
*
*/
public RequestDetails20 setRef(References23 value) {
this.ref = value;
return this;
}
/**
* Gets the value of the rstrctnRef 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 rstrctnRef property.
*
*
* For example, to add a new item, do as follows:
*
* getRstrctnRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RestrictionIdentification1 }
*
*
*/
public List getRstrctnRef() {
if (rstrctnRef == null) {
rstrctnRef = new ArrayList();
}
return this.rstrctnRef;
}
/**
* Gets the value of the automtcBrrwg property.
*
* @return
* possible object is
* {@link AutomaticBorrowing7Choice }
*
*/
public AutomaticBorrowing7Choice getAutomtcBrrwg() {
return automtcBrrwg;
}
/**
* Sets the value of the automtcBrrwg property.
*
* @param value
* allowed object is
* {@link AutomaticBorrowing7Choice }
*
*/
public RequestDetails20 setAutomtcBrrwg(AutomaticBorrowing7Choice value) {
this.automtcBrrwg = value;
return this;
}
/**
* Gets the value of the rtnInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRtnInd() {
return rtnInd;
}
/**
* Sets the value of the rtnInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public RequestDetails20 setRtnInd(Boolean value) {
this.rtnInd = value;
return this;
}
/**
* Gets the value of the lkg property.
*
* @return
* possible object is
* {@link LinkageType3Choice }
*
*/
public LinkageType3Choice getLkg() {
return lkg;
}
/**
* Sets the value of the lkg property.
*
* @param value
* allowed object is
* {@link LinkageType3Choice }
*
*/
public RequestDetails20 setLkg(LinkageType3Choice value) {
this.lkg = value;
return this;
}
/**
* Gets the value of the prty property.
*
* @return
* possible object is
* {@link PriorityNumeric4Choice }
*
*/
public PriorityNumeric4Choice getPrty() {
return prty;
}
/**
* Sets the value of the prty property.
*
* @param value
* allowed object is
* {@link PriorityNumeric4Choice }
*
*/
public RequestDetails20 setPrty(PriorityNumeric4Choice value) {
this.prty = value;
return this;
}
/**
* Gets the value of the othrPrcg 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 othrPrcg property.
*
*
* For example, to add a new item, do as follows:
*
* getOthrPrcg().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GenericIdentification30 }
*
*
*/
public List getOthrPrcg() {
if (othrPrcg == null) {
othrPrcg = new ArrayList();
}
return this.othrPrcg;
}
/**
* Gets the value of the prtlSttlmInd property.
*
* @return
* possible object is
* {@link SettlementTransactionCondition5Code }
*
*/
public SettlementTransactionCondition5Code getPrtlSttlmInd() {
return prtlSttlmInd;
}
/**
* Sets the value of the prtlSttlmInd property.
*
* @param value
* allowed object is
* {@link SettlementTransactionCondition5Code }
*
*/
public RequestDetails20 setPrtlSttlmInd(SettlementTransactionCondition5Code value) {
this.prtlSttlmInd = value;
return this;
}
/**
* Gets the value of the sctiesRTGS property.
*
* @return
* possible object is
* {@link SecuritiesRTGS4Choice }
*
*/
public SecuritiesRTGS4Choice getSctiesRTGS() {
return sctiesRTGS;
}
/**
* Sets the value of the sctiesRTGS property.
*
* @param value
* allowed object is
* {@link SecuritiesRTGS4Choice }
*
*/
public RequestDetails20 setSctiesRTGS(SecuritiesRTGS4Choice value) {
this.sctiesRTGS = value;
return this;
}
/**
* Gets the value of the hldInd property.
*
* @return
* possible object is
* {@link HoldIndicator6 }
*
*/
public HoldIndicator6 getHldInd() {
return hldInd;
}
/**
* Sets the value of the hldInd property.
*
* @param value
* allowed object is
* {@link HoldIndicator6 }
*
*/
public RequestDetails20 setHldInd(HoldIndicator6 value) {
this.hldInd = value;
return this;
}
/**
* Gets the value of the mtchgDnl property.
*
* @return
* possible object is
* {@link MatchingDenied3Choice }
*
*/
public MatchingDenied3Choice getMtchgDnl() {
return mtchgDnl;
}
/**
* Sets the value of the mtchgDnl property.
*
* @param value
* allowed object is
* {@link MatchingDenied3Choice }
*
*/
public RequestDetails20 setMtchgDnl(MatchingDenied3Choice value) {
this.mtchgDnl = value;
return this;
}
/**
* Gets the value of the unltrlSplt property.
*
* @return
* possible object is
* {@link UnilateralSplit3Choice }
*
*/
public UnilateralSplit3Choice getUnltrlSplt() {
return unltrlSplt;
}
/**
* Sets the value of the unltrlSplt property.
*
* @param value
* allowed object is
* {@link UnilateralSplit3Choice }
*
*/
public RequestDetails20 setUnltrlSplt(UnilateralSplit3Choice value) {
this.unltrlSplt = value;
return this;
}
/**
* Gets the value of the lnkgs 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 lnkgs property.
*
*
* For example, to add a new item, do as follows:
*
* getLnkgs().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Linkages53 }
*
*
*/
public List getLnkgs() {
if (lnkgs == null) {
lnkgs = new ArrayList();
}
return this.lnkgs;
}
@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 rstrctnRef list.
* @see #getRstrctnRef()
*
*/
public RequestDetails20 addRstrctnRef(RestrictionIdentification1 rstrctnRef) {
getRstrctnRef().add(rstrctnRef);
return this;
}
/**
* Adds a new item to the othrPrcg list.
* @see #getOthrPrcg()
*
*/
public RequestDetails20 addOthrPrcg(GenericIdentification30 othrPrcg) {
getOthrPrcg().add(othrPrcg);
return this;
}
/**
* Adds a new item to the lnkgs list.
* @see #getLnkgs()
*
*/
public RequestDetails20 addLnkgs(Linkages53 lnkgs) {
getLnkgs().add(lnkgs);
return this;
}
}