- All Superinterfaces:
org.refcodes.mixin.AliasAccessor,org.refcodes.mixin.Schemable<CriteriaSchema>
- All Known Subinterfaces:
CriteriaLeaf<T>,CriteriaNode
- All Known Implementing Classes:
AbstractCriteria,AbstractCriteriaLeaf,AbstractCriteriaNode,AndCriteria,EqualWithCriteria,GreaterOrEqualThanCriteria,GreaterThanCriteria,IntersectWithCriteria,LessOrEqualThanCriteria,LessThanCriteria,NotCriteria,NotEqualWithCriteria,OrCriteria
public interface Criteria
extends org.refcodes.mixin.AliasAccessor, org.refcodes.mixin.Schemable<CriteriaSchema>
The
Criteria itself is the base definition of
functionality which the CriteriaNode and
CriteriaLeaf implementations are to support.
Mainly, a Criteria is to have a name (for
example "AND", "OR", "LESS_THAN" and so on). The
Criteria 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 a
String by using the
ExpressionCriteriaFactory. On the other hand a
Criteria can be converted to a String to be
used in SQL statements by using the
ExpressionQueryFactory.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.AliasAccessor
org.refcodes.mixin.AliasAccessor.AliasBuilder<B extends org.refcodes.mixin.AliasAccessor.AliasBuilder<B>>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty -
Method Summary
Methods inherited from interface org.refcodes.mixin.AliasAccessor
getAliasMethods inherited from interface org.refcodes.mixin.Schemable
toSchema