java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.communityprofile.properties.NoteLogEntryProperties
Direct Known Subclasses:
CommunityForumContribution, PersonalNote

public class NoteLogEntryProperties extends ReferenceableProperties
NoteLogEntryProperties covers the entries in a community forum and personal notes since they are based on a note log.
  • Constructor Details

    • NoteLogEntryProperties

      public NoteLogEntryProperties()
      Default constructor
    • NoteLogEntryProperties

      public NoteLogEntryProperties(NoteLogEntryProperties template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getContributors

      public List<String> getContributors()
      Return the list of user ids of the people who created the note log entry.
      Returns:
      authoring users
    • setContributors

      public void setContributors(List<String> contributors)
      Set up the user id of the person who created the tag. Null means the user id is not known.
      Parameters:
      contributors - authoring users
    • getTitle

      public String getTitle()
      Return the title of the entry.
      Returns:
      string title
    • setTitle

      public void setTitle(String title)
      Set up the title of the entry.
      Parameters:
      title - string title
    • getText

      public String getText()
      Return the main text of the entry.
      Returns:
      string text
    • setText

      public void setText(String text)
      Set up the main text for this entry.
      Parameters:
      text - string text
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class ReferenceableProperties
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class ReferenceableProperties
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class ReferenceableProperties
      Returns:
      int hash code