com.prowidesoftware.swift.model.mx.dic.Organisation12 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
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 which describes the organisation.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Organisation12", propOrder = {
"fullLglNm",
"tradgNm",
"ctryOfOpr",
"regnDt",
"oprlAdr",
"bizAdr",
"lglAdr",
"bllgAdr",
"orgId",
"rprtvOffcr",
"trsrMgr",
"mainMndtHldr",
"sndr",
"lglRprtv"
})
public class Organisation12 {
@XmlElement(name = "FullLglNm", required = true)
protected String fullLglNm;
@XmlElement(name = "TradgNm")
protected String tradgNm;
@XmlElement(name = "CtryOfOpr", required = true)
protected String ctryOfOpr;
@XmlElement(name = "RegnDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar regnDt;
@XmlElement(name = "OprlAdr")
protected PostalAddress6 oprlAdr;
@XmlElement(name = "BizAdr")
protected PostalAddress6 bizAdr;
@XmlElement(name = "LglAdr", required = true)
protected PostalAddress6 lglAdr;
@XmlElement(name = "BllgAdr")
protected PostalAddress6 bllgAdr;
@XmlElement(name = "OrgId", required = true)
protected OrganisationIdentification8 orgId;
@XmlElement(name = "RprtvOffcr")
protected List rprtvOffcr;
@XmlElement(name = "TrsrMgr")
protected PartyIdentification40 trsrMgr;
@XmlElement(name = "MainMndtHldr")
protected List mainMndtHldr;
@XmlElement(name = "Sndr")
protected List sndr;
@XmlElement(name = "LglRprtv")
protected List lglRprtv;
/**
* Gets the value of the fullLglNm property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFullLglNm() {
return fullLglNm;
}
/**
* Sets the value of the fullLglNm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Organisation12 setFullLglNm(String value) {
this.fullLglNm = value;
return this;
}
/**
* Gets the value of the tradgNm property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTradgNm() {
return tradgNm;
}
/**
* Sets the value of the tradgNm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Organisation12 setTradgNm(String value) {
this.tradgNm = value;
return this;
}
/**
* Gets the value of the ctryOfOpr property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCtryOfOpr() {
return ctryOfOpr;
}
/**
* Sets the value of the ctryOfOpr property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Organisation12 setCtryOfOpr(String value) {
this.ctryOfOpr = value;
return this;
}
/**
* Gets the value of the regnDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getRegnDt() {
return regnDt;
}
/**
* Sets the value of the regnDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public Organisation12 setRegnDt(XMLGregorianCalendar value) {
this.regnDt = value;
return this;
}
/**
* Gets the value of the oprlAdr property.
*
* @return
* possible object is
* {@link PostalAddress6 }
*
*/
public PostalAddress6 getOprlAdr() {
return oprlAdr;
}
/**
* Sets the value of the oprlAdr property.
*
* @param value
* allowed object is
* {@link PostalAddress6 }
*
*/
public Organisation12 setOprlAdr(PostalAddress6 value) {
this.oprlAdr = value;
return this;
}
/**
* Gets the value of the bizAdr property.
*
* @return
* possible object is
* {@link PostalAddress6 }
*
*/
public PostalAddress6 getBizAdr() {
return bizAdr;
}
/**
* Sets the value of the bizAdr property.
*
* @param value
* allowed object is
* {@link PostalAddress6 }
*
*/
public Organisation12 setBizAdr(PostalAddress6 value) {
this.bizAdr = value;
return this;
}
/**
* Gets the value of the lglAdr property.
*
* @return
* possible object is
* {@link PostalAddress6 }
*
*/
public PostalAddress6 getLglAdr() {
return lglAdr;
}
/**
* Sets the value of the lglAdr property.
*
* @param value
* allowed object is
* {@link PostalAddress6 }
*
*/
public Organisation12 setLglAdr(PostalAddress6 value) {
this.lglAdr = value;
return this;
}
/**
* Gets the value of the bllgAdr property.
*
* @return
* possible object is
* {@link PostalAddress6 }
*
*/
public PostalAddress6 getBllgAdr() {
return bllgAdr;
}
/**
* Sets the value of the bllgAdr property.
*
* @param value
* allowed object is
* {@link PostalAddress6 }
*
*/
public Organisation12 setBllgAdr(PostalAddress6 value) {
this.bllgAdr = value;
return this;
}
/**
* Gets the value of the orgId property.
*
* @return
* possible object is
* {@link OrganisationIdentification8 }
*
*/
public OrganisationIdentification8 getOrgId() {
return orgId;
}
/**
* Sets the value of the orgId property.
*
* @param value
* allowed object is
* {@link OrganisationIdentification8 }
*
*/
public Organisation12 setOrgId(OrganisationIdentification8 value) {
this.orgId = value;
return this;
}
/**
* Gets the value of the rprtvOffcr 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 rprtvOffcr property.
*
*
* For example, to add a new item, do as follows:
*
* getRprtvOffcr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyIdentification40 }
*
*
*/
public List getRprtvOffcr() {
if (rprtvOffcr == null) {
rprtvOffcr = new ArrayList();
}
return this.rprtvOffcr;
}
/**
* Gets the value of the trsrMgr property.
*
* @return
* possible object is
* {@link PartyIdentification40 }
*
*/
public PartyIdentification40 getTrsrMgr() {
return trsrMgr;
}
/**
* Sets the value of the trsrMgr property.
*
* @param value
* allowed object is
* {@link PartyIdentification40 }
*
*/
public Organisation12 setTrsrMgr(PartyIdentification40 value) {
this.trsrMgr = value;
return this;
}
/**
* Gets the value of the mainMndtHldr 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 mainMndtHldr property.
*
*
* For example, to add a new item, do as follows:
*
* getMainMndtHldr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyIdentification40 }
*
*
*/
public List getMainMndtHldr() {
if (mainMndtHldr == null) {
mainMndtHldr = new ArrayList();
}
return this.mainMndtHldr;
}
/**
* Gets the value of the sndr 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 sndr property.
*
*
* For example, to add a new item, do as follows:
*
* getSndr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyIdentification40 }
*
*
*/
public List getSndr() {
if (sndr == null) {
sndr = new ArrayList();
}
return this.sndr;
}
/**
* Gets the value of the lglRprtv 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 lglRprtv property.
*
*
* For example, to add a new item, do as follows:
*
* getLglRprtv().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyIdentification40 }
*
*
*/
public List getLglRprtv() {
if (lglRprtv == null) {
lglRprtv = new ArrayList();
}
return this.lglRprtv;
}
@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 rprtvOffcr list.
* @see #getRprtvOffcr()
*
*/
public Organisation12 addRprtvOffcr(PartyIdentification40 rprtvOffcr) {
getRprtvOffcr().add(rprtvOffcr);
return this;
}
/**
* Adds a new item to the mainMndtHldr list.
* @see #getMainMndtHldr()
*
*/
public Organisation12 addMainMndtHldr(PartyIdentification40 mainMndtHldr) {
getMainMndtHldr().add(mainMndtHldr);
return this;
}
/**
* Adds a new item to the sndr list.
* @see #getSndr()
*
*/
public Organisation12 addSndr(PartyIdentification40 sndr) {
getSndr().add(sndr);
return this;
}
/**
* Adds a new item to the lglRprtv list.
* @see #getLglRprtv()
*
*/
public Organisation12 addLglRprtv(PartyIdentification40 lglRprtv) {
getLglRprtv().add(lglRprtv);
return this;
}
}