Class CommentConversation
- 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.Comment
-
- org.odpi.openmetadata.frameworks.connectors.properties.CommentConversation
-
- All Implemented Interfaces:
Serializable
public class CommentConversation extends Comment
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.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CommentRepliescommentReplies-
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, url
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description CommentConversation(Comment templateComment)Copy/clone constructor.CommentConversation(Comment commentBean, CommentReplies commentReplies)Bean constructorCommentConversation(CommentConversation templateComment)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.CommentRepliesgetCommentReplies()Return an iterator of the replies to this comment - null means no replies are available.inthashCode()Hash of propertiesStringtoString()Standard toString method.-
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, getURL, setExtendedProperties, setURL
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersions
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Field Detail
-
commentReplies
protected CommentReplies commentReplies
-
-
Constructor Detail
-
CommentConversation
public CommentConversation(Comment commentBean, CommentReplies commentReplies)
Bean constructor- Parameters:
commentBean- bean that contains all the propertiescommentReplies- any replies to this comment
-
CommentConversation
public CommentConversation(CommentConversation templateComment)
Copy/clone constructor.- Parameters:
templateComment- element to copy
-
CommentConversation
public CommentConversation(Comment templateComment)
Copy/clone constructor.- Parameters:
templateComment- element to copy
-
-
Method Detail
-
getCommentReplies
public CommentReplies getCommentReplies()
Return an iterator of the replies to this comment - null means no replies are available.- Returns:
- comment replies iterator
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-