|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NoteCapable
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void addNote(Note note)
note -
org.eclipse.stardust.common.error.InvalidArgumentException - if the id of the Note already exists.Note getNote(String id)
Set<Note> getNotes()
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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||