com.prowidesoftware.swift.model.mx.dic.DocumentIdentification2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
The newest version!
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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;
/**
* Identifies a document by a unique identification and a version together with the submitter of the document.
* Also specifies the type of document and an index for easy referencing.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DocumentIdentification2", propOrder = {
"id",
"vrsn",
"tp",
"submitr",
"docIndx"
})
public class DocumentIdentification2 {
@XmlElement(name = "Id", required = true)
protected String id;
@XmlElement(name = "Vrsn", required = true)
protected BigDecimal vrsn;
@XmlElement(name = "Tp", required = true)
@XmlSchemaType(name = "string")
protected DataSetType1Code tp;
@XmlElement(name = "Submitr", required = true)
protected BICIdentification1 submitr;
@XmlElement(name = "DocIndx", required = true)
protected String docIndx;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public DocumentIdentification2 setId(String value) {
this.id = value;
return this;
}
/**
* Gets the value of the vrsn property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getVrsn() {
return vrsn;
}
/**
* Sets the value of the vrsn property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public DocumentIdentification2 setVrsn(BigDecimal value) {
this.vrsn = value;
return this;
}
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link DataSetType1Code }
*
*/
public DataSetType1Code getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link DataSetType1Code }
*
*/
public DocumentIdentification2 setTp(DataSetType1Code value) {
this.tp = value;
return this;
}
/**
* Gets the value of the submitr property.
*
* @return
* possible object is
* {@link BICIdentification1 }
*
*/
public BICIdentification1 getSubmitr() {
return submitr;
}
/**
* Sets the value of the submitr property.
*
* @param value
* allowed object is
* {@link BICIdentification1 }
*
*/
public DocumentIdentification2 setSubmitr(BICIdentification1 value) {
this.submitr = value;
return this;
}
/**
* Gets the value of the docIndx property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocIndx() {
return docIndx;
}
/**
* Sets the value of the docIndx property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public DocumentIdentification2 setDocIndx(String value) {
this.docIndx = 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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy