@CodingStyleguideUnaware public class OrderedShipmentType 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>Ordered Shipment. Details</ccts:DictionaryEntryName><ccts:Definition>A class to describe an ordered shipment.</ccts:Definition><ccts:ObjectClass>Ordered Shipment</ccts:ObjectClass></ccts:Component>
Java class for OrderedShipmentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OrderedShipmentType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Shipment"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Package" 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 |
|---|
OrderedShipmentType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addPackage(PackageType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
OrderedShipmentType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(OrderedShipmentType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<PackageType> |
getPackage()
<?
|
PackageType |
getPackageAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getPackageCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
ShipmentType |
getShipment()
<?
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoPackageEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasPackageEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setPackage(List<PackageType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setShipment(ShipmentType value)
Sets the value of the shipment property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public OrderedShipmentType()
@Nullable public ShipmentType getShipment()
<?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>Ordered Shipment. Shipment</ccts:DictionaryEntryName><ccts:Definition>The ordered shipment.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Ordered Shipment</ccts:ObjectClass><ccts:PropertyTerm>Shipment</ccts:PropertyTerm><ccts:AssociatedObjectClass>Shipment</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Shipment</ccts:RepresentationTerm></ccts:Component>
ShipmentTypepublic void setShipment(@Nullable ShipmentType value)
value - allowed object is
ShipmentType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<PackageType> getPackage()
<?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>Ordered Shipment. Package</ccts:DictionaryEntryName><ccts:Definition>A package in this ordered shipment.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Ordered Shipment</ccts:ObjectClass><ccts:PropertyTerm>Package</ccts:PropertyTerm><ccts:AssociatedObjectClass>Package</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Package</ccts:RepresentationTerm></ccts:Component>Gets the value of the package 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 package property.
For example, to add a new item, do as follows:
getPackage().add(newItem);
Objects of the following type(s) are allowed in the list
PackageType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setPackage(@Nullable List<PackageType> aList)
aList - The new list member to set. May be null.public boolean hasPackageEntries()
true if at least one item is contained, false otherwise.public boolean hasNoPackageEntries()
true if no item is contained, false otherwise.@Nonnegative public int getPackageCount()
@Nullable public PackageType getPackageAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addPackage(@Nonnull PackageType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull OrderedShipmentType 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 OrderedShipmentType clone()
Copyright © 2014–2020 Philip Helger. All rights reserved.