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:
  • Field Details

    • 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
    • PROPERTY_NAMES_SET

      public static final Set<String> PROPERTY_NAMES_SET
    • ATTRIBUTE_NAMES_SET

      public static final Set<String> ATTRIBUTE_NAMES_SET
    • ENUM_NAMES_SET

      public static final Set<String> ENUM_NAMES_SET
    • MAP_NAMES_SET

      public static final Set<String> MAP_NAMES_SET
  • Constructor Details

    • Comment

      public Comment()
  • Method Details

    • 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)
    • setExtraAttributes

      public void setExtraAttributes(Map<String,Object> extraAttributes)
    • 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)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object