org.eclipse.january.metadata

## Interface UnitMetadata

- All Superinterfaces:
    Cloneable, MetadataType, Serializable

      public interface UnitMetadata
      extends MetadataType

  This metadata describes the unit associated with the quantity stored in a dataset
  Since:
    2.1

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.measure.Unit<?>` | `getUnit()` Get unit
    `void` | `initialize(javax.measure.Unit<?> unit)` Initialize unit metadata with given unit

    - ### Methods inherited from interface org.eclipse.january.metadata.MetadataType

      `clone`

- - ### Method Detail

    - #### initialize

          void initialize(javax.measure.Unit<?> unit)

      Initialize unit metadata with given unit
      Parameters:
        `unit` -

    - #### getUnit

          javax.measure.Unit<?> getUnit()

      Get unit
      Returns:
        unit of dataset

Copyright © 2014–2018 Eclipse Foundation. All rights reserved.