Direct Known Subclasses:
NoteLog

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

    • displayName

      protected String displayName
    • description

      protected String description
  • Constructor Details

    • NoteLogHeader

      public NoteLogHeader()
      Default constructor
    • NoteLogHeader

      public NoteLogHeader(NoteLogHeader templateNoteLog)
      Copy/clone constructor.
      Parameters:
      templateNoteLog - 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 Referenceable
      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 Referenceable
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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