com.prowidesoftware.swift.model.mx.dic.OriginalNotification1 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 used to identify the original notification, to which the cancellation advice refers.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OriginalNotification1", propOrder = {
"orgnlMsgId",
"orgnlCreDtTm",
"orgnlNtfctnId",
"acct",
"ntfctnCxl",
"orgnlItm"
})
public class OriginalNotification1 {
@XmlElement(name = "OrgnlMsgId", required = true)
protected String orgnlMsgId;
@XmlElement(name = "OrgnlCreDtTm")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar orgnlCreDtTm;
@XmlElement(name = "OrgnlNtfctnId")
protected String orgnlNtfctnId;
@XmlElement(name = "Acct")
protected CashAccount20 acct;
@XmlElement(name = "NtfctnCxl")
protected Boolean ntfctnCxl;
@XmlElement(name = "OrgnlItm")
protected List orgnlItm;
/**
* Gets the value of the orgnlMsgId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlMsgId() {
return orgnlMsgId;
}
/**
* Sets the value of the orgnlMsgId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public OriginalNotification1 setOrgnlMsgId(String value) {
this.orgnlMsgId = value;
return this;
}
/**
* Gets the value of the orgnlCreDtTm property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getOrgnlCreDtTm() {
return orgnlCreDtTm;
}
/**
* Sets the value of the orgnlCreDtTm property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public OriginalNotification1 setOrgnlCreDtTm(XMLGregorianCalendar value) {
this.orgnlCreDtTm = value;
return this;
}
/**
* Gets the value of the orgnlNtfctnId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlNtfctnId() {
return orgnlNtfctnId;
}
/**
* Sets the value of the orgnlNtfctnId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public OriginalNotification1 setOrgnlNtfctnId(String value) {
this.orgnlNtfctnId = value;
return this;
}
/**
* Gets the value of the acct property.
*
* @return
* possible object is
* {@link CashAccount20 }
*
*/
public CashAccount20 getAcct() {
return acct;
}
/**
* Sets the value of the acct property.
*
* @param value
* allowed object is
* {@link CashAccount20 }
*
*/
public OriginalNotification1 setAcct(CashAccount20 value) {
this.acct = value;
return this;
}
/**
* Gets the value of the ntfctnCxl property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isNtfctnCxl() {
return ntfctnCxl;
}
/**
* Sets the value of the ntfctnCxl property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public OriginalNotification1 setNtfctnCxl(Boolean value) {
this.ntfctnCxl = value;
return this;
}
/**
* Gets the value of the orgnlItm 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 orgnlItm property.
*
*
* For example, to add a new item, do as follows:
*
* getOrgnlItm().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OriginalItem1 }
*
*
*/
public List getOrgnlItm() {
if (orgnlItm == null) {
orgnlItm = new ArrayList();
}
return this.orgnlItm;
}
@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 orgnlItm list.
* @see #getOrgnlItm()
*
*/
public OriginalNotification1 addOrgnlItm(OriginalItem1 orgnlItm) {
getOrgnlItm().add(orgnlItm);
return this;
}
}