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