com.prowidesoftware.swift.model.mx.dic.ContactIdentificationAndAddress 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 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;
/**
* Human entity, as distinguished from a corporate entity (which is sometimes referred to as an 'artificial person').
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ContactIdentificationAndAddress", propOrder = {
"nm",
"role",
"comAdr"
})
public class ContactIdentificationAndAddress {
@XmlElement(name = "Nm")
protected String nm;
@XmlElement(name = "Role", required = true)
@XmlSchemaType(name = "string")
protected PaymentRole1Code role;
@XmlElement(name = "ComAdr", required = true)
protected CommunicationAddressDetails comAdr;
/**
* 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 ContactIdentificationAndAddress setNm(String value) {
this.nm = value;
return this;
}
/**
* Gets the value of the role property.
*
* @return
* possible object is
* {@link PaymentRole1Code }
*
*/
public PaymentRole1Code getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link PaymentRole1Code }
*
*/
public ContactIdentificationAndAddress setRole(PaymentRole1Code value) {
this.role = value;
return this;
}
/**
* Gets the value of the comAdr property.
*
* @return
* possible object is
* {@link CommunicationAddressDetails }
*
*/
public CommunicationAddressDetails getComAdr() {
return comAdr;
}
/**
* Sets the value of the comAdr property.
*
* @param value
* allowed object is
* {@link CommunicationAddressDetails }
*
*/
public ContactIdentificationAndAddress setComAdr(CommunicationAddressDetails value) {
this.comAdr = 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