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

public class NoteLogProperties extends ReferenceableProperties
NoteLogHeader manages a list of notes for an asset
  • Field Details

    • displayName

      protected String displayName
    • description

      protected String description
  • Constructor Details

    • NoteLogProperties

      public NoteLogProperties()
      Default constructor
    • NoteLogProperties

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

    • getDisplayName

      public String getDisplayName()
      Return the stored display name property for the note log. If no display name is available then null is returned.
      Returns:
      String Name
    • setDisplayName

      public void setDisplayName(String displayName)
      Set up the stored display name property for the note log.
      Parameters:
      displayName - - String name
    • getDescription

      public String getDescription()
      Return the stored description property for the note log. If no description is provided then null is returned.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
      Set up the stored description property for the note log.
      Parameters:
      description - 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