Interface AttachedNote

All Superinterfaces:
java.lang.Cloneable

public interface AttachedNote
extends java.lang.Cloneable
Represents a single note attached to a Model.
  • Method Summary

    Modifier and Type Method Description
    java.lang.Object clone()  
    java.lang.String getContent()
    Returns the content (message) of the note
    java.util.Calendar getCreationDate()
    Returns the date/time of the note's creation
    java.lang.String getCreationUser()
    Returns the name of the user who created the note
    java.util.Calendar getLastModifiedDate()
    Returns the date/time of the note's last modification
    java.lang.String getLastModifiedUser()
    Returns the name of the user who last modified the note
    java.lang.String getNoteId()
    Unique identifier for the note within its parent model.
    NotePriority getPriority()
    Returns the priority of the note
    void setContent​(java.lang.String content)
    Sets the content (message) of the note
    void setNoteId​(java.lang.String value)
    Sets the unique identifier for the note within its parent model.
    void setOperation​(NoteOperation value)
    For write purposes only, provides an Operation which should be performed on the note.
    void setPriority​(NotePriority value)
    Sets the priority of the note
  • Method Details

    • getContent

      java.lang.String getContent()
      Returns the content (message) of the note
    • setContent

      void setContent​(java.lang.String content)
      Sets the content (message) of the note
      Parameters:
      content - new content
    • getCreationDate

      java.util.Calendar getCreationDate()
      Returns the date/time of the note's creation
    • getCreationUser

      java.lang.String getCreationUser()
      Returns the name of the user who created the note
    • getLastModifiedDate

      java.util.Calendar getLastModifiedDate()
      Returns the date/time of the note's last modification
    • getLastModifiedUser

      java.lang.String getLastModifiedUser()
      Returns the name of the user who last modified the note
    • setOperation

      void setOperation​(NoteOperation value)
      For write purposes only, provides an Operation which should be performed on the note. See NoteOperation
      Parameters:
      value - operation to be performed on the note
    • getPriority

      NotePriority getPriority()
      Returns the priority of the note
    • setPriority

      void setPriority​(NotePriority value)
      Sets the priority of the note
    • getNoteId

      java.lang.String getNoteId()
      Unique identifier for the note within its parent model. If no Id is given, one will be assigned during creation.
    • setNoteId

      void setNoteId​(java.lang.String value)
      Sets the unique identifier for the note within its parent model.
    • clone

      java.lang.Object clone()