Package net.sf.okapi.lib.xliff2.core
Interface IWithNotes
-
- All Known Implementing Classes:
MidFileData,StartGroupData,Unit
public interface IWithNotesProvides the methods to add and retrieve notes for an object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddNote(Note note)Adds a note to the list of notes.intgetNoteCount()Gets the number of notes for this object.NotesgetNotes()Gets theNotesobject for this object.
-
-
-
Method Detail
-
addNote
void addNote(Note note)
Adds a note to the list of notes.- Parameters:
note- the note to add.
-
getNotes
Notes getNotes()
Gets theNotesobject for this object.- Returns:
- the notes for this object. Never returns null.
-
getNoteCount
int getNoteCount()
Gets the number of notes for this object.- Returns:
- the number of notes available.
-
-