net.sf.okapi.lib.xliff2.core

## Interface IWithStore

- All Known Implementing Classes:
    Match, Unit

      public interface IWithStore

  Represents an object that is the parent of a `Store` object, for example a `Unit` holds the store for the inline codes and other related data in that unit.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Directionality` | `getSourceDir()`
    `Directionality` | `getTargetDir()`
    `boolean` | `isIdUsed(java.lang.String id)` Indicates if a given id value is already in use in the object (for a `Part` or for a `Tag`).
    `void` | `setSourceDir(Directionality dir)`
    `void` | `setTargetDir(Directionality dir)`

- - ### Method Detail

    - #### isIdUsed

          boolean isIdUsed(java.lang.String id)

      Indicates if a given id value is already in use in the object (for a `Part` or for a `Tag`).
      Parameters:
        `id` - the id value to lookup.
      Returns:
        true if the value is already used, false otherwise.

    - #### getSourceDir

          Directionality getSourceDir()

    - #### setSourceDir

          void setSourceDir(Directionality dir)

    - #### getTargetDir

          Directionality getTargetDir()

    - #### setTargetDir

          void setTargetDir(Directionality dir)