com.prowidesoftware.swift.model.mx.dic.RequestDetails12 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 = "RequestDetails12", propOrder = {
"ref",
"automtcBrrwg",
"rtnInd",
"lkg",
"prty",
"othrPrcg",
"prtlSttlmInd",
"sctiesRTGS",
"hldInd",
"mtchgDnl",
"unltrlSplt",
"lnkgs"
})
public class RequestDetails12 {
@XmlElement(name = "Ref", required = true)
protected References13 ref;
@XmlElement(name = "AutomtcBrrwg")
protected AutomaticBorrowing3Choice automtcBrrwg;
@XmlElement(name = "RtnInd")
protected Boolean rtnInd;
@XmlElement(name = "Lkg")
protected LinkageType2Choice lkg;
@XmlElement(name = "Prty")
protected PriorityNumeric2Choice prty;
@XmlElement(name = "OthrPrcg")
protected List othrPrcg;
@XmlElement(name = "PrtlSttlmInd")
@XmlSchemaType(name = "string")
protected SettlementTransactionCondition5Code prtlSttlmInd;
@XmlElement(name = "SctiesRTGS")
protected SecuritiesRTGS2Choice sctiesRTGS;
@XmlElement(name = "HldInd")
protected HoldIndicator5 hldInd;
@XmlElement(name = "MtchgDnl")
protected MatchingDenied2Choice mtchgDnl;
@XmlElement(name = "UnltrlSplt")
protected UnilateralSplit2Choice unltrlSplt;
@XmlElement(name = "Lnkgs")
protected List lnkgs;
/**
* Gets the value of the ref property.
*
* @return
* possible object is
* {@link References13 }
*
*/
public References13 getRef() {
return ref;
}
/**
* Sets the value of the ref property.
*
* @param value
* allowed object is
* {@link References13 }
*
*/
public RequestDetails12 setRef(References13 value) {
this.ref = value;
return this;
}
/**
* Gets the value of the automtcBrrwg property.
*
* @return
* possible object is
* {@link AutomaticBorrowing3Choice }
*
*/
public AutomaticBorrowing3Choice getAutomtcBrrwg() {
return automtcBrrwg;
}
/**
* Sets the value of the automtcBrrwg property.
*
* @param value
* allowed object is
* {@link AutomaticBorrowing3Choice }
*
*/
public RequestDetails12 setAutomtcBrrwg(AutomaticBorrowing3Choice 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 RequestDetails12 setRtnInd(Boolean value) {
this.rtnInd = value;
return this;
}
/**
* Gets the value of the lkg property.
*
* @return
* possible object is
* {@link LinkageType2Choice }
*
*/
public LinkageType2Choice getLkg() {
return lkg;
}
/**
* Sets the value of the lkg property.
*
* @param value
* allowed object is
* {@link LinkageType2Choice }
*
*/
public RequestDetails12 setLkg(LinkageType2Choice value) {
this.lkg = value;
return this;
}
/**
* Gets the value of the prty property.
*
* @return
* possible object is
* {@link PriorityNumeric2Choice }
*
*/
public PriorityNumeric2Choice getPrty() {
return prty;
}
/**
* Sets the value of the prty property.
*
* @param value
* allowed object is
* {@link PriorityNumeric2Choice }
*
*/
public RequestDetails12 setPrty(PriorityNumeric2Choice 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 GenericIdentification25 }
*
*
*/
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 RequestDetails12 setPrtlSttlmInd(SettlementTransactionCondition5Code value) {
this.prtlSttlmInd = value;
return this;
}
/**
* Gets the value of the sctiesRTGS property.
*
* @return
* possible object is
* {@link SecuritiesRTGS2Choice }
*
*/
public SecuritiesRTGS2Choice getSctiesRTGS() {
return sctiesRTGS;
}
/**
* Sets the value of the sctiesRTGS property.
*
* @param value
* allowed object is
* {@link SecuritiesRTGS2Choice }
*
*/
public RequestDetails12 setSctiesRTGS(SecuritiesRTGS2Choice value) {
this.sctiesRTGS = value;
return this;
}
/**
* Gets the value of the hldInd property.
*
* @return
* possible object is
* {@link HoldIndicator5 }
*
*/
public HoldIndicator5 getHldInd() {
return hldInd;
}
/**
* Sets the value of the hldInd property.
*
* @param value
* allowed object is
* {@link HoldIndicator5 }
*
*/
public RequestDetails12 setHldInd(HoldIndicator5 value) {
this.hldInd = value;
return this;
}
/**
* Gets the value of the mtchgDnl property.
*
* @return
* possible object is
* {@link MatchingDenied2Choice }
*
*/
public MatchingDenied2Choice getMtchgDnl() {
return mtchgDnl;
}
/**
* Sets the value of the mtchgDnl property.
*
* @param value
* allowed object is
* {@link MatchingDenied2Choice }
*
*/
public RequestDetails12 setMtchgDnl(MatchingDenied2Choice value) {
this.mtchgDnl = value;
return this;
}
/**
* Gets the value of the unltrlSplt property.
*
* @return
* possible object is
* {@link UnilateralSplit2Choice }
*
*/
public UnilateralSplit2Choice getUnltrlSplt() {
return unltrlSplt;
}
/**
* Sets the value of the unltrlSplt property.
*
* @param value
* allowed object is
* {@link UnilateralSplit2Choice }
*
*/
public RequestDetails12 setUnltrlSplt(UnilateralSplit2Choice 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 Linkages28 }
*
*
*/
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 othrPrcg list.
* @see #getOthrPrcg()
*
*/
public RequestDetails12 addOthrPrcg(GenericIdentification25 othrPrcg) {
getOthrPrcg().add(othrPrcg);
return this;
}
/**
* Adds a new item to the lnkgs list.
* @see #getLnkgs()
*
*/
public RequestDetails12 addLnkgs(Linkages28 lnkgs) {
getLnkgs().add(lnkgs);
return this;
}
}