com.prowidesoftware.swift.model.mx.dic.ContactIdentification1 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
package com.prowidesoftware.swift.model.mx.dic;
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 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;
/**
* Information needed to contact a physical person.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ContactIdentification1", propOrder = {
"nm",
"nmPrfx",
"gvnNm",
"role",
"phneNb",
"faxNb",
"emailAdr"
})
public class ContactIdentification1 {
@XmlElement(name = "Nm", required = true)
protected String nm;
@XmlElement(name = "NmPrfx")
@XmlSchemaType(name = "string")
protected NamePrefix1Code nmPrfx;
@XmlElement(name = "GvnNm")
protected String gvnNm;
@XmlElement(name = "Role")
protected String role;
@XmlElement(name = "PhneNb")
protected String phneNb;
@XmlElement(name = "FaxNb")
protected String faxNb;
@XmlElement(name = "EmailAdr")
protected String emailAdr;
/**
* Gets the value of the nm property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNm() {
return nm;
}
/**
* Sets the value of the nm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ContactIdentification1 setNm(String value) {
this.nm = value;
return this;
}
/**
* Gets the value of the nmPrfx property.
*
* @return
* possible object is
* {@link NamePrefix1Code }
*
*/
public NamePrefix1Code getNmPrfx() {
return nmPrfx;
}
/**
* Sets the value of the nmPrfx property.
*
* @param value
* allowed object is
* {@link NamePrefix1Code }
*
*/
public ContactIdentification1 setNmPrfx(NamePrefix1Code value) {
this.nmPrfx = value;
return this;
}
/**
* Gets the value of the gvnNm property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGvnNm() {
return gvnNm;
}
/**
* Sets the value of the gvnNm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ContactIdentification1 setGvnNm(String value) {
this.gvnNm = value;
return this;
}
/**
* Gets the value of the role property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ContactIdentification1 setRole(String value) {
this.role = value;
return this;
}
/**
* Gets the value of the phneNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPhneNb() {
return phneNb;
}
/**
* Sets the value of the phneNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ContactIdentification1 setPhneNb(String value) {
this.phneNb = value;
return this;
}
/**
* Gets the value of the faxNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFaxNb() {
return faxNb;
}
/**
* Sets the value of the faxNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ContactIdentification1 setFaxNb(String value) {
this.faxNb = 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 ContactIdentification1 setEmailAdr(String value) {
this.emailAdr = 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