public class DeliveryUnitType 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>Delivery Unit. Details</ccts:DictionaryEntryName><ccts:Definition>Information about a Delivery Unit.</ccts:Definition><ccts:ObjectClass>Delivery Unit</ccts:ObjectClass></ccts:Component>
Java class for DeliveryUnitType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DeliveryUnitType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}BatchQuantity"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ConsumerUnitQuantity" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}HazardousRiskIndicator" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
DeliveryUnitType()
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
|
BatchQuantityType |
getBatchQuantity()
<?
|
BigDecimal |
getBatchQuantityValue()
Get the value of the contained BatchQuantityType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
ConsumerUnitQuantityType |
getConsumerUnitQuantity()
<?
|
BigDecimal |
getConsumerUnitQuantityValue()
Get the value of the contained ConsumerUnitQuantityType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
HazardousRiskIndicatorType |
getHazardousRiskIndicator()
<?
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
isHazardousRiskIndicatorValue(boolean nullValue)
Get the value of the contained HazardousRiskIndicatorType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setBatchQuantity(BatchQuantityType value)
Sets the value of the batchQuantity property.
|
BatchQuantityType |
setBatchQuantity(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
ConsumerUnitQuantityType |
setConsumerUnitQuantity(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setConsumerUnitQuantity(ConsumerUnitQuantityType value)
Sets the value of the consumerUnitQuantity property.
|
HazardousRiskIndicatorType |
setHazardousRiskIndicator(boolean valueParam)
Special setter with value of type boolean
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setHazardousRiskIndicator(HazardousRiskIndicatorType value)
Sets the value of the hazardousRiskIndicator property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public DeliveryUnitType()
@Nullable public BatchQuantityType getBatchQuantity()
<?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>Delivery Unit. Batch Quantity. Quantity</ccts:DictionaryEntryName><ccts:Definition>The quantity of ordered Items that constitutes a batch for delivery purposes.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Delivery Unit</ccts:ObjectClass><ccts:PropertyTerm>Batch Quantity</ccts:PropertyTerm><ccts:RepresentationTerm>Quantity</ccts:RepresentationTerm><ccts:DataType>Quantity. Type</ccts:DataType><ccts:Examples>"100 units", "by the dozen"</ccts:Examples></ccts:Component>
BatchQuantityTypepublic void setBatchQuantity(@Nullable BatchQuantityType value)
value - allowed object is
BatchQuantityType@Nullable public ConsumerUnitQuantityType getConsumerUnitQuantity()
<?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>Delivery Unit. Consumer_ Unit. Quantity</ccts:DictionaryEntryName><ccts:Definition>The quantity of consumer units in the Delivery Unit.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Delivery Unit</ccts:ObjectClass><ccts:PropertyTermQualifier>Consumer</ccts:PropertyTermQualifier><ccts:PropertyTerm>Unit</ccts:PropertyTerm><ccts:RepresentationTerm>Quantity</ccts:RepresentationTerm><ccts:DataType>Quantity. Type</ccts:DataType><ccts:Examples>"packs of 10"</ccts:Examples></ccts:Component>
ConsumerUnitQuantityTypepublic void setConsumerUnitQuantity(@Nullable ConsumerUnitQuantityType value)
value - allowed object is
ConsumerUnitQuantityType@Nullable public HazardousRiskIndicatorType getHazardousRiskIndicator()
<?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>Delivery Unit. Hazardous Risk_ Indicator. Indicator</ccts:DictionaryEntryName><ccts:Definition>Indicates whether the Item as delivered is hazardous.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Delivery Unit</ccts:ObjectClass><ccts:PropertyTermQualifier>Hazardous Risk</ccts:PropertyTermQualifier><ccts:PropertyTerm>Indicator</ccts:PropertyTerm><ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm><ccts:DataType>Indicator. Type</ccts:DataType><ccts:Examples>Default is negative</ccts:Examples></ccts:Component>
HazardousRiskIndicatorTypepublic void setHazardousRiskIndicator(@Nullable HazardousRiskIndicatorType value)
value - allowed object is
HazardousRiskIndicatorTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
@Nonnull public HazardousRiskIndicatorType setHazardousRiskIndicator(boolean valueParam)
valueParam - The value to be set.null@Nonnull public BatchQuantityType setBatchQuantity(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public ConsumerUnitQuantityType setConsumerUnitQuantity(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nullable public BigDecimal getBatchQuantityValue()
null@Nullable public BigDecimal getConsumerUnitQuantityValue()
nullpublic boolean isHazardousRiskIndicatorValue(boolean nullValue)
nullValue - The value to be returned, if the owning object is null
Copyright © 2014 Philip Helger. All rights reserved.