@CodingStyleguideUnaware public class TradingTermsType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Trading Terms. Details</ccts:DictionaryEntryName><ccts:Definition>A class for describing the terms of a trade agreement.</ccts:Definition><ccts:ObjectClass>Trading Terms</ccts:ObjectClass></ccts:Component>
Java class for TradingTermsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradingTermsType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Information" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Reference" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ApplicableAddress" 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 |
|---|
TradingTermsType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(InformationType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
TradingTermsType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(TradingTermsType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
AddressType |
getApplicableAddress()
<?
|
List<InformationType> |
getInformation()
<?
|
InformationType |
getInformationAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getInformationCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
ReferenceType |
getReference()
<?
|
String |
getReferenceValue()
Get the value of the contained ReferenceType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasInformationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoInformationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setApplicableAddress(AddressType value)
Sets the value of the applicableAddress property.
|
void |
setInformation(List<InformationType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setReference(ReferenceType value)
Sets the value of the reference property.
|
ReferenceType |
setReference(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public TradingTermsType()
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<InformationType> getInformation()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Trading Terms. Information. Text</ccts:DictionaryEntryName><ccts:Definition>Text describing the terms of a trade agreement.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Trading Terms</ccts:ObjectClass><ccts:PropertyTerm>Information</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType><ccts:Examples>Unless credit terms have been expressly agreed by Dell, payment for the products or services shall be made in full before physical delivery of products or services. Customer shall pay for all shipping and handling charges. </ccts:Examples></ccts:Component>Gets the value of the information property.
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 information property.
For example, to add a new item, do as follows:
getInformation().add(newItem);
Objects of the following type(s) are allowed in the list
InformationType
@Nullable public ReferenceType getReference()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Trading Terms. Reference. Text</ccts:DictionaryEntryName><ccts:Definition>A reference quoting the basis of the terms</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Trading Terms</ccts:ObjectClass><ccts:PropertyTerm>Reference</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType><ccts:Examples>http://www1.ap.dell.com/content/topics/topic.aspx/ap/policy/en/au/sales_terms_au?c=au&l=en&s=gen</ccts:Examples></ccts:Component>
ReferenceTypepublic void setReference(@Nullable ReferenceType value)
value - allowed object is
ReferenceType@Nullable public AddressType getApplicableAddress()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Trading Terms. Applicable_ Address. Address</ccts:DictionaryEntryName><ccts:Definition>The address at which these trading terms apply.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Trading Terms</ccts:ObjectClass><ccts:PropertyTermQualifier>Applicable</ccts:PropertyTermQualifier><ccts:PropertyTerm>Address</ccts:PropertyTerm><ccts:AssociatedObjectClass>Address</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Address</ccts:RepresentationTerm></ccts:Component>
AddressTypepublic void setApplicableAddress(@Nullable AddressType value)
value - allowed object is
AddressTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setInformation(@Nullable List<InformationType> aList)
aList - The new list member to set. May be null.public boolean hasInformationEntries()
true if at least one item is contained, false otherwise.public boolean hasNoInformationEntries()
true if no item is contained, false otherwise.@Nonnegative public int getInformationCount()
@Nullable public InformationType getInformationAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addInformation(@Nonnull InformationType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull TradingTermsType 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 TradingTermsType clone()
@Nonnull public ReferenceType setReference(@Nullable String valueParam)
valueParam - The value to be set. May be null.nullCopyright © 2014–2020 Philip Helger. All rights reserved.