@CodingStyleguideUnaware public class TradePartyType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
Java class for TradePartyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradePartyType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}IDType" maxOccurs="unbounded" minOccurs="0"/>
<element name="GlobalID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}IDType" maxOccurs="unbounded" minOccurs="0"/>
<element name="Name" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}TextType" minOccurs="0"/>
<element name="RoleCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:100}PartyRoleCodeType" maxOccurs="unbounded" minOccurs="0"/>
<element name="Description" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}TextType" maxOccurs="unbounded" minOccurs="0"/>
<element name="SpecifiedLegalOrganization" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}LegalOrganizationType" minOccurs="0"/>
<element name="DefinedTradeContact" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}TradeContactType" maxOccurs="unbounded" minOccurs="0"/>
<element name="PostalTradeAddress" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}TradeAddressType" minOccurs="0"/>
<element name="URIUniversalCommunication" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}UniversalCommunicationType" maxOccurs="unbounded" minOccurs="0"/>
<element name="SpecifiedTaxRegistration" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}TaxRegistrationType" maxOccurs="unbounded" minOccurs="0"/>
<element name="EndPointURIUniversalCommunication" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}UniversalCommunicationType" minOccurs="0"/>
<element name="LogoAssociatedSpecifiedBinaryFile" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}SpecifiedBinaryFileType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
TradePartyType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefinedTradeContact(TradeContactType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addDescription(TextType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addGlobalID(IDType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addID(IDType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addLogoAssociatedSpecifiedBinaryFile(SpecifiedBinaryFileType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addRoleCode(PartyRoleCodeType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addSpecifiedTaxRegistration(TaxRegistrationType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addURIUniversalCommunication(UniversalCommunicationType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
TradePartyType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(TradePartyType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<TradeContactType> |
getDefinedTradeContact()
Gets the value of the definedTradeContact property.
|
TradeContactType |
getDefinedTradeContactAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getDefinedTradeContactCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<TextType> |
getDescription()
Gets the value of the description property.
|
TextType |
getDescriptionAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getDescriptionCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
UniversalCommunicationType |
getEndPointURIUniversalCommunication()
Gets the value of the endPointURIUniversalCommunication property.
|
List<IDType> |
getGlobalID()
Gets the value of the globalID property.
|
IDType |
getGlobalIDAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getGlobalIDCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<IDType> |
getID()
Gets the value of the id property.
|
IDType |
getIDAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getIDCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<SpecifiedBinaryFileType> |
getLogoAssociatedSpecifiedBinaryFile()
Gets the value of the logoAssociatedSpecifiedBinaryFile property.
|
SpecifiedBinaryFileType |
getLogoAssociatedSpecifiedBinaryFileAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getLogoAssociatedSpecifiedBinaryFileCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
TextType |
getName()
Gets the value of the name property.
|
String |
getNameValue()
Get the value of the contained TextType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
TradeAddressType |
getPostalTradeAddress()
Gets the value of the postalTradeAddress property.
|
List<PartyRoleCodeType> |
getRoleCode()
Gets the value of the roleCode property.
|
PartyRoleCodeType |
getRoleCodeAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getRoleCodeCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
LegalOrganizationType |
getSpecifiedLegalOrganization()
Gets the value of the specifiedLegalOrganization property.
|
List<TaxRegistrationType> |
getSpecifiedTaxRegistration()
Gets the value of the specifiedTaxRegistration property.
|
TaxRegistrationType |
getSpecifiedTaxRegistrationAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getSpecifiedTaxRegistrationCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<UniversalCommunicationType> |
getURIUniversalCommunication()
Gets the value of the uriUniversalCommunication property.
|
UniversalCommunicationType |
getURIUniversalCommunicationAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getURIUniversalCommunicationCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasDefinedTradeContactEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasDescriptionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasGlobalIDEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasIDEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasLogoAssociatedSpecifiedBinaryFileEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoDefinedTradeContactEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoDescriptionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoGlobalIDEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoIDEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoLogoAssociatedSpecifiedBinaryFileEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoRoleCodeEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoSpecifiedTaxRegistrationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoURIUniversalCommunicationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasRoleCodeEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasSpecifiedTaxRegistrationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasURIUniversalCommunicationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setDefinedTradeContact(List<TradeContactType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setDescription(List<TextType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setEndPointURIUniversalCommunication(UniversalCommunicationType value)
Sets the value of the endPointURIUniversalCommunication property.
|
void |
setGlobalID(List<IDType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setID(List<IDType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setLogoAssociatedSpecifiedBinaryFile(List<SpecifiedBinaryFileType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
TextType |
setName(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setName(TextType value)
Sets the value of the name property.
|
void |
setPostalTradeAddress(TradeAddressType value)
Sets the value of the postalTradeAddress property.
|
void |
setRoleCode(List<PartyRoleCodeType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setSpecifiedLegalOrganization(LegalOrganizationType value)
Sets the value of the specifiedLegalOrganization property.
|
void |
setSpecifiedTaxRegistration(List<TaxRegistrationType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setURIUniversalCommunication(List<UniversalCommunicationType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public TradePartyType()
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<IDType> getID()
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 id property.
For example, to add a new item, do as follows:
getID().add(newItem);
Objects of the following type(s) are allowed in the list
IDType
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<IDType> getGlobalID()
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 globalID property.
For example, to add a new item, do as follows:
getGlobalID().add(newItem);
Objects of the following type(s) are allowed in the list
IDType
@Nullable public TextType getName()
TextTypepublic void setName(@Nullable TextType value)
value - allowed object is
TextType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<PartyRoleCodeType> getRoleCode()
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 roleCode property.
For example, to add a new item, do as follows:
getRoleCode().add(newItem);
Objects of the following type(s) are allowed in the list
PartyRoleCodeType
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<TextType> getDescription()
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 description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
TextType
@Nullable public LegalOrganizationType getSpecifiedLegalOrganization()
LegalOrganizationTypepublic void setSpecifiedLegalOrganization(@Nullable LegalOrganizationType value)
value - allowed object is
LegalOrganizationType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<TradeContactType> getDefinedTradeContact()
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 definedTradeContact property.
For example, to add a new item, do as follows:
getDefinedTradeContact().add(newItem);
Objects of the following type(s) are allowed in the list
TradeContactType
@Nullable public TradeAddressType getPostalTradeAddress()
TradeAddressTypepublic void setPostalTradeAddress(@Nullable TradeAddressType value)
value - allowed object is
TradeAddressType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<UniversalCommunicationType> getURIUniversalCommunication()
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 uriUniversalCommunication property.
For example, to add a new item, do as follows:
getURIUniversalCommunication().add(newItem);
Objects of the following type(s) are allowed in the list
UniversalCommunicationType
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<TaxRegistrationType> getSpecifiedTaxRegistration()
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 specifiedTaxRegistration property.
For example, to add a new item, do as follows:
getSpecifiedTaxRegistration().add(newItem);
Objects of the following type(s) are allowed in the list
TaxRegistrationType
@Nullable public UniversalCommunicationType getEndPointURIUniversalCommunication()
UniversalCommunicationTypepublic void setEndPointURIUniversalCommunication(@Nullable UniversalCommunicationType value)
value - allowed object is
UniversalCommunicationType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<SpecifiedBinaryFileType> getLogoAssociatedSpecifiedBinaryFile()
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 logoAssociatedSpecifiedBinaryFile property.
For example, to add a new item, do as follows:
getLogoAssociatedSpecifiedBinaryFile().add(newItem);
Objects of the following type(s) are allowed in the list
SpecifiedBinaryFileType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setID(@Nullable List<IDType> aList)
aList - The new list member to set. May be null.public void setGlobalID(@Nullable List<IDType> aList)
aList - The new list member to set. May be null.public void setRoleCode(@Nullable List<PartyRoleCodeType> aList)
aList - The new list member to set. May be null.public void setDescription(@Nullable List<TextType> aList)
aList - The new list member to set. May be null.public void setDefinedTradeContact(@Nullable List<TradeContactType> aList)
aList - The new list member to set. May be null.public void setURIUniversalCommunication(@Nullable List<UniversalCommunicationType> aList)
aList - The new list member to set. May be null.public void setSpecifiedTaxRegistration(@Nullable List<TaxRegistrationType> aList)
aList - The new list member to set. May be null.public void setLogoAssociatedSpecifiedBinaryFile(@Nullable List<SpecifiedBinaryFileType> aList)
aList - The new list member to set. May be null.public boolean hasIDEntries()
true if at least one item is contained, false otherwise.public boolean hasNoIDEntries()
true if no item is contained, false otherwise.@Nonnegative public int getIDCount()
@Nullable public IDType getIDAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addID(@Nonnull IDType elem)
elem - The element to be added. May not be null.public boolean hasGlobalIDEntries()
true if at least one item is contained, false otherwise.public boolean hasNoGlobalIDEntries()
true if no item is contained, false otherwise.@Nonnegative public int getGlobalIDCount()
@Nullable public IDType getGlobalIDAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addGlobalID(@Nonnull IDType elem)
elem - The element to be added. May not be null.public boolean hasRoleCodeEntries()
true if at least one item is contained, false otherwise.public boolean hasNoRoleCodeEntries()
true if no item is contained, false otherwise.@Nonnegative public int getRoleCodeCount()
@Nullable public PartyRoleCodeType getRoleCodeAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addRoleCode(@Nonnull PartyRoleCodeType elem)
elem - The element to be added. May not be null.public boolean hasDescriptionEntries()
true if at least one item is contained, false otherwise.public boolean hasNoDescriptionEntries()
true if no item is contained, false otherwise.@Nonnegative public int getDescriptionCount()
@Nullable public TextType getDescriptionAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addDescription(@Nonnull TextType elem)
elem - The element to be added. May not be null.public boolean hasDefinedTradeContactEntries()
true if at least one item is contained, false otherwise.public boolean hasNoDefinedTradeContactEntries()
true if no item is contained, false otherwise.@Nonnegative public int getDefinedTradeContactCount()
@Nullable public TradeContactType getDefinedTradeContactAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addDefinedTradeContact(@Nonnull TradeContactType elem)
elem - The element to be added. May not be null.public boolean hasURIUniversalCommunicationEntries()
true if at least one item is contained, false otherwise.public boolean hasNoURIUniversalCommunicationEntries()
true if no item is contained, false otherwise.@Nonnegative public int getURIUniversalCommunicationCount()
@Nullable public UniversalCommunicationType getURIUniversalCommunicationAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addURIUniversalCommunication(@Nonnull UniversalCommunicationType elem)
elem - The element to be added. May not be null.public boolean hasSpecifiedTaxRegistrationEntries()
true if at least one item is contained, false otherwise.public boolean hasNoSpecifiedTaxRegistrationEntries()
true if no item is contained, false otherwise.@Nonnegative public int getSpecifiedTaxRegistrationCount()
@Nullable public TaxRegistrationType getSpecifiedTaxRegistrationAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addSpecifiedTaxRegistration(@Nonnull TaxRegistrationType elem)
elem - The element to be added. May not be null.public boolean hasLogoAssociatedSpecifiedBinaryFileEntries()
true if at least one item is contained, false otherwise.public boolean hasNoLogoAssociatedSpecifiedBinaryFileEntries()
true if no item is contained, false otherwise.@Nonnegative public int getLogoAssociatedSpecifiedBinaryFileCount()
@Nullable public SpecifiedBinaryFileType getLogoAssociatedSpecifiedBinaryFileAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addLogoAssociatedSpecifiedBinaryFile(@Nonnull SpecifiedBinaryFileType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull TradePartyType ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public TradePartyType clone()
@Nonnull public TextType setName(@Nullable String valueParam)
valueParam - The value to be set. May be null.nullCopyright © 2016–2021 Philip Helger. All rights reserved.