Class DigitalObjectImpl1
java.lang.Object
info.oais.implementation.infomodel.DataObjectImpl1
info.oais.implementation.infomodel.DigitalObjectImpl1
- All Implemented Interfaces:
DataObject
,DigitalObject
,Serializable
public class DigitalObjectImpl1 extends DataObjectImpl1 implements DigitalObject, Serializable
An implementation of a DigitalObject as a Set of InputStreams
- Since:
- 12-Sep-2021 14:01:03
- Version:
- 1.0
- Author:
- David
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description (package private) Set<InputStream>
bytes
The internal value for the Set of Bit Sequences which make up the DigitalObject..private static long
serialVersionUID
For object serializationFields inherited from class info.oais.implementation.infomodel.DataObjectImpl1
m_DigitalObject, m_Identifier, m_PhysicalObject
-
Constructor Summary
Constructors Constructor Description DigitalObjectImpl1()
Constructor for Digital object - creates empty Set as a LinkedHashSet. -
Method Summary
Modifier and Type Method Description Set<InputStream>
getDigital()
void
setDigital(Set<InputStream> sd)
Set the set of byte sequences.Methods inherited from class info.oais.implementation.infomodel.DataObjectImpl1
getDigitalObject, getIdentifier, getPhysicalObject, setDigitalObject, setIdentifier, setPhysicalObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface info.oais.interfaces.infomodel.DataObject
getDigitalObject, getIdentifier, getPhysicalObject, setDigitalObject, setIdentifier, setPhysicalObject
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor object serialization- See Also:
- Constant Field Values
-
bytes
Set<InputStream> bytesThe internal value for the Set of Bit Sequences which make up the DigitalObject..
-
-
Constructor Details
-
DigitalObjectImpl1
public DigitalObjectImpl1()Constructor for Digital object - creates empty Set as a LinkedHashSet.
-
-
Method Details
-
getDigital
- Returns:
- The set of byte sequences which make up the DigitalObject.
-
setDigital
Set the set of byte sequences.- Parameters:
sd
- The Set of byte sequences which make up the DigitalObject.
-