public interface NoteCapable
| Modifier and Type | Method and Description |
|---|---|
void |
addAllNotes(Set<Note> notes)
Adds the given set of notes to the stored ones.
|
void |
addNote(Note note)
Adds the Note.
|
Note |
getNote(String id) |
Set<Note> |
getNotes() |
void |
removeAllNotes()
Removes all notes.
|
void |
removeNote(String id) |
void |
setNotes(Set<Note> notes)
Replaces the stored notes with the given set.
|
void addNote(Note note)
note - org.eclipse.stardust.common.error.InvalidArgumentException - if the id of the Note already exists.void removeNote(String id)
void setNotes(Set<Note> notes)
notes - org.eclipse.stardust.common.error.InvalidArgumentException - if the given set contains more than one element with the same
Identifiable#id.void addAllNotes(Set<Note> notes)
notes - org.eclipse.stardust.common.error.InvalidArgumentException - if the given set contains more than one element with the same
Identifiable#id.org.eclipse.stardust.common.error.InvalidArgumentException - if the given set contains at least one note with the same Identifiable#id
as a stored note.void removeAllNotes()
Copyright © 2016 Eclipse Stardust. All Rights Reserved.