Uses of Package
org.refcodes.criteria
Package
Description
This artifact allows the construction of This artifact allows the
construction of
Criteria
instances for
selecting, filtering or identifying (such as the selection of entries from a
database).-
ClassDescriptionBase class with the base
CriteriaLeaf
functionality provided forCriteriaLeaf
implementations.Base class with the base functionality provided forCriteriaNode
implementations.ACriteriaNode
representing a logical AND operator.TheBadCriteriaException
is thrown in case of encountering badCriteria
definitions.TheCriteria
itself is the base definition of functionality which theCriteriaNode
andCriteriaLeaf
implementations are to support.Provides an accessor for aCriteria
property.Provides a mutator for aCriteria
property.TheCriteriaFactory
constructs aCriteria
(tree) from the provided query.A CriteriaLeaf tree leaf is an expression usually relating to a key (for example identifying a table's column in a database) and a value, both of which consolidating an expression (for example "City = 'Munich'").A CriteriaNode tree node may represent a logical AND or a logical OR or a logical NOT applied on the node's children Criteria (CriteriaNode instances and CriteriaLeaf instances).The ClassCriteriaRuntimeException
.The purpose of aCriteriaSchema
is automatically generate documentation ofCriteria
structures.ACriteriaLeaf
representing a EQUAL WITH expression.ACriteriaLeaf
representing a GREATER OR EQUAL THAN expression.ACriteriaLeaf
representing a GREATER THAN expression.ACriteriaNode
representing a logical INTERSECT operator.ACriteriaLeaf
representing a LESS OR EQUAL THAN expression.ACriteriaLeaf
representing a LESS THAN expression.ACriteriaNode
representing a logical NOT operator.ACriteriaLeaf
representing a NOT EQUAL WITH expression.ACriteriaNode
representing a logical OR operator.TheQueryFactory
generates a query from the providedCriteria
(tree).