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