public class TradePartyType extends Object
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:15}IDType" maxOccurs="unbounded" minOccurs="0"/>
<element name="GlobalID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" maxOccurs="unbounded" minOccurs="0"/>
<element name="Name" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
<element name="DefinedTradeContact" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeContactType" maxOccurs="unbounded" minOccurs="0"/>
<element name="PostalTradeAddress" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeAddressType" minOccurs="0"/>
<element name="SpecifiedTaxRegistration" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TaxRegistrationType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<TradeContactType> |
definedTradeContact |
protected List<IDType> |
globalID |
protected List<IDType> |
id |
protected TextType |
name |
protected TradeAddressType |
postalTradeAddress |
protected List<TaxRegistrationType> |
specifiedTaxRegistration |
| Constructor and Description |
|---|
TradePartyType() |
protected TextType name
protected List<TradeContactType> definedTradeContact
protected TradeAddressType postalTradeAddress
protected List<TaxRegistrationType> specifiedTaxRegistration
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
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
public TextType getName()
TextTypepublic void setName(TextType value)
value - allowed object is
TextTypepublic 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
public TradeAddressType getPostalTradeAddress()
TradeAddressTypepublic void setPostalTradeAddress(TradeAddressType value)
value - allowed object is
TradeAddressTypepublic 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
public TradePartyType withID(IDType... values)
public TradePartyType withID(Collection<IDType> values)
public TradePartyType withGlobalID(IDType... values)
public TradePartyType withGlobalID(Collection<IDType> values)
public TradePartyType withName(TextType value)
public TradePartyType withDefinedTradeContact(TradeContactType... values)
public TradePartyType withDefinedTradeContact(Collection<TradeContactType> values)
public TradePartyType withPostalTradeAddress(TradeAddressType value)
public TradePartyType withSpecifiedTaxRegistration(TaxRegistrationType... values)
public TradePartyType withSpecifiedTaxRegistration(Collection<TaxRegistrationType> values)
Copyright © 2014–2019 Philip Helger. All rights reserved.