com.ihr.xbrl.om.errors

## Class XBRLInconsistency.Contributor

- java.lang.Object
- - com.ihr.xbrl.om.errors.XBRLInconsistency.Contributor

- Enclosing class:
    XBRLInconsistency

      public static class XBRLInconsistency.Contributor
      extends java.lang.Object

  Used to keep track of elements involved in the calculation.
  Author:
    Ignacio

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `XBRLInconsistency.Contributor(XBRLFactItem fact, double weight)` Instantiates a new contributor.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `XBRLFactItem` | `getFact()` Gets the fact.
    `double` | `getWeight()` Gets the weight.

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

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

- - ### Constructor Detail

    - #### XBRLInconsistency.Contributor

          public XBRLInconsistency.Contributor(XBRLFactItem fact,
                                       double weight)

      Instantiates a new contributor.
      Parameters:
        `fact` - the fact
        `weight` - the weight

  - ### Method Detail

    - #### getFact

          public XBRLFactItem getFact()

      Gets the fact.
      Returns:
        the fact

    - #### getWeight

          public double getWeight()

      Gets the weight.
      Returns:
        the weight