public interface Criteria
extends org.refcodes.mixin.NameAccessor
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
ExpressionCriteriaFactoryImpl
. On the
other hand a Criteria
can be converted to a
String to be used in SQL statements by using the
ExpressionQueryFactoryImpl
.Copyright © 2018. All rights reserved.