public class MeasureType extends Object implements Serializable
<?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">UNDT000013</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">Measure. 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 numeric value determined by measuring an object along with the specified unit of measure.</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">Measure</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 MeasureType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MeasureType">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>decimal">
<attribute name="unitCode" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
<attribute name="unitCodeListVersionID" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
</extension>
</simpleContent>
</complexType>
| Constructor and Description |
|---|
MeasureType()
Default constructor
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
MeasureType(BigDecimal valueParam)
Constructor for value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
String |
getUnitCode()
Gets the value of the unitCode property.
|
String |
getUnitCodeListVersionID()
Gets the value of the unitCodeListVersionID property.
|
BigDecimal |
getValue()
Gets the value of the value property.
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
void |
setUnitCode(String valueParam)
Sets the value of the unitCode property.
|
void |
setUnitCodeListVersionID(String valueParam)
Sets the value of the unitCodeListVersionID property.
|
void |
setValue(BigDecimal valueParam)
Sets the value of the value property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public MeasureType()
public MeasureType(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.@Nullable public BigDecimal getValue()
BigDecimalpublic void setValue(@Nullable BigDecimal valueParam)
value - allowed object is
BigDecimal@Nullable public String getUnitCode()
Stringpublic void setUnitCode(@Nullable String valueParam)
value - allowed object is
String@Nullable public String getUnitCodeListVersionID()
Stringpublic void setUnitCodeListVersionID(@Nullable String valueParam)
value - allowed object is
Stringpublic boolean equals(Object o)
public int hashCode()
Copyright © 2014 Philip Helger. All rights reserved.