com.prowidesoftware.swift.model.mx.dic.AccountHoldingInformationV06 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;
/**
* Scope
* The AccountHoldingInformation message is sent by an executing party, for example, a (old) plan manager (transferor), to the instructing party, for example, a (new) plan manager (transferee), to provide information about financial instruments held on behalf of a client.
* Usage
* The AccountHoldingInformation message is used to provide information about one or more ISA or portfolio products held in a client's account.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccountHoldingInformationV06", propOrder = {
"msgRef",
"poolRef",
"prvsRef",
"rltdRef",
"bizFlowDrctnTp",
"pmryIndvInvstr",
"scndryIndvInvstr",
"othrIndvInvstr",
"pmryCorpInvstr",
"scndryCorpInvstr",
"othrCorpInvstr",
"trfrAcct",
"nmneeAcct",
"trfee",
"pdctTrf",
"mktPrctcVrsn",
"xtnsn"
})
public class AccountHoldingInformationV06 {
@XmlElement(name = "MsgRef", required = true)
protected MessageIdentification1 msgRef;
@XmlElement(name = "PoolRef")
protected AdditionalReference9 poolRef;
@XmlElement(name = "PrvsRef")
protected AdditionalReference8 prvsRef;
@XmlElement(name = "RltdRef")
protected AdditionalReference8 rltdRef;
@XmlElement(name = "BizFlowDrctnTp")
@XmlSchemaType(name = "string")
protected BusinessFlowDirectionType1Code bizFlowDrctnTp;
@XmlElement(name = "PmryIndvInvstr")
protected IndividualPerson8 pmryIndvInvstr;
@XmlElement(name = "ScndryIndvInvstr")
protected IndividualPerson8 scndryIndvInvstr;
@XmlElement(name = "OthrIndvInvstr")
protected List othrIndvInvstr;
@XmlElement(name = "PmryCorpInvstr")
protected Organisation31 pmryCorpInvstr;
@XmlElement(name = "ScndryCorpInvstr")
protected Organisation31 scndryCorpInvstr;
@XmlElement(name = "OthrCorpInvstr")
protected List othrCorpInvstr;
@XmlElement(name = "TrfrAcct", required = true)
protected Account24 trfrAcct;
@XmlElement(name = "NmneeAcct")
protected Account24 nmneeAcct;
@XmlElement(name = "Trfee", required = true)
protected PartyIdentification113 trfee;
@XmlElement(name = "PdctTrf", required = true)
protected List pdctTrf;
@XmlElement(name = "MktPrctcVrsn")
protected MarketPracticeVersion1 mktPrctcVrsn;
@XmlElement(name = "Xtnsn")
protected List xtnsn;
/**
* Gets the value of the msgRef property.
*
* @return
* possible object is
* {@link MessageIdentification1 }
*
*/
public MessageIdentification1 getMsgRef() {
return msgRef;
}
/**
* Sets the value of the msgRef property.
*
* @param value
* allowed object is
* {@link MessageIdentification1 }
*
*/
public AccountHoldingInformationV06 setMsgRef(MessageIdentification1 value) {
this.msgRef = value;
return this;
}
/**
* Gets the value of the poolRef property.
*
* @return
* possible object is
* {@link AdditionalReference9 }
*
*/
public AdditionalReference9 getPoolRef() {
return poolRef;
}
/**
* Sets the value of the poolRef property.
*
* @param value
* allowed object is
* {@link AdditionalReference9 }
*
*/
public AccountHoldingInformationV06 setPoolRef(AdditionalReference9 value) {
this.poolRef = value;
return this;
}
/**
* Gets the value of the prvsRef property.
*
* @return
* possible object is
* {@link AdditionalReference8 }
*
*/
public AdditionalReference8 getPrvsRef() {
return prvsRef;
}
/**
* Sets the value of the prvsRef property.
*
* @param value
* allowed object is
* {@link AdditionalReference8 }
*
*/
public AccountHoldingInformationV06 setPrvsRef(AdditionalReference8 value) {
this.prvsRef = value;
return this;
}
/**
* Gets the value of the rltdRef property.
*
* @return
* possible object is
* {@link AdditionalReference8 }
*
*/
public AdditionalReference8 getRltdRef() {
return rltdRef;
}
/**
* Sets the value of the rltdRef property.
*
* @param value
* allowed object is
* {@link AdditionalReference8 }
*
*/
public AccountHoldingInformationV06 setRltdRef(AdditionalReference8 value) {
this.rltdRef = value;
return this;
}
/**
* Gets the value of the bizFlowDrctnTp property.
*
* @return
* possible object is
* {@link BusinessFlowDirectionType1Code }
*
*/
public BusinessFlowDirectionType1Code getBizFlowDrctnTp() {
return bizFlowDrctnTp;
}
/**
* Sets the value of the bizFlowDrctnTp property.
*
* @param value
* allowed object is
* {@link BusinessFlowDirectionType1Code }
*
*/
public AccountHoldingInformationV06 setBizFlowDrctnTp(BusinessFlowDirectionType1Code value) {
this.bizFlowDrctnTp = value;
return this;
}
/**
* Gets the value of the pmryIndvInvstr property.
*
* @return
* possible object is
* {@link IndividualPerson8 }
*
*/
public IndividualPerson8 getPmryIndvInvstr() {
return pmryIndvInvstr;
}
/**
* Sets the value of the pmryIndvInvstr property.
*
* @param value
* allowed object is
* {@link IndividualPerson8 }
*
*/
public AccountHoldingInformationV06 setPmryIndvInvstr(IndividualPerson8 value) {
this.pmryIndvInvstr = value;
return this;
}
/**
* Gets the value of the scndryIndvInvstr property.
*
* @return
* possible object is
* {@link IndividualPerson8 }
*
*/
public IndividualPerson8 getScndryIndvInvstr() {
return scndryIndvInvstr;
}
/**
* Sets the value of the scndryIndvInvstr property.
*
* @param value
* allowed object is
* {@link IndividualPerson8 }
*
*/
public AccountHoldingInformationV06 setScndryIndvInvstr(IndividualPerson8 value) {
this.scndryIndvInvstr = value;
return this;
}
/**
* Gets the value of the othrIndvInvstr 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 othrIndvInvstr property.
*
*
* For example, to add a new item, do as follows:
*
* getOthrIndvInvstr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link IndividualPerson8 }
*
*
*/
public List getOthrIndvInvstr() {
if (othrIndvInvstr == null) {
othrIndvInvstr = new ArrayList();
}
return this.othrIndvInvstr;
}
/**
* Gets the value of the pmryCorpInvstr property.
*
* @return
* possible object is
* {@link Organisation31 }
*
*/
public Organisation31 getPmryCorpInvstr() {
return pmryCorpInvstr;
}
/**
* Sets the value of the pmryCorpInvstr property.
*
* @param value
* allowed object is
* {@link Organisation31 }
*
*/
public AccountHoldingInformationV06 setPmryCorpInvstr(Organisation31 value) {
this.pmryCorpInvstr = value;
return this;
}
/**
* Gets the value of the scndryCorpInvstr property.
*
* @return
* possible object is
* {@link Organisation31 }
*
*/
public Organisation31 getScndryCorpInvstr() {
return scndryCorpInvstr;
}
/**
* Sets the value of the scndryCorpInvstr property.
*
* @param value
* allowed object is
* {@link Organisation31 }
*
*/
public AccountHoldingInformationV06 setScndryCorpInvstr(Organisation31 value) {
this.scndryCorpInvstr = value;
return this;
}
/**
* Gets the value of the othrCorpInvstr 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 othrCorpInvstr property.
*
*
* For example, to add a new item, do as follows:
*
* getOthrCorpInvstr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Organisation31 }
*
*
*/
public List getOthrCorpInvstr() {
if (othrCorpInvstr == null) {
othrCorpInvstr = new ArrayList();
}
return this.othrCorpInvstr;
}
/**
* Gets the value of the trfrAcct property.
*
* @return
* possible object is
* {@link Account24 }
*
*/
public Account24 getTrfrAcct() {
return trfrAcct;
}
/**
* Sets the value of the trfrAcct property.
*
* @param value
* allowed object is
* {@link Account24 }
*
*/
public AccountHoldingInformationV06 setTrfrAcct(Account24 value) {
this.trfrAcct = value;
return this;
}
/**
* Gets the value of the nmneeAcct property.
*
* @return
* possible object is
* {@link Account24 }
*
*/
public Account24 getNmneeAcct() {
return nmneeAcct;
}
/**
* Sets the value of the nmneeAcct property.
*
* @param value
* allowed object is
* {@link Account24 }
*
*/
public AccountHoldingInformationV06 setNmneeAcct(Account24 value) {
this.nmneeAcct = value;
return this;
}
/**
* Gets the value of the trfee property.
*
* @return
* possible object is
* {@link PartyIdentification113 }
*
*/
public PartyIdentification113 getTrfee() {
return trfee;
}
/**
* Sets the value of the trfee property.
*
* @param value
* allowed object is
* {@link PartyIdentification113 }
*
*/
public AccountHoldingInformationV06 setTrfee(PartyIdentification113 value) {
this.trfee = value;
return this;
}
/**
* Gets the value of the pdctTrf 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 pdctTrf property.
*
*
* For example, to add a new item, do as follows:
*
* getPdctTrf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ISATransfer30 }
*
*
*/
public List getPdctTrf() {
if (pdctTrf == null) {
pdctTrf = new ArrayList();
}
return this.pdctTrf;
}
/**
* Gets the value of the mktPrctcVrsn property.
*
* @return
* possible object is
* {@link MarketPracticeVersion1 }
*
*/
public MarketPracticeVersion1 getMktPrctcVrsn() {
return mktPrctcVrsn;
}
/**
* Sets the value of the mktPrctcVrsn property.
*
* @param value
* allowed object is
* {@link MarketPracticeVersion1 }
*
*/
public AccountHoldingInformationV06 setMktPrctcVrsn(MarketPracticeVersion1 value) {
this.mktPrctcVrsn = value;
return this;
}
/**
* Gets the value of the xtnsn 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 xtnsn property.
*
*
* For example, to add a new item, do as follows:
*
* getXtnsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Extension1 }
*
*
*/
public List getXtnsn() {
if (xtnsn == null) {
xtnsn = new ArrayList();
}
return this.xtnsn;
}
@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 othrIndvInvstr list.
* @see #getOthrIndvInvstr()
*
*/
public AccountHoldingInformationV06 addOthrIndvInvstr(IndividualPerson8 othrIndvInvstr) {
getOthrIndvInvstr().add(othrIndvInvstr);
return this;
}
/**
* Adds a new item to the othrCorpInvstr list.
* @see #getOthrCorpInvstr()
*
*/
public AccountHoldingInformationV06 addOthrCorpInvstr(Organisation31 othrCorpInvstr) {
getOthrCorpInvstr().add(othrCorpInvstr);
return this;
}
/**
* Adds a new item to the pdctTrf list.
* @see #getPdctTrf()
*
*/
public AccountHoldingInformationV06 addPdctTrf(ISATransfer30 pdctTrf) {
getPdctTrf().add(pdctTrf);
return this;
}
/**
* Adds a new item to the xtnsn list.
* @see #getXtnsn()
*
*/
public AccountHoldingInformationV06 addXtnsn(Extension1 xtnsn) {
getXtnsn().add(xtnsn);
return this;
}
}