gov.nasa.arc.pds.xml.generated
Class ObjectLength

java.lang.Object
  extended by 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
protected  UnitsOfStorage unit
           
protected  int value
           
 
Constructor Summary
ObjectLength()
           
 
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

value

protected int value

unit

protected UnitsOfStorage unit
Constructor Detail

ObjectLength

public ObjectLength()
Method Detail

getValue

public int getValue()
Gets the value of the value property.


setValue

public void setValue(int value)
Sets the value of the value property.


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 is UnitsOfStorage


Copyright © 2014. All Rights Reserved.