Package gov.nasa.arc.pds.xml.generated
Class ObjectLength
java.lang.Object
gov.nasa.arc.pds.xml.generated.ObjectLength
public class ObjectLength extends Object
The object_length attribute provides the length
of the digital object in bytes.
Java class for object_length complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="object_length">
<simpleContent>
<extension base="<http://pds.nasa.gov/pds4/pds/v1>object_length_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 ObjectLength() -
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
-
ObjectLength
public ObjectLength()
-
-
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
-