com.prowidesoftware.swift.model.mx.dic.TransactionDates1 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 javax.xml.datatype.XMLGregorianCalendar;
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;
/**
* Set of elements identifying the dates related to the underlying transactions.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TransactionDates1", propOrder = {
"accptncDtTm",
"tradDt",
"intrBkSttlmDt",
"startDt",
"endDt",
"txDtTm",
"prtry"
})
public class TransactionDates1 {
@XmlElement(name = "AccptncDtTm")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar accptncDtTm;
@XmlElement(name = "TradDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar tradDt;
@XmlElement(name = "IntrBkSttlmDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar intrBkSttlmDt;
@XmlElement(name = "StartDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar startDt;
@XmlElement(name = "EndDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar endDt;
@XmlElement(name = "TxDtTm")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar txDtTm;
@XmlElement(name = "Prtry")
protected List prtry;
/**
* Gets the value of the accptncDtTm property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getAccptncDtTm() {
return accptncDtTm;
}
/**
* Sets the value of the accptncDtTm property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public TransactionDates1 setAccptncDtTm(XMLGregorianCalendar value) {
this.accptncDtTm = value;
return this;
}
/**
* Gets the value of the tradDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTradDt() {
return tradDt;
}
/**
* Sets the value of the tradDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public TransactionDates1 setTradDt(XMLGregorianCalendar value) {
this.tradDt = value;
return this;
}
/**
* Gets the value of the intrBkSttlmDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getIntrBkSttlmDt() {
return intrBkSttlmDt;
}
/**
* Sets the value of the intrBkSttlmDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public TransactionDates1 setIntrBkSttlmDt(XMLGregorianCalendar value) {
this.intrBkSttlmDt = value;
return this;
}
/**
* Gets the value of the startDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getStartDt() {
return startDt;
}
/**
* Sets the value of the startDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public TransactionDates1 setStartDt(XMLGregorianCalendar value) {
this.startDt = value;
return this;
}
/**
* Gets the value of the endDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getEndDt() {
return endDt;
}
/**
* Sets the value of the endDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public TransactionDates1 setEndDt(XMLGregorianCalendar value) {
this.endDt = value;
return this;
}
/**
* Gets the value of the txDtTm property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTxDtTm() {
return txDtTm;
}
/**
* Sets the value of the txDtTm property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public TransactionDates1 setTxDtTm(XMLGregorianCalendar value) {
this.txDtTm = value;
return this;
}
/**
* Gets the value of the prtry 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 prtry property.
*
*
* For example, to add a new item, do as follows:
*
* getPrtry().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ProprietaryDate1 }
*
*
*/
public List getPrtry() {
if (prtry == null) {
prtry = new ArrayList();
}
return this.prtry;
}
@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 prtry list.
* @see #getPrtry()
*
*/
public TransactionDates1 addPrtry(ProprietaryDate1 prtry) {
getPrtry().add(prtry);
return this;
}
}