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 notejava.util.Calendar
getCreationDate()
Returns the date/time of the note's creationjava.lang.String
getCreationUser()
Returns the name of the user who created the notejava.util.Calendar
getLastModifiedDate()
Returns the date/time of the note's last modificationjava.lang.String
getLastModifiedUser()
Returns the name of the user who last modified the notejava.lang.String
getNoteId()
Unique identifier for the note within its parent model.NotePriority
getPriority()
Returns the priority of the notevoid
setContent(java.lang.String content)
Sets the content (message) of the notevoid
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
For write purposes only, provides an Operation which should be performed on the note. SeeNoteOperation
- Parameters:
value
- operation to be performed on the note
-
getPriority
NotePriority getPriority()Returns the priority of the note -
setPriority
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()
-