Class DataObjectImpl1
java.lang.Object
info.oais.implementation.infomodel.DataObjectImpl1
- All Implemented Interfaces:
- DataObject,- Serializable
- Direct Known Subclasses:
- DigitalObjectImpl1,- InformationPackageImpl1,- PhysicalObjectImpl1
public class DataObjectImpl1 extends Object implements DataObject, Serializable
An implementation of a DataObject - which could be a PhysicalObject or a DigitalObject.
- Since:
- 11-Sep-2021 21:34:49
- Version:
- 1.0
- Author:
- David
- See Also:
- Serialized Form
- 
Field SummaryFields Modifier and Type Field Description (package private) DigitalObjectm_DigitalObjectThe internal value for the DigitalObject for the DataObject.(package private) Identifierm_IdentifierThe internal value for the Identifier for the DataObject.(package private) PhysicalObjectm_PhysicalObjectThe internal value for the PhysicalObject for the DataObject.private static longserialVersionUIDSerialVersionUID to be used when object is serialized.
- 
Constructor SummaryConstructors Constructor Description DataObjectImpl1()Constructor for the DataObject - creates blank Physical and Digital objects.
- 
Method SummaryModifier and Type Method Description DigitalObjectgetDigitalObject()Get the DigitalObject (if any) which makes up the DataObject.IdentifiergetIdentifier()Get the Identifier for the DataObjectPhysicalObjectgetPhysicalObject()Get the PhysicallObject (if any) which makes up the DataObject.voidsetDigitalObject(DigitalObject digobj)Set the DigitalObject of the DataObject.voidsetIdentifier(Identifier id)Set the Identifier for the DataObjectvoidsetPhysicalObject(PhysicalObject physobj)Set the PhysicallObject of the DataObject.
- 
Field Details- 
serialVersionUIDprivate static final long serialVersionUIDSerialVersionUID to be used when object is serialized.- See Also:
- Constant Field Values
 
- 
m_DigitalObjectDigitalObject m_DigitalObjectThe internal value for the DigitalObject for the DataObject.
- 
m_PhysicalObjectPhysicalObject m_PhysicalObjectThe internal value for the PhysicalObject for the DataObject.
- 
m_IdentifierIdentifier m_IdentifierThe internal value for the Identifier for the DataObject.
 
- 
- 
Constructor Details- 
DataObjectImpl1public DataObjectImpl1()Constructor for the DataObject - creates blank Physical and Digital objects.
 
- 
- 
Method Details- 
getDigitalObjectGet the DigitalObject (if any) which makes up the DataObject.- Specified by:
- getDigitalObjectin interface- DataObject
- Returns:
- The DigitalObject or null
 
- 
setDigitalObjectSet the DigitalObject of the DataObject.- Specified by:
- setDigitalObjectin interface- DataObject
- Parameters:
- digobj- The DigitalObject of the DataObject;
 
- 
getPhysicalObjectGet the PhysicallObject (if any) which makes up the DataObject.- Specified by:
- getPhysicalObjectin interface- DataObject
- Returns:
- The PhysicalObject or null
 
- 
setPhysicalObjectSet the PhysicallObject of the DataObject.- Specified by:
- setPhysicalObjectin interface- DataObject
- Parameters:
- physobj- The PhysicalObject of the DataObject;
 
- 
getIdentifierDescription copied from interface:DataObjectGet the Identifier for the DataObject- Specified by:
- getIdentifierin interface- DataObject
- Returns:
- Identifier for the DataObject
 
- 
setIdentifierSet the Identifier for the DataObject- Specified by:
- setIdentifierin interface- DataObject
- Parameters:
- id- The identifier for the DataObject
 
 
-