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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
unitCode |
protected String |
unitCodeListAgencyID |
protected String |
unitCodeListAgencyName |
protected String |
unitCodeListID |
protected BigDecimal |
value |
| Constructor and Description |
|---|
QuantityType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getUnitCode()
Gets the value of the unitCode property.
|
String |
getUnitCodeListAgencyID()
Gets the value of the unitCodeListAgencyID property.
|
String |
getUnitCodeListAgencyName()
Gets the value of the unitCodeListAgencyName property.
|
String |
getUnitCodeListID()
Gets the value of the unitCodeListID property.
|
BigDecimal |
getValue()
Gets the value of the value property.
|
void |
setUnitCode(String value)
Sets the value of the unitCode property.
|
void |
setUnitCodeListAgencyID(String value)
Sets the value of the unitCodeListAgencyID property.
|
void |
setUnitCodeListAgencyName(String value)
Sets the value of the unitCodeListAgencyName property.
|
void |
setUnitCodeListID(String value)
Sets the value of the unitCodeListID property.
|
void |
setValue(BigDecimal value)
Sets the value of the value property.
|
protected BigDecimal value
protected String unitCode
protected String unitCodeListID
protected String unitCodeListAgencyID
protected String unitCodeListAgencyName
public BigDecimal getValue()
BigDecimalpublic void setValue(BigDecimal value)
value - allowed object is
BigDecimalpublic String getUnitCode()
Stringpublic void setUnitCode(String value)
value - allowed object is
Stringpublic String getUnitCodeListID()
Stringpublic void setUnitCodeListID(String value)
value - allowed object is
Stringpublic String getUnitCodeListAgencyID()
Stringpublic void setUnitCodeListAgencyID(String value)
value - allowed object is
Stringpublic String getUnitCodeListAgencyName()
StringCopyright © 2017 Direktoratet for forvaltning og IKT (Difi). All rights reserved.