@CodingStyleguideUnaware public class DeliveryUnitType 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>Delivery Unit. Details</ccts:DictionaryEntryName><ccts:Definition>A class to describe 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>
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-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
DeliveryUnitType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
DeliveryUnitType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(DeliveryUnitType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
BatchQuantityType |
getBatchQuantity()
<?
|
BigDecimal |
getBatchQuantityValue()
Get the value of the contained BatchQuantityType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
ConsumerUnitQuantityType |
getConsumerUnitQuantity()
<?
|
BigDecimal |
getConsumerUnitQuantityValue()
Get the value of the contained ConsumerUnitQuantityType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
HazardousRiskIndicatorType |
getHazardousRiskIndicator()
<?
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
isHazardousRiskIndicatorValue(boolean nullValue)
Get the value of the contained HazardousRiskIndicatorType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setBatchQuantity(BatchQuantityType value)
Sets the value of the batchQuantity property.
|
BatchQuantityType |
setBatchQuantity(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
ConsumerUnitQuantityType |
setConsumerUnitQuantity(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setConsumerUnitQuantity(ConsumerUnitQuantityType value)
Sets the value of the consumerUnitQuantity property.
|
HazardousRiskIndicatorType |
setHazardousRiskIndicator(boolean valueParam)
Special setter with value of type boolean
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
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: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>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: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>Delivery Unit. Consumer_ Unit. Quantity</ccts:DictionaryEntryName><ccts:Definition>The quantity of units in the Delivery Unit expressed in the units used by the consumer.</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: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>Delivery Unit. Hazardous Risk_ Indicator. Indicator</ccts:DictionaryEntryName><ccts:Definition>An indication that the transported goods are subject to an international regulation concerning the carriage of dangerous goods (true) or not (false).</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()
public void cloneTo(@Nonnull DeliveryUnitType 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 DeliveryUnitType clone()
@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 nullCopyright © 2014–2020 Philip Helger. All rights reserved.