Class InformationObjectImpl1
java.lang.Object
info.oais.implementation.infomodel.InformationObjectImpl1
- All Implemented Interfaces:
InformationObject
,Serializable
- Direct Known Subclasses:
AccessRightsInformationImpl1
,ActionImpl1
,ActorImpl1
,ContentInformationImpl1
,ContextInformationImpl1
,DescriptiveInformationImpl1
,FixityEncodingImpl1
,FixityInformationImpl1
,FixityTextImpl1
,PackageDescriptionImpl1
,PreservationDescriptionInformationImpl1
,ProvenanceInformationImpl1
,ProvenanceStepImpl1
,ReferenceInformationImp11
,RepresentationInformationImpl1
,TimeStampImpl1
public class InformationObjectImpl1 extends Object implements InformationObject, Serializable
An implementation of an OAIS InformationObject.
A Data Object together with its Representation Information [OAIS]
Information: Any type of knowledge that can be exchanged. In an
exchange, it is represented by data.
NOTE - An example of Information is a string of bits (the data) accompanied by a description of how to interpret the string of bits as numbers representing temperature observations measured in degrees Celsius (the Representation Information). [OAIS]
NOTE - An example of Information is a string of bits (the data) accompanied by a description of how to interpret the string of bits as numbers representing temperature observations measured in degrees Celsius (the Representation Information). [OAIS]
- Since:
- 11-Sep-2021 22:28:15
- Version:
- 1.0
- Author:
- David
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description (package private) DataObject
m_DataObject
The internal value for the DataObject of the InfoObject(package private) DataObjectId
m_DataObjectId
The internal value for the pointer to the DataObject of the InfoObject(package private) Identifier
m_Identifier
The internal value for the Identifier of the InfoObject(package private) RepInfoId
m_RepInfoId
The internal value for the pointer to the DataObject of the InfoObject(package private) RepresentationInformation
m_RepresentationInformation
The internal value for the RepresentationInformation of the InfoObjetprivate static long
serialVersionUID
The serialverionUID to be used when objects are serialized. -
Constructor Summary
Constructors Constructor Description InformationObjectImpl1()
Constructor without parameters for InformationModelImpl1.InformationObjectImpl1(DataObject dataObj, RepresentationInformation repInfo)
Constructor with parameters for InformationModelImpl1.InformationObjectImpl1(DataObjectId dataObjId, RepInfoId repInfoId)
Constructor with parameters for InformationModelImpl1 with Identifiers. -
Method Summary
Modifier and Type Method Description void
finalize()
DataObject
getDataObject()
Get the DataObject of the InformationObject.DataObjectId
getDataObjectId()
Method to get the DataObjectId.Identifier
getIdentifier()
Method to get the InfoObjectId.RepInfoId
getRepInfoId()
Method to get the RepInfoId.RepresentationInformation
getRepresentationInformation()
Get the RepresentationInformation of the informationObject.void
setDataObject(DataObject dataObj)
Set the DataObject of the InformationObject.void
setDataObject(DataObjectId dataObjId)
Set the DataObjectId.void
setIdentifier(Identifier id)
Method to set the InfoObjectId.void
setRepInfoId(RepInfoId repInfoId)
Set the RepInfoId.void
setRepresentationInformation(RepresentationInformation repInfo)
Set the RepresentationInformation of the InformationObject.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDThe serialverionUID to be used when objects are serialized.- See Also:
- Constant Field Values
-
m_Identifier
Identifier m_IdentifierThe internal value for the Identifier of the InfoObject -
m_DataObject
DataObject m_DataObjectThe internal value for the DataObject of the InfoObject -
m_RepresentationInformation
RepresentationInformation m_RepresentationInformationThe internal value for the RepresentationInformation of the InfoObjet -
m_DataObjectId
DataObjectId m_DataObjectIdThe internal value for the pointer to the DataObject of the InfoObject -
m_RepInfoId
RepInfoId m_RepInfoIdThe internal value for the pointer to the DataObject of the InfoObject
-
-
Constructor Details
-
InformationObjectImpl1
public InformationObjectImpl1()Constructor without parameters for InformationModelImpl1. -
InformationObjectImpl1
Constructor with parameters for InformationModelImpl1.- Parameters:
dataObj
- The DataObject for the InformationObject.repInfo
- The RepresentationInformation for the InformationObject.
-
InformationObjectImpl1
Constructor with parameters for InformationModelImpl1 with Identifiers.- Parameters:
dataObjId
- The Identifier for the DataObject for the InformationObject.repInfoId
- The Identifier for the RepresentationInformation for the InformationObject.
-
-
Method Details
-
getDataObject
Get the DataObject of the InformationObject.- Specified by:
getDataObject
in interfaceInformationObject
- Returns:
- The DataObject of the InformationObject.
-
getRepresentationInformation
Get the RepresentationInformation of the informationObject.- Specified by:
getRepresentationInformation
in interfaceInformationObject
- Returns:
- The RepInfo of the InformationObject.
-
setDataObject
Set the DataObject of the InformationObject.- Specified by:
setDataObject
in interfaceInformationObject
- Parameters:
dataObj
- The DataObject for the InfoObject.
-
setRepresentationInformation
Set the RepresentationInformation of the InformationObject.- Specified by:
setRepresentationInformation
in interfaceInformationObject
- Parameters:
repInfo
- The RepInfo for the InfoObject.
-
getDataObjectId
Method to get the DataObjectId.- Returns:
- The DataObject of the InformationObject.
-
getRepInfoId
Method to get the RepInfoId.- Returns:
- The DataObjectId of the RepInfoId.
-
setDataObject
Set the DataObjectId.- Parameters:
dataObjId
- The DataObjectId
-
setRepInfoId
Set the RepInfoId.- Parameters:
repInfoId
- The RepInfoId.
-
getIdentifier
Method to get the InfoObjectId.- Specified by:
getIdentifier
in interfaceInformationObject
- Returns:
- The Identifier of the InformationObject.
-
setIdentifier
Method to set the InfoObjectId.- Specified by:
setIdentifier
in interfaceInformationObject
- Parameters:
id
- The Identifier of the Info.
-
finalize
-