com.prowidesoftware.swift.model.mx.dic.Organisation7 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
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 jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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 = "Organisation7", propOrder = {
"fullLglNm",
"tradgNm",
"ctryOfOpr",
"regnDt",
"oprlAdr",
"bizAdr",
"lglAdr",
"orgId",
"rprtvOffcr",
"trsrMgr",
"mainMndtHldr",
"sndr"
})
public class Organisation7 {
@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", required = true, type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate regnDt;
@XmlElement(name = "OprlAdr")
protected PostalAddress6 oprlAdr;
@XmlElement(name = "BizAdr")
protected PostalAddress6 bizAdr;
@XmlElement(name = "LglAdr", required = true)
protected PostalAddress6 lglAdr;
@XmlElement(name = "OrgId", required = true)
protected OrganisationIdentification6 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;
/**
* 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 Organisation7 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 Organisation7 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 Organisation7 setCtryOfOpr(String value) {
this.ctryOfOpr = value;
return this;
}
/**
* Gets the value of the regnDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getRegnDt() {
return regnDt;
}
/**
* Sets the value of the regnDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Organisation7 setRegnDt(LocalDate 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 Organisation7 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 Organisation7 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 Organisation7 setLglAdr(PostalAddress6 value) {
this.lglAdr = value;
return this;
}
/**
* Gets the value of the orgId property.
*
* @return
* possible object is
* {@link OrganisationIdentification6 }
*
*/
public OrganisationIdentification6 getOrgId() {
return orgId;
}
/**
* Sets the value of the orgId property.
*
* @param value
* allowed object is
* {@link OrganisationIdentification6 }
*
*/
public Organisation7 setOrgId(OrganisationIdentification6 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 }
*
*
* @return
* The value of the rprtvOffcr property.
*/
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 Organisation7 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 }
*
*
* @return
* The value of the mainMndtHldr property.
*/
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 Jakarta XML Binding object.
* This is why there is not a {@code 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 }
*
*
* @return
* The value of the sndr property.
*/
public List getSndr() {
if (sndr == null) {
sndr = new ArrayList<>();
}
return this.sndr;
}
@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 Organisation7 addRprtvOffcr(PartyIdentification40 rprtvOffcr) {
getRprtvOffcr().add(rprtvOffcr);
return this;
}
/**
* Adds a new item to the mainMndtHldr list.
* @see #getMainMndtHldr()
*
*/
public Organisation7 addMainMndtHldr(PartyIdentification40 mainMndtHldr) {
getMainMndtHldr().add(mainMndtHldr);
return this;
}
/**
* Adds a new item to the sndr list.
* @see #getSndr()
*
*/
public Organisation7 addSndr(PartyIdentification40 sndr) {
getSndr().add(sndr);
return this;
}
}