Package gov.nasa.arc.pds.xml.generated
Class Offset
java.lang.Object
gov.nasa.arc.pds.xml.generated.Offset
public class Offset extends Object
The offset attribute provides the displacement
of the object starting position from the beginning of the parent
structure (file, record, etc.). If there is no displacement,
offset=0.
Java class for offset complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="offset">
<simpleContent>
<extension base="<http://pds.nasa.gov/pds4/pds/v1>offset_WO_Units">
<attribute name="unit" use="required" type="{http://pds.nasa.gov/pds4/pds/v1}Units_of_Storage" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected UnitsOfStorageunitprotected BigIntegervalue -
Constructor Summary
Constructors Constructor Description Offset() -
Method Summary
Modifier and Type Method Description UnitsOfStoragegetUnit()Gets the value of the unit property.BigIntegergetValue()Gets the value of the value property.voidsetUnit(UnitsOfStorage value)Sets the value of the unit property.voidsetValue(BigInteger value)Sets the value of the value property.
-
Field Details
-
value
-
unit
-
-
Constructor Details
-
Offset
public Offset()
-
-
Method Details
-
getValue
Gets the value of the value property.- Returns:
- possible object is
BigInteger
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isBigInteger
-
getUnit
Gets the value of the unit property.- Returns:
- possible object is
UnitsOfStorage
-
setUnit
Sets the value of the unit property.- Parameters:
value- allowed object isUnitsOfStorage
-