public class TradeProductType extends Object
Java class for TradeProductType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradeProductType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="GlobalID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" maxOccurs="unbounded" minOccurs="0"/>
<element name="SellerAssignedID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
<element name="BuyerAssignedID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
<element name="Name" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
<element name="Description" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
<element name="ApplicableProductCharacteristic" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ProductCharacteristicType" maxOccurs="unbounded" minOccurs="0"/>
<element name="DesignatedProductClassification" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ProductClassificationType" maxOccurs="unbounded" minOccurs="0"/>
<element name="OriginTradeCountry" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeCountryType" maxOccurs="unbounded" minOccurs="0"/>
<element name="IncludedReferencedProduct" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedProductType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ProductCharacteristicType> |
applicableProductCharacteristic |
protected IDType |
buyerAssignedID |
protected List<TextType> |
description |
protected List<ProductClassificationType> |
designatedProductClassification |
protected List<IDType> |
globalID |
protected List<ReferencedProductType> |
includedReferencedProduct |
protected List<TextType> |
name |
protected List<TradeCountryType> |
originTradeCountry |
protected IDType |
sellerAssignedID |
| Constructor and Description |
|---|
TradeProductType() |
protected IDType sellerAssignedID
protected IDType buyerAssignedID
protected List<ProductCharacteristicType> applicableProductCharacteristic
protected List<ProductClassificationType> designatedProductClassification
protected List<TradeCountryType> originTradeCountry
protected List<ReferencedProductType> includedReferencedProduct
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 IDType getSellerAssignedID()
IDTypepublic void setSellerAssignedID(IDType value)
value - allowed object is
IDTypepublic IDType getBuyerAssignedID()
IDTypepublic void setBuyerAssignedID(IDType value)
value - allowed object is
IDTypepublic List<TextType> getName()
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 name property.
For example, to add a new item, do as follows:
getName().add(newItem);
Objects of the following type(s) are allowed in the list
TextType
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
public List<ProductCharacteristicType> getApplicableProductCharacteristic()
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 applicableProductCharacteristic property.
For example, to add a new item, do as follows:
getApplicableProductCharacteristic().add(newItem);
Objects of the following type(s) are allowed in the list
ProductCharacteristicType
public List<ProductClassificationType> getDesignatedProductClassification()
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 designatedProductClassification property.
For example, to add a new item, do as follows:
getDesignatedProductClassification().add(newItem);
Objects of the following type(s) are allowed in the list
ProductClassificationType
public List<TradeCountryType> getOriginTradeCountry()
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 originTradeCountry property.
For example, to add a new item, do as follows:
getOriginTradeCountry().add(newItem);
Objects of the following type(s) are allowed in the list
TradeCountryType
public List<ReferencedProductType> getIncludedReferencedProduct()
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 includedReferencedProduct property.
For example, to add a new item, do as follows:
getIncludedReferencedProduct().add(newItem);
Objects of the following type(s) are allowed in the list
ReferencedProductType
public TradeProductType withGlobalID(IDType... values)
public TradeProductType withGlobalID(Collection<IDType> values)
public TradeProductType withSellerAssignedID(IDType value)
public TradeProductType withBuyerAssignedID(IDType value)
public TradeProductType withName(TextType... values)
public TradeProductType withName(Collection<TextType> values)
public TradeProductType withDescription(TextType... values)
public TradeProductType withDescription(Collection<TextType> values)
public TradeProductType withApplicableProductCharacteristic(ProductCharacteristicType... values)
public TradeProductType withApplicableProductCharacteristic(Collection<ProductCharacteristicType> values)
public TradeProductType withDesignatedProductClassification(ProductClassificationType... values)
public TradeProductType withDesignatedProductClassification(Collection<ProductClassificationType> values)
public TradeProductType withOriginTradeCountry(TradeCountryType... values)
public TradeProductType withOriginTradeCountry(Collection<TradeCountryType> values)
public TradeProductType withIncludedReferencedProduct(ReferencedProductType... values)
public TradeProductType withIncludedReferencedProduct(Collection<ReferencedProductType> values)
Copyright © 2014–2019 Philip Helger. All rights reserved.