
com.prowidesoftware.swift.model.mx.dic.MovementInstruction1 Maven / Gradle / Ivy
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;
/**
* Details of the movement instructions.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MovementInstruction1", propOrder = {
"mvmntGnlInf",
"undrlygSctiesMvmntDtls",
"undrlygCshMvmntDtls",
"prcdsMvmntDtls"
})
public class MovementInstruction1 {
@XmlElement(name = "MvmntGnlInf", required = true)
protected CorporateActionMovement1 mvmntGnlInf;
@XmlElement(name = "UndrlygSctiesMvmntDtls")
protected List undrlygSctiesMvmntDtls;
@XmlElement(name = "UndrlygCshMvmntDtls")
protected List undrlygCshMvmntDtls;
@XmlElement(name = "PrcdsMvmntDtls")
protected List prcdsMvmntDtls;
/**
* Gets the value of the mvmntGnlInf property.
*
* @return
* possible object is
* {@link CorporateActionMovement1 }
*
*/
public CorporateActionMovement1 getMvmntGnlInf() {
return mvmntGnlInf;
}
/**
* Sets the value of the mvmntGnlInf property.
*
* @param value
* allowed object is
* {@link CorporateActionMovement1 }
*
*/
public MovementInstruction1 setMvmntGnlInf(CorporateActionMovement1 value) {
this.mvmntGnlInf = value;
return this;
}
/**
* Gets the value of the undrlygSctiesMvmntDtls 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 undrlygSctiesMvmntDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getUndrlygSctiesMvmntDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link UnderlyingSecurityMovement1 }
*
*
*/
public List getUndrlygSctiesMvmntDtls() {
if (undrlygSctiesMvmntDtls == null) {
undrlygSctiesMvmntDtls = new ArrayList();
}
return this.undrlygSctiesMvmntDtls;
}
/**
* Gets the value of the undrlygCshMvmntDtls 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 undrlygCshMvmntDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getUndrlygCshMvmntDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CashMovement2 }
*
*
*/
public List getUndrlygCshMvmntDtls() {
if (undrlygCshMvmntDtls == null) {
undrlygCshMvmntDtls = new ArrayList();
}
return this.undrlygCshMvmntDtls;
}
/**
* Gets the value of the prcdsMvmntDtls 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 prcdsMvmntDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getPrcdsMvmntDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ProceedsMovement1 }
*
*
*/
public List getPrcdsMvmntDtls() {
if (prcdsMvmntDtls == null) {
prcdsMvmntDtls = new ArrayList();
}
return this.prcdsMvmntDtls;
}
@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 undrlygSctiesMvmntDtls list.
* @see #getUndrlygSctiesMvmntDtls()
*
*/
public MovementInstruction1 addUndrlygSctiesMvmntDtls(UnderlyingSecurityMovement1 undrlygSctiesMvmntDtls) {
getUndrlygSctiesMvmntDtls().add(undrlygSctiesMvmntDtls);
return this;
}
/**
* Adds a new item to the undrlygCshMvmntDtls list.
* @see #getUndrlygCshMvmntDtls()
*
*/
public MovementInstruction1 addUndrlygCshMvmntDtls(CashMovement2 undrlygCshMvmntDtls) {
getUndrlygCshMvmntDtls().add(undrlygCshMvmntDtls);
return this;
}
/**
* Adds a new item to the prcdsMvmntDtls list.
* @see #getPrcdsMvmntDtls()
*
*/
public MovementInstruction1 addPrcdsMvmntDtls(ProceedsMovement1 prcdsMvmntDtls) {
getPrcdsMvmntDtls().add(prcdsMvmntDtls);
return this;
}
}