# Uses of Class
org.apache.torque.criteria.Criterion

Packages that use Criterion
Package
Description
org.apache.torque.criteria
This package contains Torque's Criteria classes.

- ## Uses of Criterion in org.apache.torque.criteria

  Methods in org.apache.torque.criteria that return Criterion
  Modifier and Type
  Method
  Description
  `Criterion`
  Criterion.`and(Criterion criterion)`
  Replaces this criterion's condition with (this criterion's condition AND criterion).
  `Criterion`
  Criteria.`getHaving()`
  Get Having Criterion.
  `final Criterion`
  Join.`getJoinCondition()`
  `Criterion`
  Criteria.`getTopLevelCriterion()`
  Returns the top level Criterion.
  `Criterion`
  Criterion.`or(Criterion criterion)`
  Replaces this criterion's condition with (this criterion's condition OR criterion).
  `Criterion`
  Criterion.`setIgnoreCase(boolean b)`
  Sets ignore case. ignoreCase is ignored for a verbatim sql statement.
  Methods in org.apache.torque.criteria that return types with arguments of type Criterion
  Modifier and Type
  Method
  Description
  `List<Criterion>`
  Criterion.`getParts()`
  Returns the parts of which this criterion consists.
  Methods in org.apache.torque.criteria with parameters of type Criterion
  Modifier and Type
  Method
  Description
  `Criteria`
  Criteria.`addHaving(Criterion having)`
  This method adds a prepared Criterion object to the Criteria as a having clause.
  `Criteria`
  Criteria.`addJoin(String leftTable, String rightTable, Criterion joinCondition, JoinType joinType)`
  Adds a join to the criteria.
  `Criteria`
  Criteria.`addJoin(PreparedStatementPart leftTable, PreparedStatementPart rightTable, Criterion joinCondition, JoinType joinType)`
  Adds a join to the criteria, E.g. to create the condition
  `Criteria`
  Criteria.`and(Criterion criterion)`
  "AND"s Criterion object with the conditions in this Criteria.
  `Criterion`
  Criterion.`and(Criterion criterion)`
  Replaces this criterion's condition with (this criterion's condition AND criterion).
  `Criteria`
  Criteria.`or(Criterion criterion)`
  "OR"s a Criterion object with the conditions in this Criteria.
  `Criterion`
  Criterion.`or(Criterion criterion)`
  Replaces this criterion's condition with (this criterion's condition OR criterion).
  `Criteria`
  Criteria.`where(Criterion criterion)`
  "AND"s Criterion object with the conditions in this Criteria.
  Constructors in org.apache.torque.criteria with parameters of type Criterion
  Modifier
  Constructor
  Description
  ``
  `Criterion(Criterion toCopy)`
  Creates a shallow copy of the given Criterion.
  ``
  `Join(PreparedStatementPart leftTable, PreparedStatementPart rightTable, Criterion joinCondition, JoinType joinType)`
  Constructor.