public class PackageType extends Object implements Serializable
<?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Package. Details</ccts:DictionaryEntryName><ccts:Definition>Information about a package.</ccts:Definition><ccts:ObjectClass>Package</ccts:ObjectClass></ccts:Component>
Java class for PackageType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PackageType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Quantity" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReturnableMaterialIndicator" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PackageLevelCode" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PackagingTypeCode" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PackingMaterial" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ContainedPackage" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}GoodsItem" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MeasurementDimension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DeliveryUnit" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
PackageType()
Default constructor
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<PackageType> |
getContainedPackage()
<?
|
PackageType |
getContainedPackageAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getContainedPackageCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<DeliveryUnitType> |
getDeliveryUnit()
<?
|
DeliveryUnitType |
getDeliveryUnitAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getDeliveryUnitCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<GoodsItemType> |
getGoodsItem()
<?
|
GoodsItemType |
getGoodsItemAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getGoodsItemCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
IDType |
getID()
<?
|
String |
getIDValue()
Get the value of the contained IDType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
List<DimensionType> |
getMeasurementDimension()
<?
|
DimensionType |
getMeasurementDimensionAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getMeasurementDimensionCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
PackageLevelCodeType |
getPackageLevelCode()
<?
|
String |
getPackageLevelCodeValue()
Get the value of the contained PackageLevelCodeType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
PackagingTypeCodeType |
getPackagingTypeCode()
<?
|
String |
getPackagingTypeCodeValue()
Get the value of the contained PackagingTypeCodeType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
List<PackingMaterialType> |
getPackingMaterial()
<?
|
PackingMaterialType |
getPackingMaterialAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getPackingMaterialCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
QuantityType |
getQuantity()
<?
|
BigDecimal |
getQuantityValue()
Get the value of the contained QuantityType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
ReturnableMaterialIndicatorType |
getReturnableMaterialIndicator()
<?
|
boolean |
hasContainedPackageEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasDeliveryUnitEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasGoodsItemEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasMeasurementDimensionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoContainedPackageEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoDeliveryUnitEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoGoodsItemEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoMeasurementDimensionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoPackingMaterialEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasPackingMaterialEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
isReturnableMaterialIndicatorValue(boolean nullValue)
Get the value of the contained ReturnableMaterialIndicatorType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setContainedPackage(List<PackageType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setDeliveryUnit(List<DeliveryUnitType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setGoodsItem(List<GoodsItemType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setID(IDType value)
Sets the value of the id property.
|
IDType |
setID(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setMeasurementDimension(List<DimensionType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setPackageLevelCode(PackageLevelCodeType value)
Sets the value of the packageLevelCode property.
|
PackageLevelCodeType |
setPackageLevelCode(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setPackagingTypeCode(PackagingTypeCodeType value)
Sets the value of the packagingTypeCode property.
|
PackagingTypeCodeType |
setPackagingTypeCode(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setPackingMaterial(List<PackingMaterialType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
QuantityType |
setQuantity(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setQuantity(QuantityType value)
Sets the value of the quantity property.
|
ReturnableMaterialIndicatorType |
setReturnableMaterialIndicator(boolean valueParam)
Special setter with value of type boolean
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setReturnableMaterialIndicator(ReturnableMaterialIndicatorType value)
Sets the value of the returnableMaterialIndicator property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public PackageType()
@Nullable public IDType getID()
<?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Package. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies the package.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Package</ccts:ObjectClass><ccts:PropertyTerm>Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
IDTypepublic void setID(@Nullable IDType value)
value - allowed object is
IDType@Nullable public QuantityType getQuantity()
<?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Package. Quantity</ccts:DictionaryEntryName><ccts:Definition>The quantity (of items) contained in the package.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Package</ccts:ObjectClass><ccts:PropertyTerm>Quantity</ccts:PropertyTerm><ccts:RepresentationTerm>Quantity</ccts:RepresentationTerm><ccts:DataType>Quantity. Type</ccts:DataType></ccts:Component>
QuantityTypepublic void setQuantity(@Nullable QuantityType value)
value - allowed object is
QuantityType@Nullable public ReturnableMaterialIndicatorType getReturnableMaterialIndicator()
<?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Package. Returnable Material_ Indicator. Indicator</ccts:DictionaryEntryName><ccts:Definition>Indicates whether the packaging material is returnable (true) or not (false).</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Package</ccts:ObjectClass><ccts:PropertyTermQualifier>Returnable Material</ccts:PropertyTermQualifier><ccts:PropertyTerm>Indicator</ccts:PropertyTerm><ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm><ccts:DataType>Indicator. Type</ccts:DataType></ccts:Component>
ReturnableMaterialIndicatorTypepublic void setReturnableMaterialIndicator(@Nullable ReturnableMaterialIndicatorType value)
value - allowed object is
ReturnableMaterialIndicatorType@Nullable public PackageLevelCodeType getPackageLevelCode()
<?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Package. Package Level Code. Code</ccts:DictionaryEntryName><ccts:Definition>Code specifying a level of packaging.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Package</ccts:ObjectClass><ccts:PropertyTerm>Package Level Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
PackageLevelCodeTypepublic void setPackageLevelCode(@Nullable PackageLevelCodeType value)
value - allowed object is
PackageLevelCodeType@Nullable public PackagingTypeCodeType getPackagingTypeCode()
<?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Package. Packaging Type Code. Code</ccts:DictionaryEntryName><ccts:Definition>Code specifying the type of packaging of an item.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Package</ccts:ObjectClass><ccts:PropertyTerm>Packaging Type Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Packaging Type_ Code. Type</ccts:DataType><ccts:AlternativeBusinessTerms>Package classification code</ccts:AlternativeBusinessTerms></ccts:Component>
PackagingTypeCodeTypepublic void setPackagingTypeCode(@Nullable PackagingTypeCodeType value)
value - allowed object is
PackagingTypeCodeType@Nonnull @ReturnsMutableObject(reason="JAXB implementation style") public List<PackingMaterialType> getPackingMaterial()
<?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Package. Packing Material. Text</ccts:DictionaryEntryName><ccts:Definition>Description of the type of packaging of an item.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Package</ccts:ObjectClass><ccts:PropertyTerm>Packing Material</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>Gets the value of the packingMaterial 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 packingMaterial property.
For example, to add a new item, do as follows:
getPackingMaterial().add(newItem);
Objects of the following type(s) are allowed in the list
PackingMaterialType
@Nonnull @ReturnsMutableObject(reason="JAXB implementation style") public List<PackageType> getContainedPackage()
<?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Package. Contained_ Package. Package</ccts:DictionaryEntryName><ccts:Definition>An association to Contained Package; used to describe a package within a package.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Package</ccts:ObjectClass><ccts:PropertyTermQualifier>Contained</ccts:PropertyTermQualifier><ccts:PropertyTerm>Package</ccts:PropertyTerm><ccts:AssociatedObjectClass>Package</ccts:AssociatedObjectClass></ccts:Component>Gets the value of the containedPackage 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 containedPackage property.
For example, to add a new item, do as follows:
getContainedPackage().add(newItem);
Objects of the following type(s) are allowed in the list
PackageType
@Nonnull @ReturnsMutableObject(reason="JAXB implementation style") public List<GoodsItemType> getGoodsItem()
<?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Package. Goods Item</ccts:DictionaryEntryName><ccts:Definition>An association to Goods Item.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Package</ccts:ObjectClass><ccts:PropertyTerm>Goods Item</ccts:PropertyTerm><ccts:AssociatedObjectClass>Goods Item</ccts:AssociatedObjectClass></ccts:Component>Gets the value of the goodsItem 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 goodsItem property.
For example, to add a new item, do as follows:
getGoodsItem().add(newItem);
Objects of the following type(s) are allowed in the list
GoodsItemType
@Nonnull @ReturnsMutableObject(reason="JAXB implementation style") public List<DimensionType> getMeasurementDimension()
<?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Package. Measurement_ Dimension. Dimension</ccts:DictionaryEntryName><ccts:Definition>An association to describe the measurement dimensions of the package.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Package</ccts:ObjectClass><ccts:PropertyTermQualifier>Measurement</ccts:PropertyTermQualifier><ccts:PropertyTerm>Dimension</ccts:PropertyTerm><ccts:AssociatedObjectClass>Dimension</ccts:AssociatedObjectClass></ccts:Component>Gets the value of the measurementDimension 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 measurementDimension property.
For example, to add a new item, do as follows:
getMeasurementDimension().add(newItem);
Objects of the following type(s) are allowed in the list
DimensionType
@Nonnull @ReturnsMutableObject(reason="JAXB implementation style") public List<DeliveryUnitType> getDeliveryUnit()
<?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Package. Delivery Unit</ccts:DictionaryEntryName><ccts:Definition>An association to Delivery Units in the package.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Package</ccts:ObjectClass><ccts:PropertyTerm>Delivery Unit</ccts:PropertyTerm><ccts:AssociatedObjectClass>Delivery Unit</ccts:AssociatedObjectClass></ccts:Component>Gets the value of the deliveryUnit 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 deliveryUnit property.
For example, to add a new item, do as follows:
getDeliveryUnit().add(newItem);
Objects of the following type(s) are allowed in the list
DeliveryUnitType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setPackingMaterial(@Nullable List<PackingMaterialType> aList)
aList - The new list member to set. May be null.public void setContainedPackage(@Nullable List<PackageType> aList)
aList - The new list member to set. May be null.public void setGoodsItem(@Nullable List<GoodsItemType> aList)
aList - The new list member to set. May be null.public void setMeasurementDimension(@Nullable List<DimensionType> aList)
aList - The new list member to set. May be null.public void setDeliveryUnit(@Nullable List<DeliveryUnitType> aList)
aList - The new list member to set. May be null.public boolean hasPackingMaterialEntries()
true if at least one item is contained, false otherwise.public boolean hasNoPackingMaterialEntries()
true if no item is contained, false otherwise.@Nonnegative public int getPackingMaterialCount()
@Nullable public PackingMaterialType getPackingMaterialAtIndex(@Nonnegative int index)
index - The index to retrievenullArrayIndexOutOfBoundsException - if the index is invalid!public boolean hasContainedPackageEntries()
true if at least one item is contained, false otherwise.public boolean hasNoContainedPackageEntries()
true if no item is contained, false otherwise.@Nonnegative public int getContainedPackageCount()
@Nullable public PackageType getContainedPackageAtIndex(@Nonnegative int index)
index - The index to retrievenullArrayIndexOutOfBoundsException - if the index is invalid!public boolean hasGoodsItemEntries()
true if at least one item is contained, false otherwise.public boolean hasNoGoodsItemEntries()
true if no item is contained, false otherwise.@Nonnegative public int getGoodsItemCount()
@Nullable public GoodsItemType getGoodsItemAtIndex(@Nonnegative int index)
index - The index to retrievenullArrayIndexOutOfBoundsException - if the index is invalid!public boolean hasMeasurementDimensionEntries()
true if at least one item is contained, false otherwise.public boolean hasNoMeasurementDimensionEntries()
true if no item is contained, false otherwise.@Nonnegative public int getMeasurementDimensionCount()
@Nullable public DimensionType getMeasurementDimensionAtIndex(@Nonnegative int index)
index - The index to retrievenullArrayIndexOutOfBoundsException - if the index is invalid!public boolean hasDeliveryUnitEntries()
true if at least one item is contained, false otherwise.public boolean hasNoDeliveryUnitEntries()
true if no item is contained, false otherwise.@Nonnegative public int getDeliveryUnitCount()
@Nullable public DeliveryUnitType getDeliveryUnitAtIndex(@Nonnegative int index)
index - The index to retrievenullArrayIndexOutOfBoundsException - if the index is invalid!@Nonnull public ReturnableMaterialIndicatorType setReturnableMaterialIndicator(boolean valueParam)
valueParam - The value to be set.null@Nonnull public IDType setID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public PackageLevelCodeType setPackageLevelCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public PackagingTypeCodeType setPackagingTypeCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public QuantityType setQuantity(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getIDValue()
null@Nullable public BigDecimal getQuantityValue()
nullpublic boolean isReturnableMaterialIndicatorValue(boolean nullValue)
nullValue - The value to be returned, if the owning object is null
@Nullable public String getPackageLevelCodeValue()
nullCopyright © 2014 Philip Helger. All rights reserved.