Class Fedora.DigitalObject.DataStreamShadow
All Packages Class Hierarchy This Package Previous Next Index
Class Fedora.DigitalObject.DataStreamShadow
Object
|
+----ObjectImpl
|
+----DynamicImplementation
|
+----_DataStreamSkeleton
|
+----_DataStreamImplBase
|
+----DataStreamImpl
|
+----Fedora.DigitalObject.DataStreamShadow
- public class DataStreamShadow
- extends DataStreamImpl
- implements Serializable
A DataStreamShadow is a lightweight proxy for a DataStream used as the
means of storing DataStream references inside a DigitalObject.
The DataStreamShadow contains the DataStreamID and a method for loading the
actual DataStream from persistent storage. It does not contain the DataStream
administrative attributes nor the array of bytes that constitues tha actual
"content" of the DataStream.
- See Also:
- DataStreamImpl, DigitalObjectImpl
-
Fedora.DigitalObject.DataStreamShadow(DataStreamImpl)
- Constructor for DataStreamShadow.
-
LoadDataStream()
- Loads the full DataStream (represented by this shadow object) from persistent storage.
DataStreamShadow
protected DataStreamShadow(DataStreamImpl dataStream) throws RepositorySystemError
- Constructor for DataStreamShadow. Creates a new DataStreamShadow object
to be stored inside a DigitalObject in place of the full DataStream.
- Parameters:
- dataStream - the DataStream object the the shadow object will represent
LoadDataStream
protected Fedora.DigitalObject.DataStreamImpl LoadDataStream() throws RepositorySystemError
- Loads the full DataStream (represented by this shadow object) from persistent storage.
- Returns:
- an instance of the DataStream represented by this DataStreamShadow.
All Packages Class Hierarchy This Package Previous Next Index