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 Summary
Fields 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 Summary
Constructors Constructor Description DataObjectImpl1()Constructor for the DataObject - creates blank Physical and Digital objects. - 
Method Summary
Modifier 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
- 
serialVersionUID
private static final long serialVersionUIDSerialVersionUID to be used when object is serialized.- See Also:
 - Constant Field Values
 
 - 
m_DigitalObject
DigitalObject m_DigitalObjectThe internal value for the DigitalObject for the DataObject. - 
m_PhysicalObject
PhysicalObject m_PhysicalObjectThe internal value for the PhysicalObject for the DataObject. - 
m_Identifier
Identifier m_IdentifierThe internal value for the Identifier for the DataObject. 
 - 
 - 
Constructor Details
- 
DataObjectImpl1
public DataObjectImpl1()Constructor for the DataObject - creates blank Physical and Digital objects. 
 - 
 - 
Method Details
- 
getDigitalObject
Get the DigitalObject (if any) which makes up the DataObject.- Specified by:
 getDigitalObjectin interfaceDataObject- Returns:
 - The DigitalObject or null
 
 - 
setDigitalObject
Set the DigitalObject of the DataObject.- Specified by:
 setDigitalObjectin interfaceDataObject- Parameters:
 digobj- The DigitalObject of the DataObject;
 - 
getPhysicalObject
Get the PhysicallObject (if any) which makes up the DataObject.- Specified by:
 getPhysicalObjectin interfaceDataObject- Returns:
 - The PhysicalObject or null
 
 - 
setPhysicalObject
Set the PhysicallObject of the DataObject.- Specified by:
 setPhysicalObjectin interfaceDataObject- Parameters:
 physobj- The PhysicalObject of the DataObject;
 - 
getIdentifier
Description copied from interface:DataObjectGet the Identifier for the DataObject- Specified by:
 getIdentifierin interfaceDataObject- Returns:
 - Identifier for the DataObject
 
 - 
setIdentifier
Set the Identifier for the DataObject- Specified by:
 setIdentifierin interfaceDataObject- Parameters:
 id- The identifier for the DataObject
 
 -