Package gov.nasa.arc.pds.xml.generated
Class Offset
- java.lang.Object
-
- gov.nasa.arc.pds.xml.generated.Offset
-
public class Offset extends java.lang.ObjectThe 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 java.math.BigIntegervalue
-
Constructor Summary
Constructors Constructor Description Offset()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnitsOfStoragegetUnit()Gets the value of the unit property.java.math.BigIntegergetValue()Gets the value of the value property.voidsetUnit(UnitsOfStorage value)Sets the value of the unit property.voidsetValue(java.math.BigInteger value)Sets the value of the value property.
-
-
-
Field Detail
-
value
protected java.math.BigInteger value
-
unit
protected UnitsOfStorage unit
-
-
Method Detail
-
getValue
public java.math.BigInteger getValue()
Gets the value of the value property.- Returns:
- possible object is
BigInteger
-
setValue
public void setValue(java.math.BigInteger value)
Sets the value of the value property.- Parameters:
value- allowed object isBigInteger
-
getUnit
public UnitsOfStorage getUnit()
Gets the value of the unit property.- Returns:
- possible object is
UnitsOfStorage
-
setUnit
public void setUnit(UnitsOfStorage value)
Sets the value of the unit property.- Parameters:
value- allowed object isUnitsOfStorage
-
-