Package gov.nasa.arc.pds.xml.generated
Class ObjectLength
- java.lang.Object
-
- gov.nasa.arc.pds.xml.generated.ObjectLength
-
public class ObjectLength extends java.lang.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 UnitsOfStorage
unit
protected java.math.BigInteger
value
-
Constructor Summary
Constructors Constructor Description ObjectLength()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnitsOfStorage
getUnit()
Gets the value of the unit property.java.math.BigInteger
getValue()
Gets the value of the value property.void
setUnit(UnitsOfStorage value)
Sets the value of the unit property.void
setValue(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
-
-