com.prowidesoftware.swift.model.mx.dic.Transfer16 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
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 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;
/**
* Parameters applied to the settlement of a security transfer.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Transfer16", propOrder = {
"trfDt",
"hldgsPlanTp",
"finInstrmDtls",
"ttlUnitsNb",
"ownAcctTrfInd",
"nonStdSttlmInf"
})
public class Transfer16 {
@XmlElement(name = "TrfDt")
protected DateFormat1Choice trfDt;
@XmlElement(name = "HldgsPlanTp")
@XmlSchemaType(name = "string")
protected List hldgsPlanTp;
@XmlElement(name = "FinInstrmDtls", required = true)
protected FinancialInstrument13 finInstrmDtls;
@XmlElement(name = "TtlUnitsNb", required = true)
protected FinancialInstrumentQuantity1 ttlUnitsNb;
@XmlElement(name = "OwnAcctTrfInd")
protected Boolean ownAcctTrfInd;
@XmlElement(name = "NonStdSttlmInf")
protected String nonStdSttlmInf;
/**
* Gets the value of the trfDt property.
*
* @return
* possible object is
* {@link DateFormat1Choice }
*
*/
public DateFormat1Choice getTrfDt() {
return trfDt;
}
/**
* Sets the value of the trfDt property.
*
* @param value
* allowed object is
* {@link DateFormat1Choice }
*
*/
public Transfer16 setTrfDt(DateFormat1Choice value) {
this.trfDt = value;
return this;
}
/**
* Gets the value of the hldgsPlanTp 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 hldgsPlanTp property.
*
*
* For example, to add a new item, do as follows:
*
* getHldgsPlanTp().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HoldingsPlanType1Code }
*
*
* @return
* The value of the hldgsPlanTp property.
*/
public List getHldgsPlanTp() {
if (hldgsPlanTp == null) {
hldgsPlanTp = new ArrayList<>();
}
return this.hldgsPlanTp;
}
/**
* Gets the value of the finInstrmDtls property.
*
* @return
* possible object is
* {@link FinancialInstrument13 }
*
*/
public FinancialInstrument13 getFinInstrmDtls() {
return finInstrmDtls;
}
/**
* Sets the value of the finInstrmDtls property.
*
* @param value
* allowed object is
* {@link FinancialInstrument13 }
*
*/
public Transfer16 setFinInstrmDtls(FinancialInstrument13 value) {
this.finInstrmDtls = value;
return this;
}
/**
* Gets the value of the ttlUnitsNb property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity1 }
*
*/
public FinancialInstrumentQuantity1 getTtlUnitsNb() {
return ttlUnitsNb;
}
/**
* Sets the value of the ttlUnitsNb property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity1 }
*
*/
public Transfer16 setTtlUnitsNb(FinancialInstrumentQuantity1 value) {
this.ttlUnitsNb = value;
return this;
}
/**
* Gets the value of the ownAcctTrfInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isOwnAcctTrfInd() {
return ownAcctTrfInd;
}
/**
* Sets the value of the ownAcctTrfInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public Transfer16 setOwnAcctTrfInd(Boolean value) {
this.ownAcctTrfInd = value;
return this;
}
/**
* Gets the value of the nonStdSttlmInf property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNonStdSttlmInf() {
return nonStdSttlmInf;
}
/**
* Sets the value of the nonStdSttlmInf property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transfer16 setNonStdSttlmInf(String value) {
this.nonStdSttlmInf = value;
return this;
}
@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 hldgsPlanTp list.
* @see #getHldgsPlanTp()
*
*/
public Transfer16 addHldgsPlanTp(HoldingsPlanType1Code hldgsPlanTp) {
getHldgsPlanTp().add(hldgsPlanTp);
return this;
}
}