Class QuantityType

  • All Implemented Interfaces:
    com.helger.commons.lang.IExplicitlyCloneable, Serializable, Cloneable

    @CodingStyleguideUnaware
    public class QuantityType
    extends Object
    implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
     <?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:p602981_="http://java.sun.com/xml/ns/jaxb" xmlns:p775163_="http://java.sun.com/xml/ns/jaxb/xjc" 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:p602981_="http://java.sun.com/xml/ns/jaxb" xmlns:p775163_="http://java.sun.com/xml/ns/jaxb/xjc" 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:p602981_="http://java.sun.com/xml/ns/jaxb" xmlns:p775163_="http://java.sun.com/xml/ns/jaxb/xjc" 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:p602981_="http://java.sun.com/xml/ns/jaxb" xmlns:p775163_="http://java.sun.com/xml/ns/jaxb/xjc" 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:p602981_="http://java.sun.com/xml/ns/jaxb" xmlns:p775163_="http://java.sun.com/xml/ns/jaxb/xjc" 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:p602981_="http://java.sun.com/xml/ns/jaxb" xmlns:p775163_="http://java.sun.com/xml/ns/jaxb/xjc" 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:p602981_="http://java.sun.com/xml/ns/jaxb" xmlns:p775163_="http://java.sun.com/xml/ns/jaxb/xjc" 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>
     

    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

    See Also:
    Serialized Form
    • Constructor Detail

      • QuantityType

        public QuantityType()
        Default constructor
        Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
      • QuantityType

        public QuantityType​(@Nullable
                            BigDecimal valueParam)
        Constructor for value of type BigDecimal
        Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
        Parameters:
        valueParam - The value to be set. May be null.
    • Method Detail

      • setValue

        public void setValue​(@Nullable
                             BigDecimal value)
        Sets the value of the value property.
        Parameters:
        value - allowed object is BigDecimal
      • getUnitCode

        @Nullable
        public String getUnitCode()
        Gets the value of the unitCode property.
        Returns:
        possible object is String
      • setUnitCode

        public void setUnitCode​(@Nullable
                                String value)
        Sets the value of the unitCode property.
        Parameters:
        value - allowed object is String
      • getUnitCodeListID

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

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

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

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

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

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

        public boolean equals​(Object o)
        Created by ph-jaxb22-plugin -Xph-equalshashcode
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Created by ph-jaxb22-plugin -Xph-equalshashcode
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Created by ph-jaxb22-plugin -Xph-tostring
        Overrides:
        toString in class Object
      • cloneTo

        public void cloneTo​(@Nonnull
                            QuantityType ret)
        This method clones all values from this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2
        Parameters:
        ret - The target object to clone to. May not be null.
      • clone

        @Nonnull
        @ReturnsMutableCopy
        public QuantityType clone()
        Created by ph-jaxb22-plugin -Xph-cloneable2
        Specified by:
        clone in interface com.helger.commons.lang.IExplicitlyCloneable
        Overrides:
        clone in class Object
        Returns:
        The cloned object. Never null.