net.sf.okapi.lib.xliff2.core

## Interface IWithNotes

- All Known Implementing Classes:
    MidFileData, StartGroupData, Unit

      public interface IWithNotes

  Provides the methods to add and retrieve notes for an object.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addNote(Note note)` Adds a note to the list of notes.
    `int` | `getNoteCount()` Gets the number of notes for this object.
    `Notes` | `getNotes()` Gets the `Notes` object 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 the `Notes` object 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.