An object-oriented representation of a query criterion that may be used
as a restriction in a Criteria query.
Built-in criterion types are provided by the Restrictions factory
class.
An object-oriented representation of a query result set projection in a
Criteria query.
Built-in projection types are provided by the
Projections factory class.