public class Temperature extends Object
Java class for temperature complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="temperature">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="units" type="{http://www.nps.edu/AUVW}temperatureUnits"/>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected TemperatureUnits |
units |
protected BigDecimal |
value |
| Constructor and Description |
|---|
Temperature() |
| Modifier and Type | Method and Description |
|---|---|
TemperatureUnits |
getUnits()
Gets the value of the units property.
|
BigDecimal |
getValue()
Gets the value of the value property.
|
void |
setUnits(TemperatureUnits value)
Sets the value of the units property.
|
void |
setValue(BigDecimal value)
Sets the value of the value property.
|
protected TemperatureUnits units
protected BigDecimal value
public TemperatureUnits getUnits()
TemperatureUnitspublic void setUnits(TemperatureUnits value)
value - allowed object is
TemperatureUnitspublic BigDecimal getValue()
BigDecimalpublic void setValue(BigDecimal value)
value - allowed object is
BigDecimal