Class CommentConversation
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.Comment
org.odpi.openmetadata.frameworks.connectors.properties.CommentConversation
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.Comment
commentText, commentType, isPublic, user
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, qualifiedName
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedProperties
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionCommentConversation
(Comment templateComment) Copy/clone constructor.CommentConversation
(Comment commentBean, CommentReplies commentReplies) Bean constructorCommentConversation
(CommentConversation templateComment) Copy/clone constructor. -
Method Summary
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Comment
getCommentText, getCommentType, getIsPublic, getUser, setCommentText, setCommentType, setIsPublic, setUser
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, setExtendedProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions
-
Field Details
-
commentReplies
-
-
Constructor Details
-
CommentConversation
Bean constructor- Parameters:
commentBean
- bean that contains all the propertiescommentReplies
- any replies to this comment
-
CommentConversation
Copy/clone constructor.- Parameters:
templateComment
- element to copy
-
CommentConversation
Copy/clone constructor.- Parameters:
templateComment
- element to copy
-
-
Method Details
-
getCommentReplies
Return an iterator of the replies to this comment - null means no replies are available.- Returns:
- comment replies iterator
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Hash of properties
-