Class PackageType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.PackageType
-
public class PackageType extends Object
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:CommonBasicComponents-2}TraceID" 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}ContainingTransportEquipment" 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"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Delivery" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Pickup" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Despatch" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<PackageType>containedPackageprotected TransportEquipmentTypecontainingTransportEquipmentprotected DeliveryTypedeliveryprotected List<DeliveryUnitType>deliveryUnitprotected DespatchTypedespatchprotected List<GoodsItemType>goodsItemprotected IDTypeidprotected List<DimensionType>measurementDimensionprotected PackageLevelCodeTypepackageLevelCodeprotected PackagingTypeCodeTypepackagingTypeCodeprotected List<PackingMaterialType>packingMaterialprotected PickupTypepickupprotected QuantityTypequantityprotected ReturnableMaterialIndicatorTypereturnableMaterialIndicatorprotected TraceIDTypetraceID
-
Constructor Summary
Constructors Constructor Description PackageType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PackageType>getContainedPackage()Gets the value of the containedPackage property.TransportEquipmentTypegetContainingTransportEquipment()Gets the value of the containingTransportEquipment property.DeliveryTypegetDelivery()Gets the value of the delivery property.List<DeliveryUnitType>getDeliveryUnit()Gets the value of the deliveryUnit property.DespatchTypegetDespatch()Gets the value of the despatch property.List<GoodsItemType>getGoodsItem()Gets the value of the goodsItem property.IDTypegetID()Gets the value of the id property.List<DimensionType>getMeasurementDimension()Gets the value of the measurementDimension property.PackageLevelCodeTypegetPackageLevelCode()Gets the value of the packageLevelCode property.PackagingTypeCodeTypegetPackagingTypeCode()Gets the value of the packagingTypeCode property.List<PackingMaterialType>getPackingMaterial()Gets the value of the packingMaterial property.PickupTypegetPickup()Gets the value of the pickup property.QuantityTypegetQuantity()Gets the value of the quantity property.ReturnableMaterialIndicatorTypegetReturnableMaterialIndicator()Gets the value of the returnableMaterialIndicator property.TraceIDTypegetTraceID()Gets the value of the traceID property.voidsetContainingTransportEquipment(TransportEquipmentType value)Sets the value of the containingTransportEquipment property.voidsetDelivery(DeliveryType value)Sets the value of the delivery property.voidsetDespatch(DespatchType value)Sets the value of the despatch property.voidsetID(IDType value)Sets the value of the id property.voidsetPackageLevelCode(PackageLevelCodeType value)Sets the value of the packageLevelCode property.voidsetPackagingTypeCode(PackagingTypeCodeType value)Sets the value of the packagingTypeCode property.voidsetPickup(PickupType value)Sets the value of the pickup property.voidsetQuantity(QuantityType value)Sets the value of the quantity property.voidsetReturnableMaterialIndicator(ReturnableMaterialIndicatorType value)Sets the value of the returnableMaterialIndicator property.voidsetTraceID(TraceIDType value)Sets the value of the traceID property.
-
-
-
Field Detail
-
id
protected IDType id
-
quantity
protected QuantityType quantity
-
returnableMaterialIndicator
protected ReturnableMaterialIndicatorType returnableMaterialIndicator
-
packageLevelCode
protected PackageLevelCodeType packageLevelCode
-
packagingTypeCode
protected PackagingTypeCodeType packagingTypeCode
-
packingMaterial
protected List<PackingMaterialType> packingMaterial
-
traceID
protected TraceIDType traceID
-
containedPackage
protected List<PackageType> containedPackage
-
containingTransportEquipment
protected TransportEquipmentType containingTransportEquipment
-
goodsItem
protected List<GoodsItemType> goodsItem
-
measurementDimension
protected List<DimensionType> measurementDimension
-
deliveryUnit
protected List<DeliveryUnitType> deliveryUnit
-
delivery
protected DeliveryType delivery
-
pickup
protected PickupType pickup
-
despatch
protected DespatchType despatch
-
-
Method Detail
-
setID
public void setID(IDType value)
Sets the value of the id property.- Parameters:
value- allowed object isIDType
-
getQuantity
public QuantityType getQuantity()
Gets the value of the quantity property.- Returns:
- possible object is
QuantityType
-
setQuantity
public void setQuantity(QuantityType value)
Sets the value of the quantity property.- Parameters:
value- allowed object isQuantityType
-
getReturnableMaterialIndicator
public ReturnableMaterialIndicatorType getReturnableMaterialIndicator()
Gets the value of the returnableMaterialIndicator property.- Returns:
- possible object is
ReturnableMaterialIndicatorType
-
setReturnableMaterialIndicator
public void setReturnableMaterialIndicator(ReturnableMaterialIndicatorType value)
Sets the value of the returnableMaterialIndicator property.- Parameters:
value- allowed object isReturnableMaterialIndicatorType
-
getPackageLevelCode
public PackageLevelCodeType getPackageLevelCode()
Gets the value of the packageLevelCode property.- Returns:
- possible object is
PackageLevelCodeType
-
setPackageLevelCode
public void setPackageLevelCode(PackageLevelCodeType value)
Sets the value of the packageLevelCode property.- Parameters:
value- allowed object isPackageLevelCodeType
-
getPackagingTypeCode
public PackagingTypeCodeType getPackagingTypeCode()
Gets the value of the packagingTypeCode property.- Returns:
- possible object is
PackagingTypeCodeType
-
setPackagingTypeCode
public void setPackagingTypeCode(PackagingTypeCodeType value)
Sets the value of the packagingTypeCode property.- Parameters:
value- allowed object isPackagingTypeCodeType
-
getPackingMaterial
public List<PackingMaterialType> getPackingMaterial()
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
setmethod 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- Returns:
- The value of the packingMaterial property.
-
getTraceID
public TraceIDType getTraceID()
Gets the value of the traceID property.- Returns:
- possible object is
TraceIDType
-
setTraceID
public void setTraceID(TraceIDType value)
Sets the value of the traceID property.- Parameters:
value- allowed object isTraceIDType
-
getContainedPackage
public List<PackageType> getContainedPackage()
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
setmethod 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- Returns:
- The value of the containedPackage property.
-
getContainingTransportEquipment
public TransportEquipmentType getContainingTransportEquipment()
Gets the value of the containingTransportEquipment property.- Returns:
- possible object is
TransportEquipmentType
-
setContainingTransportEquipment
public void setContainingTransportEquipment(TransportEquipmentType value)
Sets the value of the containingTransportEquipment property.- Parameters:
value- allowed object isTransportEquipmentType
-
getGoodsItem
public List<GoodsItemType> getGoodsItem()
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
setmethod 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- Returns:
- The value of the goodsItem property.
-
getMeasurementDimension
public List<DimensionType> getMeasurementDimension()
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
setmethod 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- Returns:
- The value of the measurementDimension property.
-
getDeliveryUnit
public List<DeliveryUnitType> getDeliveryUnit()
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
setmethod 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- Returns:
- The value of the deliveryUnit property.
-
getDelivery
public DeliveryType getDelivery()
Gets the value of the delivery property.- Returns:
- possible object is
DeliveryType
-
setDelivery
public void setDelivery(DeliveryType value)
Sets the value of the delivery property.- Parameters:
value- allowed object isDeliveryType
-
getPickup
public PickupType getPickup()
Gets the value of the pickup property.- Returns:
- possible object is
PickupType
-
setPickup
public void setPickup(PickupType value)
Sets the value of the pickup property.- Parameters:
value- allowed object isPickupType
-
getDespatch
public DespatchType getDespatch()
Gets the value of the despatch property.- Returns:
- possible object is
DespatchType
-
setDespatch
public void setDespatch(DespatchType value)
Sets the value of the despatch property.- Parameters:
value- allowed object isDespatchType
-
-