com.isomorphic.criteria.criterion

## Class OrCriterion

- java.lang.Object
- - com.isomorphic.criteria.criterion.LogicalCriterion
  - - com.isomorphic.criteria.criterion.OrCriterion

- All Implemented Interfaces:
    Criterion

      public class OrCriterion
      extends LogicalCriterion

  Logical criterion for checking that at least one subcriteria (criterion.criteria) is true.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OrCriterion(Criterion[] criteria)` Construct OrCriterion using criteria given as array.
    `OrCriterion(java.util.List criteria)` Construct OrCriterion using criteria given as List.

  - ### Method Summary

    - ### Methods inherited from class com.isomorphic.criteria.criterion.LogicalCriterion

      `getCriteria, setCriteria`

    - ### Methods inherited from interface com.isomorphic.criteria.Criterion

      `getFieldName, getOperatorId, getValue, setFieldName, setOperatorId, setValue`

- - ### Constructor Detail

    - #### OrCriterion

          public OrCriterion(java.util.List criteria)

      Construct OrCriterion using criteria given as List.
      Parameters:
        `criteria` - - criteria to be combined using Or operator.

    - #### OrCriterion

          public OrCriterion(Criterion[] criteria)

      Construct OrCriterion using criteria given as array.
      Parameters:
        `criteria` - - criteria to be combined using Or operator.