java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.NoteProperties

public class NoteProperties extends ReferenceableProperties
Note defines the properties of a single note in a note log.
  • Constructor Details

    • NoteProperties

      public NoteProperties()
      Default constructor
    • NoteProperties

      public NoteProperties(NoteProperties template)
      Copy/clone constructor.
      Parameters:
      template - note to copy
  • Method Details

    • getTitle

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

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

      public String getText()
      Return the text of the note.
      Returns:
      String text
    • setText

      public void setText(String text)
      Set up the text of the note.
      Parameters:
      text - String text
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class ReferenceableProperties
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class ReferenceableProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Hash of properties
      Overrides:
      hashCode in class ReferenceableProperties
      Returns:
      int