com.prowidesoftware.swift.model.mx.dic.DocumentGeneralInformation2 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;
/**
* General information that unambiguously identifies a document, such as identification number and issue date time.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DocumentGeneralInformation2", propOrder = {
"docTp",
"docNb",
"sndrRcvrSeqId",
"isseDt",
"url",
"attchdBinryFile"
})
public class DocumentGeneralInformation2 {
@XmlElement(name = "DocTp", required = true)
protected String docTp;
@XmlElement(name = "DocNb", required = true)
protected String docNb;
@XmlElement(name = "SndrRcvrSeqId")
protected String sndrRcvrSeqId;
@XmlElement(name = "IsseDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar isseDt;
@XmlElement(name = "URL")
protected String url;
@XmlElement(name = "AttchdBinryFile")
protected List attchdBinryFile;
/**
* Gets the value of the docTp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocTp() {
return docTp;
}
/**
* Sets the value of the docTp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public DocumentGeneralInformation2 setDocTp(String value) {
this.docTp = value;
return this;
}
/**
* Gets the value of the docNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocNb() {
return docNb;
}
/**
* Sets the value of the docNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public DocumentGeneralInformation2 setDocNb(String value) {
this.docNb = value;
return this;
}
/**
* Gets the value of the sndrRcvrSeqId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSndrRcvrSeqId() {
return sndrRcvrSeqId;
}
/**
* Sets the value of the sndrRcvrSeqId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public DocumentGeneralInformation2 setSndrRcvrSeqId(String value) {
this.sndrRcvrSeqId = value;
return this;
}
/**
* Gets the value of the isseDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getIsseDt() {
return isseDt;
}
/**
* Sets the value of the isseDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public DocumentGeneralInformation2 setIsseDt(XMLGregorianCalendar value) {
this.isseDt = value;
return this;
}
/**
* Gets the value of the url property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getURL() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public DocumentGeneralInformation2 setURL(String value) {
this.url = value;
return this;
}
/**
* Gets the value of the attchdBinryFile 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 attchdBinryFile property.
*
*
* For example, to add a new item, do as follows:
*
* getAttchdBinryFile().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BinaryFile1 }
*
*
*/
public List getAttchdBinryFile() {
if (attchdBinryFile == null) {
attchdBinryFile = new ArrayList();
}
return this.attchdBinryFile;
}
@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 attchdBinryFile list.
* @see #getAttchdBinryFile()
*
*/
public DocumentGeneralInformation2 addAttchdBinryFile(BinaryFile1 attchdBinryFile) {
getAttchdBinryFile().add(attchdBinryFile);
return this;
}
}