|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.arc.pds.xml.generated.Offset
public class Offset
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 | |
---|---|
protected UnitsOfStorage |
unit
|
protected int |
value
|
Constructor Summary | |
---|---|
Offset()
|
Method Summary | |
---|---|
UnitsOfStorage |
getUnit()
Gets the value of the unit property. |
int |
getValue()
Gets the value of the value property. |
void |
setUnit(UnitsOfStorage value)
Sets the value of the unit property. |
void |
setValue(int value)
Sets the value of the value property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int value
protected UnitsOfStorage unit
Constructor Detail |
---|
public Offset()
Method Detail |
---|
public int getValue()
public void setValue(int value)
public UnitsOfStorage getUnit()
UnitsOfStorage
public void setUnit(UnitsOfStorage value)
value
- allowed object is
UnitsOfStorage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |