public class MeasureType extends Object
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="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}MeasureTypeUnitCodeContentType" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
unitCode |
protected BigDecimal |
value |
| Constructor and Description |
|---|
MeasureType() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
MeasureType |
withUnitCode(String value) |
MeasureType |
withValue(BigDecimal value) |
protected BigDecimal value
protected String unitCode
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 MeasureType withValue(BigDecimal value)
public MeasureType withUnitCode(String value)
Copyright © 2014–2019 Philip Helger. All rights reserved.