public class DecimalWithUnits extends Object implements Serializable
Java class for DecimalWithUnits complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DecimalWithUnits">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>decimal">
<attribute name="Units" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
units |
protected BigDecimal |
value |
| Constructor and Description |
|---|
DecimalWithUnits() |
| Modifier and Type | Method and Description |
|---|---|
String |
getUnits()
Gets the value of the units property.
|
BigDecimal |
getValue()
Gets the value of the value property.
|
void |
setUnits(String value)
Sets the value of the units property.
|
void |
setValue(BigDecimal value)
Sets the value of the value property.
|
protected BigDecimal value
protected String units
public BigDecimal getValue()
BigDecimalpublic void setValue(BigDecimal value)
value - allowed object is
BigDecimalpublic String getUnits()
StringCopyright © 2013. All Rights Reserved.