
com.prowidesoftware.swift.model.mx.dic.Setr01300102 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.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 SwitchOrder message is sent by an instructing party, eg, an investment manager or its authorised representative, to an executing party, eg, a transfer agent. There may be one or more intermediary parties between the instructing party and the executing party. The intermediary party is, for example, an intermediary or a concentrator.
* This message is used to instruct the executing party to switch from a specified amount/quantity of specified financial instruments to a specified amount/quantity of different financial instruments.
* Usage
* The SwitchOrder message is used when the instructing party, ie, an investor, wants to change its investments within the same fund family, according to the terms of the prospectus.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "setr.013.001.02", propOrder = {
"mstrRef",
"poolRef",
"prvsRef",
"swtchOrdrDtls",
"intrmyDtls",
"cpyDtls",
"xtnsn"
})
public class Setr01300102 {
@XmlElement(name = "MstrRef")
protected AdditionalReference3 mstrRef;
@XmlElement(name = "PoolRef")
protected AdditionalReference3 poolRef;
@XmlElement(name = "PrvsRef")
protected List prvsRef;
@XmlElement(name = "SwtchOrdrDtls", required = true)
protected SwitchOrder2 swtchOrdrDtls;
@XmlElement(name = "IntrmyDtls")
protected List intrmyDtls;
@XmlElement(name = "CpyDtls")
protected CopyInformation1 cpyDtls;
@XmlElement(name = "Xtnsn")
protected List xtnsn;
/**
* Gets the value of the mstrRef property.
*
* @return
* possible object is
* {@link AdditionalReference3 }
*
*/
public AdditionalReference3 getMstrRef() {
return mstrRef;
}
/**
* Sets the value of the mstrRef property.
*
* @param value
* allowed object is
* {@link AdditionalReference3 }
*
*/
public Setr01300102 setMstrRef(AdditionalReference3 value) {
this.mstrRef = value;
return this;
}
/**
* Gets the value of the poolRef property.
*
* @return
* possible object is
* {@link AdditionalReference3 }
*
*/
public AdditionalReference3 getPoolRef() {
return poolRef;
}
/**
* Sets the value of the poolRef property.
*
* @param value
* allowed object is
* {@link AdditionalReference3 }
*
*/
public Setr01300102 setPoolRef(AdditionalReference3 value) {
this.poolRef = value;
return this;
}
/**
* Gets the value of the prvsRef 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 prvsRef property.
*
*
* For example, to add a new item, do as follows:
*
* getPrvsRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalReference3 }
*
*
*/
public List getPrvsRef() {
if (prvsRef == null) {
prvsRef = new ArrayList();
}
return this.prvsRef;
}
/**
* Gets the value of the swtchOrdrDtls property.
*
* @return
* possible object is
* {@link SwitchOrder2 }
*
*/
public SwitchOrder2 getSwtchOrdrDtls() {
return swtchOrdrDtls;
}
/**
* Sets the value of the swtchOrdrDtls property.
*
* @param value
* allowed object is
* {@link SwitchOrder2 }
*
*/
public Setr01300102 setSwtchOrdrDtls(SwitchOrder2 value) {
this.swtchOrdrDtls = value;
return this;
}
/**
* Gets the value of the intrmyDtls 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 intrmyDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getIntrmyDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Intermediary4 }
*
*
*/
public List getIntrmyDtls() {
if (intrmyDtls == null) {
intrmyDtls = new ArrayList();
}
return this.intrmyDtls;
}
/**
* Gets the value of the cpyDtls property.
*
* @return
* possible object is
* {@link CopyInformation1 }
*
*/
public CopyInformation1 getCpyDtls() {
return cpyDtls;
}
/**
* Sets the value of the cpyDtls property.
*
* @param value
* allowed object is
* {@link CopyInformation1 }
*
*/
public Setr01300102 setCpyDtls(CopyInformation1 value) {
this.cpyDtls = 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 prvsRef list.
* @see #getPrvsRef()
*
*/
public Setr01300102 addPrvsRef(AdditionalReference3 prvsRef) {
getPrvsRef().add(prvsRef);
return this;
}
/**
* Adds a new item to the intrmyDtls list.
* @see #getIntrmyDtls()
*
*/
public Setr01300102 addIntrmyDtls(Intermediary4 intrmyDtls) {
getIntrmyDtls().add(intrmyDtls);
return this;
}
/**
* Adds a new item to the xtnsn list.
* @see #getXtnsn()
*
*/
public Setr01300102 addXtnsn(Extension1 xtnsn) {
getXtnsn().add(xtnsn);
return this;
}
}