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]
Since:
11-Sep-2021 22:28:15
Version:
1.0
Author:
David
See Also:
Serialized Form
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      The serialverionUID to be used when objects are serialized.
      See Also:
      Constant Field Values
    • m_Identifier

      Identifier m_Identifier
      The internal value for the Identifier of the InfoObject
    • m_DataObject

      DataObject m_DataObject
      The internal value for the DataObject of the InfoObject
    • m_RepresentationInformation

      RepresentationInformation m_RepresentationInformation
      The internal value for the RepresentationInformation of the InfoObjet
    • m_DataObjectId

      DataObjectId m_DataObjectId
      The internal value for the pointer to the DataObject of the InfoObject
    • m_RepInfoId

      RepInfoId m_RepInfoId
      The internal value for the pointer to the DataObject of the InfoObject
  • Constructor Details

    • InformationObjectImpl1

      public InformationObjectImpl1()
      Constructor without parameters for InformationModelImpl1.
    • InformationObjectImpl1

      public InformationObjectImpl1​(DataObject dataObj, RepresentationInformation repInfo)
      Constructor with parameters for InformationModelImpl1.
      Parameters:
      dataObj - The DataObject for the InformationObject.
      repInfo - The RepresentationInformation for the InformationObject.
    • InformationObjectImpl1

      public InformationObjectImpl1​(DataObjectId dataObjId, RepInfoId repInfoId)
      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

      public DataObject getDataObject()
      Get the DataObject of the InformationObject.
      Specified by:
      getDataObject in interface InformationObject
      Returns:
      The DataObject of the InformationObject.
    • getRepresentationInformation

      public RepresentationInformation getRepresentationInformation()
      Get the RepresentationInformation of the informationObject.
      Specified by:
      getRepresentationInformation in interface InformationObject
      Returns:
      The RepInfo of the InformationObject.
    • setDataObject

      public void setDataObject​(DataObject dataObj)
      Set the DataObject of the InformationObject.
      Specified by:
      setDataObject in interface InformationObject
      Parameters:
      dataObj - The DataObject for the InfoObject.
    • setRepresentationInformation

      public void setRepresentationInformation​(RepresentationInformation repInfo)
      Set the RepresentationInformation of the InformationObject.
      Specified by:
      setRepresentationInformation in interface InformationObject
      Parameters:
      repInfo - The RepInfo for the InfoObject.
    • getDataObjectId

      public DataObjectId getDataObjectId()
      Method to get the DataObjectId.
      Returns:
      The DataObject of the InformationObject.
    • getRepInfoId

      public RepInfoId getRepInfoId()
      Method to get the RepInfoId.
      Returns:
      The DataObjectId of the RepInfoId.
    • setDataObject

      public void setDataObject​(DataObjectId dataObjId)
      Set the DataObjectId.
      Parameters:
      dataObjId - The DataObjectId
    • setRepInfoId

      public void setRepInfoId​(RepInfoId repInfoId)
      Set the RepInfoId.
      Parameters:
      repInfoId - The RepInfoId.
    • getIdentifier

      public Identifier getIdentifier()
      Method to get the InfoObjectId.
      Specified by:
      getIdentifier in interface InformationObject
      Returns:
      The Identifier of the InformationObject.
    • setIdentifier

      public void setIdentifier​(Identifier id)
      Method to set the InfoObjectId.
      Specified by:
      setIdentifier in interface InformationObject
      Parameters:
      id - The Identifier of the Info.
    • finalize

      public void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable