com.ihr.xbrl.om.table.definition

## Interface UnitAspectInterface

- All Superinterfaces:
    Aspect<XBRLUnit>
  All Known Implementing Classes:
    UnitAction, UnitAspectRule

      public interface UnitAspectInterface
      extends Aspect<XBRLUnit>

  This is the interface for all Unit Aspect Resolver classes. During static checking of the formula, an instance of a class implementing this interface must be associated with the formula unit aspect resolver.
  Author:
    Ignacio

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `XBRLUnit` | `getUnit(XBRLStructuralTable xbrlTable)` Returns the calculated unit for this aspect.
    `void` | `resetNode()` Reset node.

    - ### Methods inherited from interface com.ihr.xbrl.om.table.structural.Aspect

      `getAspectClashIdentity, getAspectType, getMember`

- - ### Method Detail

    - #### getUnit

          XBRLUnit getUnit(XBRLStructuralTable xbrlTable)
                           throws XTValidationException

      Returns the calculated unit for this aspect.
      Parameters:
        `xbrlTable` - the xbrl table
      Returns:
        a XBRLUnit
      Throws:
        `XTValidationException` - the XT validation exception

    - #### resetNode

          void resetNode()

      Reset node.