com.prowidesoftware.swift.model.mx.dic.PersonIdentification7 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.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;
/**
* Set of unique and unambiguous ways to identify a person.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PersonIdentification7", propOrder = {
"drvrsLicNb",
"cstmrNb",
"sclSctyNb",
"alnRegnNb",
"psptNb",
"taxIdNb",
"idntyCardNb",
"mplyrIdNb",
"mplyeeIdNb",
"emailAdr",
"dtAndPlcOfBirth",
"othr"
})
public class PersonIdentification7 {
@XmlElement(name = "DrvrsLicNb")
protected String drvrsLicNb;
@XmlElement(name = "CstmrNb")
protected String cstmrNb;
@XmlElement(name = "SclSctyNb")
protected String sclSctyNb;
@XmlElement(name = "AlnRegnNb")
protected String alnRegnNb;
@XmlElement(name = "PsptNb")
protected String psptNb;
@XmlElement(name = "TaxIdNb")
protected String taxIdNb;
@XmlElement(name = "IdntyCardNb")
protected String idntyCardNb;
@XmlElement(name = "MplyrIdNb")
protected String mplyrIdNb;
@XmlElement(name = "MplyeeIdNb")
protected String mplyeeIdNb;
@XmlElement(name = "EmailAdr")
protected String emailAdr;
@XmlElement(name = "DtAndPlcOfBirth")
protected DateAndPlaceOfBirth dtAndPlcOfBirth;
@XmlElement(name = "Othr")
protected List othr;
/**
* Gets the value of the drvrsLicNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDrvrsLicNb() {
return drvrsLicNb;
}
/**
* Sets the value of the drvrsLicNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PersonIdentification7 setDrvrsLicNb(String value) {
this.drvrsLicNb = value;
return this;
}
/**
* Gets the value of the cstmrNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCstmrNb() {
return cstmrNb;
}
/**
* Sets the value of the cstmrNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PersonIdentification7 setCstmrNb(String value) {
this.cstmrNb = value;
return this;
}
/**
* Gets the value of the sclSctyNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSclSctyNb() {
return sclSctyNb;
}
/**
* Sets the value of the sclSctyNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PersonIdentification7 setSclSctyNb(String value) {
this.sclSctyNb = value;
return this;
}
/**
* Gets the value of the alnRegnNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAlnRegnNb() {
return alnRegnNb;
}
/**
* Sets the value of the alnRegnNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PersonIdentification7 setAlnRegnNb(String value) {
this.alnRegnNb = value;
return this;
}
/**
* Gets the value of the psptNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPsptNb() {
return psptNb;
}
/**
* Sets the value of the psptNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PersonIdentification7 setPsptNb(String value) {
this.psptNb = value;
return this;
}
/**
* Gets the value of the taxIdNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTaxIdNb() {
return taxIdNb;
}
/**
* Sets the value of the taxIdNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PersonIdentification7 setTaxIdNb(String value) {
this.taxIdNb = value;
return this;
}
/**
* Gets the value of the idntyCardNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdntyCardNb() {
return idntyCardNb;
}
/**
* Sets the value of the idntyCardNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PersonIdentification7 setIdntyCardNb(String value) {
this.idntyCardNb = value;
return this;
}
/**
* Gets the value of the mplyrIdNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMplyrIdNb() {
return mplyrIdNb;
}
/**
* Sets the value of the mplyrIdNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PersonIdentification7 setMplyrIdNb(String value) {
this.mplyrIdNb = value;
return this;
}
/**
* Gets the value of the mplyeeIdNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMplyeeIdNb() {
return mplyeeIdNb;
}
/**
* Sets the value of the mplyeeIdNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PersonIdentification7 setMplyeeIdNb(String value) {
this.mplyeeIdNb = value;
return this;
}
/**
* Gets the value of the emailAdr property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEmailAdr() {
return emailAdr;
}
/**
* Sets the value of the emailAdr property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PersonIdentification7 setEmailAdr(String value) {
this.emailAdr = value;
return this;
}
/**
* Gets the value of the dtAndPlcOfBirth property.
*
* @return
* possible object is
* {@link DateAndPlaceOfBirth }
*
*/
public DateAndPlaceOfBirth getDtAndPlcOfBirth() {
return dtAndPlcOfBirth;
}
/**
* Sets the value of the dtAndPlcOfBirth property.
*
* @param value
* allowed object is
* {@link DateAndPlaceOfBirth }
*
*/
public PersonIdentification7 setDtAndPlcOfBirth(DateAndPlaceOfBirth value) {
this.dtAndPlcOfBirth = value;
return this;
}
/**
* Gets the value of the othr 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 othr property.
*
*
* For example, to add a new item, do as follows:
*
* getOthr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GenericIdentification4 }
*
*
*/
public List getOthr() {
if (othr == null) {
othr = new ArrayList();
}
return this.othr;
}
@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 othr list.
* @see #getOthr()
*
*/
public PersonIdentification7 addOthr(GenericIdentification4 othr) {
getOthr().add(othr);
return this;
}
}