-
- All Superinterfaces:
org.refcodes.mixin.NameAccessor
- All Known Subinterfaces:
AndCriteria
,CriteriaLeaf<T>
,CriteriaNode
,EqualWithCriteria<T>
,GreaterOrEqualThanCriteria<T>
,GreaterThanCriteria<T>
,IntersectWithCriteria
,LessOrEqualThanCriteria<T>
,LessThanCriteria<T>
,NotCriteria
,NotEqualWithCriteria<T>
,OrCriteria
,SingleCriteriaNode
- All Known Implementing Classes:
AbstractCriteria
,AbstractCriteriaLeaf
,AbstractCriteriaNode
,AbstractSingleCriteriaNode
public interface Criteria extends org.refcodes.mixin.NameAccessor
TheCriteria
itself is the base definition of functionality which theCriteriaNode
andCriteriaLeaf
implementations are to support. Mainly, aCriteria
is to have a name (for example "AND", "OR", "LESS_THAN" and so on). TheCriteria
instances can either be constructed in an object oriented manner by instantiating the various criteria classes and nesting them according to the required query or from aString
by using theExpressionCriteriaFactoryImpl
. On the other hand aCriteria
can be converted to a String to be used in SQL statements by using theExpressionQueryFactoryImpl
.- Version:
- $Id: $Id
- Author:
- steiner