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 and Description
    `AndCriterion(Criterion[] criteria)` Construct AndCriterion using criteria given as array.
    `AndCriterion(java.util.List criteria)` Construct AndCriterion 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

    - #### AndCriterion

          public AndCriterion(java.util.List 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.