net.sf.okapi.lib.xliff2.its

## Interface IWithITSAttributes

- All Known Implementing Classes:
    MTag, TermTag, Unit

      public interface IWithITSAttributes

  Provides a common interface to all objects that can have ITS attributes.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getId()` Gets the id of the object that holds the ITS items.
    `ITSItems` | `getITSItems()` Gets the ITS items associated with this object.
    `boolean` | `hasITSItem()` Indicates if the object has at least one ITS item.
    `void` | `setITSItems(ITSItems items)` Sets the list of the ITS items associated with this object.

- - ### Method Detail

    - #### hasITSItem

          boolean hasITSItem()

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

    - #### getITSItems

          ITSItems getITSItems()

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

    - #### setITSItems

          void setITSItems(ITSItems items)

      Sets the list of the ITS items associated with this object.
      Parameters:
        `items` - the new items to set.

    - #### getId

          java.lang.String getId()

      Gets the id of the object that holds the ITS items.
      Returns:
        the id of the object.