public class TradeCountryType extends Object
Java class for TradeCountryType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradeCountryType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ID" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}CountryIDType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<CountryIDType> |
id |
| Constructor and Description |
|---|
TradeCountryType() |
| Modifier and Type | Method and Description |
|---|---|
List<CountryIDType> |
getID()
Gets the value of the id property.
|
TradeCountryType |
withID(Collection<CountryIDType> values) |
TradeCountryType |
withID(CountryIDType... values) |
protected List<CountryIDType> id
public List<CountryIDType> 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
CountryIDType
public TradeCountryType withID(CountryIDType... values)
public TradeCountryType withID(Collection<CountryIDType> values)
Copyright © 2014–2019 Philip Helger. All rights reserved.