Class QuantityType

  • Direct Known Subclasses:
    QuantityType

    public class QuantityType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><ccts:UniqueID xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns:cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">UNDT000018</ccts:UniqueID>
     
     <?xml version="1.0" encoding="UTF-8"?><ccts:CategoryCode xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns:cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">CCT</ccts:CategoryCode>
     
     <?xml version="1.0" encoding="UTF-8"?><ccts:DictionaryEntryName xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns:cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule: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:cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule: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:cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule: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:cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule: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:cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">decimal</ccts:PrimitiveType>
     

    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="{http://www.w3.org/2001/XMLSchema}normalizedString" />
           <attribute name="unitCodeListID" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
           <attribute name="unitCodeListAgencyID" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
           <attribute name="unitCodeListAgencyName" type="{http://www.w3.org/2001/XMLSchema}string" />
         </extension>
       </simpleContent>
     </complexType>
     
    • Field Detail

      • unitCode

        protected String unitCode
      • unitCodeListID

        protected String unitCodeListID
      • unitCodeListAgencyID

        protected String unitCodeListAgencyID
      • unitCodeListAgencyName

        protected String unitCodeListAgencyName
    • 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
      • getUnitCodeListID

        public String getUnitCodeListID()
        Gets the value of the unitCodeListID property.
        Returns:
        possible object is String
      • setUnitCodeListID

        public void setUnitCodeListID​(String value)
        Sets the value of the unitCodeListID property.
        Parameters:
        value - allowed object is String
      • getUnitCodeListAgencyID

        public String getUnitCodeListAgencyID()
        Gets the value of the unitCodeListAgencyID property.
        Returns:
        possible object is String
      • setUnitCodeListAgencyID

        public void setUnitCodeListAgencyID​(String value)
        Sets the value of the unitCodeListAgencyID property.
        Parameters:
        value - allowed object is String
      • getUnitCodeListAgencyName

        public String getUnitCodeListAgencyName()
        Gets the value of the unitCodeListAgencyName property.
        Returns:
        possible object is String
      • setUnitCodeListAgencyName

        public void setUnitCodeListAgencyName​(String value)
        Sets the value of the unitCodeListAgencyName property.
        Parameters:
        value - allowed object is String