com.ihr.xbrl.om.table.definition

## Interface PeriodsAspectInterface

- All Superinterfaces:
    Aspect<XBRLPeriod>, MutableAspectValue
  All Known Implementing Classes:
    PeriodAspectNode

      public interface PeriodsAspectInterface
      extends Aspect<XBRLPeriod>, MutableAspectValue

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

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getMembersCount()` Gets the members count.
    `XBRLPeriod[]` | `getPeriods()` Gets the period.
    `XBRLItem.PeriodType` | `getPeriodType(XBRLItem item)` Returns a constant identifying either XBRLItem.DURATION or XBRLItem.INSTANT

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

      `getAspectClashIdentity, getAspectType, getMember`

    - ### Methods inherited from interface com.ihr.xbrl.om.table.definition.MutableAspectValue

      `getLabel, setValues`

- - ### Method Detail

    - #### getPeriodType

          XBRLItem.PeriodType getPeriodType(XBRLItem item)

      Returns a constant identifying either XBRLItem.DURATION or XBRLItem.INSTANT
      Parameters:
        `item` - the item
      Returns:
        the period type

    - #### getPeriods

          XBRLPeriod[] getPeriods()
                                  throws XFValidationException

      Gets the period.
      Returns:
        the period
      Throws:
        `XFValidationException` - the XF validation exception

    - #### getMembersCount

          int getMembersCount()

      Gets the members count.
      Returns:
        the members count