com.prowidesoftware.swift.model.mx.dic.IntraPositionMovementDetails16 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateTimeAdapter;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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 intra-position movement.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "IntraPositionMovementDetails16", propOrder = {
"id",
"sttldQty",
"prevslySttldQty",
"rmngToBeSttldQty",
"sctiesSubBalId",
"balTo",
"sttlmDt",
"avlblDt",
"ackdStsTmStmp",
"corpActnEvtTp",
"collMntrAmt",
"instrPrcgAddtlDtls",
"splmtryData"
})
public class IntraPositionMovementDetails16 {
@XmlElement(name = "Id")
protected References51Choice id;
@XmlElement(name = "SttldQty", required = true)
protected FinancialInstrumentQuantity15Choice sttldQty;
@XmlElement(name = "PrevslySttldQty")
protected FinancialInstrumentQuantity15Choice prevslySttldQty;
@XmlElement(name = "RmngToBeSttldQty")
protected FinancialInstrumentQuantity15Choice rmngToBeSttldQty;
@XmlElement(name = "SctiesSubBalId")
protected GenericIdentification39 sctiesSubBalId;
@XmlElement(name = "BalTo", required = true)
protected SecuritiesBalanceType8Choice balTo;
@XmlElement(name = "SttlmDt", required = true)
protected DateAndDateTime2Choice sttlmDt;
@XmlElement(name = "AvlblDt")
protected DateAndDateTime2Choice avlblDt;
@XmlElement(name = "AckdStsTmStmp", type = String.class)
@XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime ackdStsTmStmp;
@XmlElement(name = "CorpActnEvtTp")
protected CorporateActionEventType83Choice corpActnEvtTp;
@XmlElement(name = "CollMntrAmt")
protected AmountAndDirection55 collMntrAmt;
@XmlElement(name = "InstrPrcgAddtlDtls")
protected String instrPrcgAddtlDtls;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link References51Choice }
*
*/
public References51Choice getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link References51Choice }
*
*/
public IntraPositionMovementDetails16 setId(References51Choice value) {
this.id = value;
return this;
}
/**
* Gets the value of the sttldQty property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity15Choice }
*
*/
public FinancialInstrumentQuantity15Choice getSttldQty() {
return sttldQty;
}
/**
* Sets the value of the sttldQty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity15Choice }
*
*/
public IntraPositionMovementDetails16 setSttldQty(FinancialInstrumentQuantity15Choice value) {
this.sttldQty = value;
return this;
}
/**
* Gets the value of the prevslySttldQty property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity15Choice }
*
*/
public FinancialInstrumentQuantity15Choice getPrevslySttldQty() {
return prevslySttldQty;
}
/**
* Sets the value of the prevslySttldQty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity15Choice }
*
*/
public IntraPositionMovementDetails16 setPrevslySttldQty(FinancialInstrumentQuantity15Choice value) {
this.prevslySttldQty = value;
return this;
}
/**
* Gets the value of the rmngToBeSttldQty property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity15Choice }
*
*/
public FinancialInstrumentQuantity15Choice getRmngToBeSttldQty() {
return rmngToBeSttldQty;
}
/**
* Sets the value of the rmngToBeSttldQty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity15Choice }
*
*/
public IntraPositionMovementDetails16 setRmngToBeSttldQty(FinancialInstrumentQuantity15Choice value) {
this.rmngToBeSttldQty = value;
return this;
}
/**
* Gets the value of the sctiesSubBalId property.
*
* @return
* possible object is
* {@link GenericIdentification39 }
*
*/
public GenericIdentification39 getSctiesSubBalId() {
return sctiesSubBalId;
}
/**
* Sets the value of the sctiesSubBalId property.
*
* @param value
* allowed object is
* {@link GenericIdentification39 }
*
*/
public IntraPositionMovementDetails16 setSctiesSubBalId(GenericIdentification39 value) {
this.sctiesSubBalId = value;
return this;
}
/**
* Gets the value of the balTo property.
*
* @return
* possible object is
* {@link SecuritiesBalanceType8Choice }
*
*/
public SecuritiesBalanceType8Choice getBalTo() {
return balTo;
}
/**
* Sets the value of the balTo property.
*
* @param value
* allowed object is
* {@link SecuritiesBalanceType8Choice }
*
*/
public IntraPositionMovementDetails16 setBalTo(SecuritiesBalanceType8Choice value) {
this.balTo = value;
return this;
}
/**
* Gets the value of the sttlmDt property.
*
* @return
* possible object is
* {@link DateAndDateTime2Choice }
*
*/
public DateAndDateTime2Choice getSttlmDt() {
return sttlmDt;
}
/**
* Sets the value of the sttlmDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTime2Choice }
*
*/
public IntraPositionMovementDetails16 setSttlmDt(DateAndDateTime2Choice value) {
this.sttlmDt = value;
return this;
}
/**
* Gets the value of the avlblDt property.
*
* @return
* possible object is
* {@link DateAndDateTime2Choice }
*
*/
public DateAndDateTime2Choice getAvlblDt() {
return avlblDt;
}
/**
* Sets the value of the avlblDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTime2Choice }
*
*/
public IntraPositionMovementDetails16 setAvlblDt(DateAndDateTime2Choice value) {
this.avlblDt = value;
return this;
}
/**
* Gets the value of the ackdStsTmStmp property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getAckdStsTmStmp() {
return ackdStsTmStmp;
}
/**
* Sets the value of the ackdStsTmStmp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public IntraPositionMovementDetails16 setAckdStsTmStmp(OffsetDateTime value) {
this.ackdStsTmStmp = value;
return this;
}
/**
* Gets the value of the corpActnEvtTp property.
*
* @return
* possible object is
* {@link CorporateActionEventType83Choice }
*
*/
public CorporateActionEventType83Choice getCorpActnEvtTp() {
return corpActnEvtTp;
}
/**
* Sets the value of the corpActnEvtTp property.
*
* @param value
* allowed object is
* {@link CorporateActionEventType83Choice }
*
*/
public IntraPositionMovementDetails16 setCorpActnEvtTp(CorporateActionEventType83Choice value) {
this.corpActnEvtTp = value;
return this;
}
/**
* Gets the value of the collMntrAmt property.
*
* @return
* possible object is
* {@link AmountAndDirection55 }
*
*/
public AmountAndDirection55 getCollMntrAmt() {
return collMntrAmt;
}
/**
* Sets the value of the collMntrAmt property.
*
* @param value
* allowed object is
* {@link AmountAndDirection55 }
*
*/
public IntraPositionMovementDetails16 setCollMntrAmt(AmountAndDirection55 value) {
this.collMntrAmt = value;
return this;
}
/**
* Gets the value of the instrPrcgAddtlDtls property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInstrPrcgAddtlDtls() {
return instrPrcgAddtlDtls;
}
/**
* Sets the value of the instrPrcgAddtlDtls property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public IntraPositionMovementDetails16 setInstrPrcgAddtlDtls(String value) {
this.instrPrcgAddtlDtls = value;
return this;
}
/**
* Gets the value of the splmtryData 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the splmtryData property.
*
*
* For example, to add a new item, do as follows:
*
* getSplmtryData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SupplementaryData1 }
*
*
* @return
* The value of the splmtryData property.
*/
public List getSplmtryData() {
if (splmtryData == null) {
splmtryData = new ArrayList<>();
}
return this.splmtryData;
}
@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 splmtryData list.
* @see #getSplmtryData()
*
*/
public IntraPositionMovementDetails16 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}