@CodingStyleguideUnaware public class TradeCountryType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
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:100}CountryIDType" minOccurs="0"/>
<element name="Name" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}TextType" maxOccurs="unbounded" minOccurs="0"/>
<element name="SubordinateTradeCountrySubDivision" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100}TradeCountrySubDivisionType" 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 |
|---|
TradeCountryType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addName(TextType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addSubordinateTradeCountrySubDivision(TradeCountrySubDivisionType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
TradeCountryType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(TradeCountryType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
CountryIDType |
getID()
Gets the value of the id property.
|
String |
getIDValue()
Get the value of the contained CountryIDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
List<TextType> |
getName()
Gets the value of the name property.
|
TextType |
getNameAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getNameCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<TradeCountrySubDivisionType> |
getSubordinateTradeCountrySubDivision()
Gets the value of the subordinateTradeCountrySubDivision property.
|
TradeCountrySubDivisionType |
getSubordinateTradeCountrySubDivisionAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getSubordinateTradeCountrySubDivisionCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNameEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoNameEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoSubordinateTradeCountrySubDivisionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasSubordinateTradeCountrySubDivisionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setID(CountryIDType value)
Sets the value of the id property.
|
CountryIDType |
setID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setName(List<TextType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setSubordinateTradeCountrySubDivision(List<TradeCountrySubDivisionType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public TradeCountryType()
@Nullable public CountryIDType getID()
CountryIDTypepublic void setID(@Nullable CountryIDType value)
value - allowed object is
CountryIDType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public 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
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<TradeCountrySubDivisionType> getSubordinateTradeCountrySubDivision()
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 subordinateTradeCountrySubDivision property.
For example, to add a new item, do as follows:
getSubordinateTradeCountrySubDivision().add(newItem);
Objects of the following type(s) are allowed in the list
TradeCountrySubDivisionType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setName(@Nullable List<TextType> aList)
aList - The new list member to set. May be null.public void setSubordinateTradeCountrySubDivision(@Nullable List<TradeCountrySubDivisionType> aList)
aList - The new list member to set. May be null.public boolean hasNameEntries()
true if at least one item is contained, false otherwise.public boolean hasNoNameEntries()
true if no item is contained, false otherwise.@Nonnegative public int getNameCount()
@Nullable public TextType getNameAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addName(@Nonnull TextType elem)
elem - The element to be added. May not be null.public boolean hasSubordinateTradeCountrySubDivisionEntries()
true if at least one item is contained, false otherwise.public boolean hasNoSubordinateTradeCountrySubDivisionEntries()
true if no item is contained, false otherwise.@Nonnegative public int getSubordinateTradeCountrySubDivisionCount()
@Nullable public TradeCountrySubDivisionType getSubordinateTradeCountrySubDivisionAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addSubordinateTradeCountrySubDivision(@Nonnull TradeCountrySubDivisionType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull TradeCountryType 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 TradeCountryType clone()
@Nonnull public CountryIDType setID(@Nullable String valueParam)
valueParam - The value to be set. May be null.nullCopyright © 2016–2021 Philip Helger. All rights reserved.