Class ContextInformationImpl1
java.lang.Object
info.oais.implementation.infomodel.InformationObjectImpl1
info.oais.implementation.infomodel.ContextInformationImpl1
- All Implemented Interfaces:
ContextInformation
,InformationObject
,Serializable
public class ContextInformationImpl1 extends InformationObjectImpl1 implements ContextInformation, Serializable
An implementation of ContextInformation as a String.
- Since:
- 12-Sep-2021 13:58:56
- Version:
- 1.0
- Author:
- David
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description (package private) String
m_ContextInformation
The internal value for the ContextInformation.private static long
serialVersionUID
For object serializationFields inherited from class info.oais.implementation.infomodel.InformationObjectImpl1
m_DataObject, m_DataObjectId, m_Identifier, m_RepInfoId, m_RepresentationInformation
-
Constructor Summary
Constructors Constructor Description ContextInformationImpl1()
Constructor for the ContextInfo. -
Method Summary
Modifier and Type Method Description void
finalize()
(package private) String
getContextInformation()
Method to get the ContextInfo as String.String
getString()
Get the String for the ContextInfo.(package private) void
setContextInformation(String context)
Method to set the ContextInfo as a String.void
setString(String desc)
Set the STring for the ContextInfo.Methods inherited from class info.oais.implementation.infomodel.InformationObjectImpl1
getDataObject, getDataObjectId, getIdentifier, getRepInfoId, getRepresentationInformation, setDataObject, setDataObject, setIdentifier, setRepInfoId, setRepresentationInformation
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface info.oais.interfaces.infomodel.InformationObject
getDataObject, getIdentifier, getRepresentationInformation, setDataObject, setIdentifier, setRepresentationInformation
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor object serialization- See Also:
- Constant Field Values
-
m_ContextInformation
String m_ContextInformationThe internal value for the ContextInformation.
-
-
Constructor Details
-
ContextInformationImpl1
public ContextInformationImpl1()Constructor for the ContextInfo.
-
-
Method Details
-
getContextInformation
String getContextInformation()Method to get the ContextInfo as String.- Returns:
- The ContextInfo as a String.
-
setContextInformation
Method to set the ContextInfo as a String.- Parameters:
context
- The ContextInfo as a String.
-
finalize
- Overrides:
finalize
in classInformationObjectImpl1
- Throws:
Throwable
-
getString
Get the String for the ContextInfo.- Specified by:
getString
in interfaceContextInformation
- Returns:
- String for the ContextInfo
-
setString
Set the STring for the ContextInfo.- Specified by:
setString
in interfaceContextInformation
- Parameters:
desc
- String value for COntextInfo.
-