Package 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
  Description
  `OrCriterion(Criterion... criteria)`
  Construct OrCriterion using criteria given as array.
  `OrCriterion(List criteria)`
  Construct OrCriterion using criteria given as List.

- ## Method Summary

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

  `getCriteria, setCriteria`

- ## Constructor Details

  - ### OrCriterion

    public OrCriterion(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.