net.sf.okapi.lib.xliff2.its

## Interface IWithITSGroups

- All Known Implementing Classes:
    Unit

      public interface IWithITSGroups

  Provides a common interface to all objects that can have ITS stand-off elements (groups)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `DataCategoryGroup<?>` | `addITSGroup(DataCategoryGroup<?> group)` Adds an ITS group to this object.
    `java.util.List<DataCategoryGroup<?>>` | `getITSGroups()` Gets the ITS groups associated with this object.
    `boolean` | `hasITSGroup()` Indicates if the object has at least one ITS group.

- - ### Method Detail

    - #### hasITSGroup

          boolean hasITSGroup()

      Indicates if the object has at least one ITS group.
      Returns:
        true if the object has at least one ITS group.

    - #### getITSGroups

          java.util.List<DataCategoryGroup<?>> getITSGroups()

      Gets the ITS groups associated with this object.
      Returns:
        the ITS groups associated with this object (can be empty, but never null).

    - #### addITSGroup

          DataCategoryGroup<?> addITSGroup(DataCategoryGroup<?> group)

      Adds an ITS group to this object.
      Parameters:
        `group` - the group to add.