com.ihr.xbrl.om.formula.filters

## Interface HasIsDeterministic

- All Known Implementing Classes:
    XBRLExplicitDimensionFilter, XBRLTypedDimensionFilter

      public interface HasIsDeterministic

  This interface must be implemented by filters whose XPath might not be derived from a real XPath expression generated to build up the result but from static analysis of the filter declaration.

  It is useful in the following use cases, the EIOPA taxonomy contains a open aspect node in the Z Axis and that open aspect node is associated with a dimension filter that shall filter values from the instance. But, if the instance contains no values, the available possibilities is either the entire dimension domain or nothing. If we just return the entire dimension domain, then the user might select a member that will not pass the filter and this might be frustrated.

  The solution (as it can be implemented now) is to evaluate if the filter provides capabilities to be executed against the DTS an is not dependent on the reported fact values. In that case it would be possible to select the possibilities using the filter declaration as it is.

  Author:
    Ignacio

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isDeterministic()` This method returns true if, during the static evaluation of the filter declaration, the filter does not depends on variables or external XPath that might result in variable values returned.

- - ### Method Detail

    - #### isDeterministic

          boolean isDeterministic()

      This method returns true if, during the static evaluation of the filter declaration, the filter does not depends on variables or external XPath that might result in variable values returned.
      Returns:
        boolean true if the filter is deterministic