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) DataObjectm_DataObjectThe internal value for the DataObject of the InfoObject(package private) DataObjectIdm_DataObjectIdThe internal value for the pointer to the DataObject of the InfoObject(package private) Identifierm_IdentifierThe internal value for the Identifier of the InfoObject(package private) RepInfoIdm_RepInfoIdThe internal value for the pointer to the DataObject of the InfoObject(package private) RepresentationInformationm_RepresentationInformationThe internal value for the RepresentationInformation of the InfoObjetprivate static longserialVersionUIDThe 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 voidfinalize()DataObjectgetDataObject()Get the DataObject of the InformationObject.DataObjectIdgetDataObjectId()Method to get the DataObjectId.IdentifiergetIdentifier()Method to get the InfoObjectId.RepInfoIdgetRepInfoId()Method to get the RepInfoId.RepresentationInformationgetRepresentationInformation()Get the RepresentationInformation of the informationObject.voidsetDataObject(DataObject dataObj)Set the DataObject of the InformationObject.voidsetDataObject(DataObjectId dataObjId)Set the DataObjectId.voidsetIdentifier(Identifier id)Method to set the InfoObjectId.voidsetRepInfoId(RepInfoId repInfoId)Set the RepInfoId.voidsetRepresentationInformation(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:
getDataObjectin interfaceInformationObject- Returns:
- The DataObject of the InformationObject.
-
getRepresentationInformation
Get the RepresentationInformation of the informationObject.- Specified by:
getRepresentationInformationin interfaceInformationObject- Returns:
- The RepInfo of the InformationObject.
-
setDataObject
Set the DataObject of the InformationObject.- Specified by:
setDataObjectin interfaceInformationObject- Parameters:
dataObj- The DataObject for the InfoObject.
-
setRepresentationInformation
Set the RepresentationInformation of the InformationObject.- Specified by:
setRepresentationInformationin 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:
getIdentifierin interfaceInformationObject- Returns:
- The Identifier of the InformationObject.
-
setIdentifier
Method to set the InfoObjectId.- Specified by:
setIdentifierin interfaceInformationObject- Parameters:
id- The Identifier of the Info.
-
finalize
-