Class NoteLog
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.NoteLogHeader
org.odpi.openmetadata.frameworks.connectors.properties.NoteLog
Stores information about a comment connected to an asset. Comments provide informal feedback to assets
and can be added at any time.
Comments have the userId of the person who added the feedback, along with their comment text.
Comments can have other comments attached.
The content of the comment is a personal statement (which is why the user's id is in the comment)
and there is no formal review of the content.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionNoteLog(NoteLogHeader noteLogHeader, Notes notes) Bean constructorCopy/clone constructor. -
Method Summary
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.NoteLogHeader
getDescription, getDisplayName, setDescription, setDisplayNameMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedNameMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, setExtendedPropertiesMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUIDMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersionsMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
Constructor Details
-
NoteLog
Bean constructor- Parameters:
noteLogHeader- bean that contains all the propertiesnotes- iterator
-
NoteLog
Copy/clone constructor.- Parameters:
template- element to copy
-
-
Method Details
-
getNotes
Return an iterator of the replies to this comment - null means no replies are available.- Returns:
- comment replies iterator
-
toString
Standard toString method.- Overrides:
toStringin classNoteLogHeader- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classNoteLogHeader- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash of properties- Overrides:
hashCodein classNoteLogHeader- Returns:
- int
-