Class Comment
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.comment.Comment
-
- All Implemented Interfaces:
Serializable
public class Comment extends Object implements Serializable
Comment entity in the Subject Area OMAS. Descriptive feedback or discussion related to an item.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Set<String>ATTRIBUTE_NAMES_SETstatic String[]ATTRIBUTE_NAMES_SET_VALUESstatic Set<String>ENUM_NAMES_SETstatic String[]ENUM_NAMES_SET_VALUESstatic Set<String>MAP_NAMES_SETstatic String[]MAP_NAMES_SET_VALUESstatic Set<String>PROPERTY_NAMES_SETstatic String[]PROPERTY_NAMES_SET_VALUES
-
Constructor Summary
Constructors Constructor Description Comment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Map<String,String>getAdditionalProperties()Additional properties for the element.List<Classification>getClassifications()Classifications associated with the CommentStringgetComment()Feedback comments or additional information.CommentTypegetCommentType()classification for the comment.Map<String,Object>getExtraAttributes()Get the extra attributes - ones that are in addition to the standard types.Map<String,Classification>getExtraClassifications()Extra classifications are classifications that are not in the open metadata model - we include the OMRS Classifications.StringgetQualifiedName()Unique identifier for the entity.SystemAttributesgetSystemAttributes()Get the system attributes associated with the Comment.inthashCode()voidsetAdditionalProperties(Map<String,String> additionalProperties)voidsetClassifications(List<Classification> classifications)voidsetComment(String comment)voidsetCommentType(CommentType commentType)voidsetExtraAttributes(Map<String,Object> extraAttributes)voidsetExtraClassifications(Map<String,Classification> extraClassifications)voidsetQualifiedName(String qualifiedName)voidsetSystemAttributes(SystemAttributes systemAttributes)StringtoString()StringBuildertoString(StringBuilder sb)
-
-
-
Field Detail
-
PROPERTY_NAMES_SET_VALUES
public static final String[] PROPERTY_NAMES_SET_VALUES
-
ATTRIBUTE_NAMES_SET_VALUES
public static final String[] ATTRIBUTE_NAMES_SET_VALUES
-
ENUM_NAMES_SET_VALUES
public static final String[] ENUM_NAMES_SET_VALUES
-
MAP_NAMES_SET_VALUES
public static final String[] MAP_NAMES_SET_VALUES
-
-
Method Detail
-
getSystemAttributes
public SystemAttributes getSystemAttributes()
Get the system attributes associated with the Comment.- Returns:
- system attributes
-
setSystemAttributes
public void setSystemAttributes(SystemAttributes systemAttributes)
-
getComment
public String getComment()
Feedback comments or additional information.- Returns:
- String
-
setComment
public void setComment(String comment)
-
getCommentType
public CommentType getCommentType()
classification for the comment.- Returns:
- CommentType
-
setCommentType
public void setCommentType(CommentType commentType)
-
getQualifiedName
public String getQualifiedName()
Unique identifier for the entity.- Returns:
- String
-
setQualifiedName
public void setQualifiedName(String qualifiedName)
-
getAdditionalProperties
public Map<String,String> getAdditionalProperties()
Additional properties for the element.- Returns:
Map<String,String>
-
setAdditionalProperties
public void setAdditionalProperties(Map<String,String> additionalProperties)
-
setClassifications
public void setClassifications(List<Classification> classifications)
-
getExtraAttributes
public Map<String,Object> getExtraAttributes()
Get the extra attributes - ones that are in addition to the standard types.- Returns:
Map<String,String>
-
getClassifications
public List<Classification> getClassifications()
Classifications associated with the Comment- Returns:
- list of classifications
-
getExtraClassifications
public Map<String,Classification> getExtraClassifications()
Extra classifications are classifications that are not in the open metadata model - we include the OMRS Classifications.- Returns:
Map<String,Classification>
-
setExtraClassifications
public void setExtraClassifications(Map<String,Classification> extraClassifications)
-
toString
public StringBuilder toString(StringBuilder sb)
-
-