
com.prowidesoftware.swift.model.mx.dic.Party15Choice Maven / Gradle / Ivy
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.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;
/**
* Choice of formats for the specification of the party.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Party15Choice", propOrder = {
"org",
"indvPrsn"
})
public class Party15Choice {
@XmlElement(name = "Org")
protected Organisation15 org;
@XmlElement(name = "IndvPrsn")
protected IndividualPerson21 indvPrsn;
/**
* Gets the value of the org property.
*
* @return
* possible object is
* {@link Organisation15 }
*
*/
public Organisation15 getOrg() {
return org;
}
/**
* Sets the value of the org property.
*
* @param value
* allowed object is
* {@link Organisation15 }
*
*/
public Party15Choice setOrg(Organisation15 value) {
this.org = value;
return this;
}
/**
* Gets the value of the indvPrsn property.
*
* @return
* possible object is
* {@link IndividualPerson21 }
*
*/
public IndividualPerson21 getIndvPrsn() {
return indvPrsn;
}
/**
* Sets the value of the indvPrsn property.
*
* @param value
* allowed object is
* {@link IndividualPerson21 }
*
*/
public Party15Choice setIndvPrsn(IndividualPerson21 value) {
this.indvPrsn = 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