org.openvpms.esci.ubl.common
Class QuantityType

java.lang.Object
  extended by org.openvpms.esci.ubl.common.QuantityType
Direct Known Subclasses:
BackorderQuantityType, BaseQuantityType, BatchQuantityType, ConsumerUnitQuantityType, ContentUnitQuantityType, CreditedQuantityType, CustomsTariffQuantityType, DebitedQuantityType, DeliveredQuantityType, GoodsItemQuantityType, InvoicedQuantityType, MaximumBackorderQuantityType, MaximumOrderQuantityType, MaximumQuantityType, MinimumBackorderQuantityType, MinimumOrderQuantityType, MinimumQuantityType, OrderQuantityType, OutstandingQuantityType, OversupplyQuantityType, PackageQuantityType, PackagesQuantityType, PackQuantityType, QuantityType, ReceivedQuantityType, RejectedQuantityType, ShortQuantityType, TotalGoodsItemQuantityType, TotalPackageQuantityType, TotalPackagesQuantityType, TotalTransportHandlingUnitQuantityType, TransportHandlingUnitQuantityType, UnitQuantityType

public class QuantityType
extends Object

 <?xml version="1.0" encoding="UTF-8"?><ccts:UniqueID xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns:clm54217="urn:un:unece:uncefact:codelist:specification:54217:2001" xmlns:clm5639="urn:un:unece:uncefact:codelist:specification:5639:1988" xmlns:clm66411="urn:un:unece:uncefact:codelist:specification:66411:2001" xmlns:clmIANAMIMEMediaType="urn:un:unece:uncefact:codelist:specification:IANAMIMEMediaType:2003" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">UDT0000018</ccts:UniqueID>
 
 <?xml version="1.0" encoding="UTF-8"?><ccts:CategoryCode xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns:clm54217="urn:un:unece:uncefact:codelist:specification:54217:2001" xmlns:clm5639="urn:un:unece:uncefact:codelist:specification:5639:1988" xmlns:clm66411="urn:un:unece:uncefact:codelist:specification:66411:2001" xmlns:clmIANAMIMEMediaType="urn:un:unece:uncefact:codelist:specification:IANAMIMEMediaType:2003" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">UDT</ccts:CategoryCode>
 
 <?xml version="1.0" encoding="UTF-8"?><ccts:DictionaryEntryName xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns:clm54217="urn:un:unece:uncefact:codelist:specification:54217:2001" xmlns:clm5639="urn:un:unece:uncefact:codelist:specification:5639:1988" xmlns:clm66411="urn:un:unece:uncefact:codelist:specification:66411:2001" xmlns:clmIANAMIMEMediaType="urn:un:unece:uncefact:codelist:specification:IANAMIMEMediaType:2003" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">Quantity. Type</ccts:DictionaryEntryName>
 
 <?xml version="1.0" encoding="UTF-8"?><ccts:VersionID xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns:clm54217="urn:un:unece:uncefact:codelist:specification:54217:2001" xmlns:clm5639="urn:un:unece:uncefact:codelist:specification:5639:1988" xmlns:clm66411="urn:un:unece:uncefact:codelist:specification:66411:2001" xmlns:clmIANAMIMEMediaType="urn:un:unece:uncefact:codelist:specification:IANAMIMEMediaType:2003" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">1.0</ccts:VersionID>
 
 <?xml version="1.0" encoding="UTF-8"?><ccts:Definition xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns:clm54217="urn:un:unece:uncefact:codelist:specification:54217:2001" xmlns:clm5639="urn:un:unece:uncefact:codelist:specification:5639:1988" xmlns:clm66411="urn:un:unece:uncefact:codelist:specification:66411:2001" xmlns:clmIANAMIMEMediaType="urn:un:unece:uncefact:codelist:specification:IANAMIMEMediaType:2003" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">A counted number of non-monetary units possibly including fractions.</ccts:Definition>
 
 <?xml version="1.0" encoding="UTF-8"?><ccts:RepresentationTermName xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns:clm54217="urn:un:unece:uncefact:codelist:specification:54217:2001" xmlns:clm5639="urn:un:unece:uncefact:codelist:specification:5639:1988" xmlns:clm66411="urn:un:unece:uncefact:codelist:specification:66411:2001" xmlns:clmIANAMIMEMediaType="urn:un:unece:uncefact:codelist:specification:IANAMIMEMediaType:2003" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">Quantity</ccts:RepresentationTermName>
 
 <?xml version="1.0" encoding="UTF-8"?><ccts:PrimitiveType xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns:clm54217="urn:un:unece:uncefact:codelist:specification:54217:2001" xmlns:clm5639="urn:un:unece:uncefact:codelist:specification:5639:1988" xmlns:clm66411="urn:un:unece:uncefact:codelist:specification:66411:2001" xmlns:clmIANAMIMEMediaType="urn:un:unece:uncefact:codelist:specification:IANAMIMEMediaType:2003" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">decimal</ccts:PrimitiveType>
 
 <?xml version="1.0" encoding="UTF-8"?><xsd:BuiltinType xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns:clm54217="urn:un:unece:uncefact:codelist:specification:54217:2001" xmlns:clm5639="urn:un:unece:uncefact:codelist:specification:5639:1988" xmlns:clm66411="urn:un:unece:uncefact:codelist:specification:66411:2001" xmlns:clmIANAMIMEMediaType="urn:un:unece:uncefact:codelist:specification:IANAMIMEMediaType:2003" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2">decimal</xsd:BuiltinType>
 

Java class for QuantityType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="QuantityType">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>decimal">
       <attribute name="unitCode" type="{urn:un:unece:uncefact:codelist:specification:66411:2001}UnitCodeContentType" />
     </extension>
   </simpleContent>
 </complexType>
 


Field Summary
protected  String unitCode
           
protected  BigDecimal value
           
 
Constructor Summary
QuantityType()
           
 
Method Summary
 String getUnitCode()
          Gets the value of the unitCode property.
 BigDecimal getValue()
          Gets the value of the value property.
 void setUnitCode(String value)
          Sets the value of the unitCode property.
 void setValue(BigDecimal value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected BigDecimal value

unitCode

protected String unitCode
Constructor Detail

QuantityType

public QuantityType()
Method Detail

getValue

public BigDecimal getValue()
Gets the value of the value property.

Returns:
possible object is BigDecimal

setValue

public void setValue(BigDecimal value)
Sets the value of the value property.

Parameters:
value - allowed object is BigDecimal

getUnitCode

public String getUnitCode()
Gets the value of the unitCode property.

Returns:
possible object is String

setUnitCode

public void setUnitCode(String value)
Sets the value of the unitCode property.

Parameters:
value - allowed object is String


Copyright © 2010-2011 OpenVPMS. All Rights Reserved..