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 SummaryFields 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 SummaryConstructors 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 SummaryModifier 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- 
serialVersionUIDprivate static final long serialVersionUIDThe serialverionUID to be used when objects are serialized.- See Also:
- Constant Field Values
 
- 
m_IdentifierIdentifier m_IdentifierThe internal value for the Identifier of the InfoObject
- 
m_DataObjectDataObject m_DataObjectThe internal value for the DataObject of the InfoObject
- 
m_RepresentationInformationRepresentationInformation m_RepresentationInformationThe internal value for the RepresentationInformation of the InfoObjet
- 
m_DataObjectIdDataObjectId m_DataObjectIdThe internal value for the pointer to the DataObject of the InfoObject
- 
m_RepInfoIdRepInfoId m_RepInfoIdThe internal value for the pointer to the DataObject of the InfoObject
 
- 
- 
Constructor Details- 
InformationObjectImpl1public InformationObjectImpl1()Constructor without parameters for InformationModelImpl1.
- 
InformationObjectImpl1Constructor with parameters for InformationModelImpl1.- Parameters:
- dataObj- The DataObject for the InformationObject.
- repInfo- The RepresentationInformation for the InformationObject.
 
- 
InformationObjectImpl1Constructor 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- 
getDataObjectGet the DataObject of the InformationObject.- Specified by:
- getDataObjectin interface- InformationObject
- Returns:
- The DataObject of the InformationObject.
 
- 
getRepresentationInformationGet the RepresentationInformation of the informationObject.- Specified by:
- getRepresentationInformationin interface- InformationObject
- Returns:
- The RepInfo of the InformationObject.
 
- 
setDataObjectSet the DataObject of the InformationObject.- Specified by:
- setDataObjectin interface- InformationObject
- Parameters:
- dataObj- The DataObject for the InfoObject.
 
- 
setRepresentationInformationSet the RepresentationInformation of the InformationObject.- Specified by:
- setRepresentationInformationin interface- InformationObject
- Parameters:
- repInfo- The RepInfo for the InfoObject.
 
- 
getDataObjectIdMethod to get the DataObjectId.- Returns:
- The DataObject of the InformationObject.
 
- 
getRepInfoIdMethod to get the RepInfoId.- Returns:
- The DataObjectId of the RepInfoId.
 
- 
setDataObjectSet the DataObjectId.- Parameters:
- dataObjId- The DataObjectId
 
- 
setRepInfoIdSet the RepInfoId.- Parameters:
- repInfoId- The RepInfoId.
 
- 
getIdentifierMethod to get the InfoObjectId.- Specified by:
- getIdentifierin interface- InformationObject
- Returns:
- The Identifier of the InformationObject.
 
- 
setIdentifierMethod to set the InfoObjectId.- Specified by:
- setIdentifierin interface- InformationObject
- Parameters:
- id- The Identifier of the Info.
 
- 
finalize
 
-