Package gov.nasa.arc.pds.xml.generated
Class Altitude
java.lang.Object
gov.nasa.arc.pds.xml.generated.Altitude
public class Altitude extends Object
The altitude attribute provides the height of
anything above a given reference plane.
Java class for altitude complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="altitude">
<simpleContent>
<extension base="<http://pds.nasa.gov/pds4/pds/v1>altitude_WO_Units">
<attribute name="unit" use="required" type="{http://pds.nasa.gov/pds4/pds/v1}Units_of_Length" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected UnitsOfLengthunitprotected doublevalue -
Constructor Summary
Constructors Constructor Description Altitude() -
Method Summary
Modifier and Type Method Description UnitsOfLengthgetUnit()Gets the value of the unit property.doublegetValue()Gets the value of the value property.voidsetUnit(UnitsOfLength value)Sets the value of the unit property.voidsetValue(double value)Sets the value of the value property.
-
Field Details
-
value
protected double value -
unit
-
-
Constructor Details
-
Altitude
public Altitude()
-
-
Method Details
-
getValue
public double getValue()Gets the value of the value property. -
setValue
public void setValue(double value)Sets the value of the value property. -
getUnit
Gets the value of the unit property.- Returns:
- possible object is
UnitsOfLength
-
setUnit
Sets the value of the unit property.- Parameters:
value- allowed object isUnitsOfLength
-