xml.msmini
Interface Temperature
- public interface Temperature
Java content class for temperature complex type.
The following schema fragment specifies the expected content contained within this java content object.
<complexType name="temperature">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>decimal">
<attribute name="unit" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</simpleContent>
</complexType>
Method Summary |
java.lang.String |
getUnit()
|
java.math.BigDecimal |
getValue()
|
void |
setUnit(java.lang.String value)
|
void |
setValue(java.math.BigDecimal value)
|
getValue
public java.math.BigDecimal getValue()
setValue
public void setValue(java.math.BigDecimal value)
getUnit
public java.lang.String getUnit()
setUnit
public void setUnit(java.lang.String value)