Package org.refcodes.criteria
Interface Criteria
-
- 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.NameAccessorTheCriteriaitself is the base definition of functionality which theCriteriaNodeandCriteriaLeafimplementations are to support. Mainly, aCriteriais to have a name (for example "AND", "OR", "LESS_THAN" and so on). TheCriteriainstances 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 aStringby using theExpressionCriteriaFactoryImpl. On the other hand aCriteriacan be converted to a String to be used in SQL statements by using theExpressionQueryFactoryImpl.- Version:
- $Id: $Id
- Author:
- steiner