net.sf.okapi.lib.xliff2.metadata

## Class Metadata

- java.lang.Object
- - net.sf.okapi.lib.xliff2.core.BaseList<MetaGroup>
  - - net.sf.okapi.lib.xliff2.metadata.Metadata

- All Implemented Interfaces:
    java.lang.Iterable<MetaGroup>, IWithMetaGroup

      public class Metadata
      extends BaseList<MetaGroup>
      implements IWithMetaGroup

  Represents a list of `IMetadataItem` objects.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Metadata()` Creates an empty `Metadata` object.
    `Metadata(Metadata original)` Copy constructor.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addGroup(MetaGroup group)` Adds a `MetaGroup` object to this object.
    `java.lang.String` | `getId()`
    `void` | `setId(java.lang.String id)`

    - ### Methods inherited from class net.sf.okapi.lib.xliff2.core.BaseList

      `add, clear, get, isEmpty, iterator, remove, remove, set, size`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Metadata

          public Metadata()

      Creates an empty `Metadata` object.

    - #### Metadata

          public Metadata(Metadata original)

      Copy constructor.
      Parameters:
        `original` - the original object to duplicate.

  - ### Method Detail

    - #### getId

          public java.lang.String getId()

    - #### setId

          public void setId(java.lang.String id)

    - #### addGroup

          public void addGroup(MetaGroup group)

      Description copied from interface: `IWithMetaGroup`
      Adds a `MetaGroup` object to this object.
      Specified by:
        `addGroup` in interface `IWithMetaGroup`
      Parameters:
        `group` - the meta-group to add.