Class Note

All Implemented Interfaces:
Serializable, Comparable<AnyObjectId>

public class Note extends ObjectId
In-memory representation of a single note attached to one object.
See Also:
  • Field Details

  • Constructor Details

    • Note

      public Note(AnyObjectId noteOn, ObjectId noteData)
      A Git note about the object referenced by noteOn.
      Parameters:
      noteOn - the object that has a note attached to it.
      noteData - the actual note data contained in this note
  • Method Details

    • getData

      public ObjectId getData()
      Get the note content.
      Returns:
      the note content.
    • setData

      void setData(ObjectId newData)
    • toString

      public String toString()
      Overrides:
      toString in class AnyObjectId