Package com.isomorphic.criteria.criterion

# Class AndCriterion

java.lang.Object
com.isomorphic.criteria.criterion.LogicalCriterion
com.isomorphic.criteria.criterion.AndCriterion

All Implemented Interfaces:
  `Criterion`

public class AndCriterion extends LogicalCriterion
Logical criterion for checking that all subcriteria (criterion.criteria) are true.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AndCriterion(Criterion... criteria)`
  Construct AndCriterion using criteria given as array.
  `AndCriterion(List<Criterion> criteria)`
  Construct AndCriterion using criteria given as List.

- ## Method Summary

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

  `getCriteria, setCriteria`

- ## Constructor Details

  - ### AndCriterion

    public AndCriterion(List<Criterion> criteria)
    Construct AndCriterion using criteria given as List.
    Parameters:
      `criteria` - - criteria to be combined using And operator.

  - ### AndCriterion

    public AndCriterion(Criterion... criteria)
    Construct AndCriterion using criteria given as array.
    Parameters:
      `criteria` - - criteria to be combined using And operator.