Interface CriteriaFactory<Q>

Type Parameters:
Q - The type of the query statement, usually a String.
All Known Implementing Classes:
ExpressionCriteriaFactory

public interface CriteriaFactory<Q>
The CriteriaFactory constructs a Criteria (tree) from the provided query. The syntax of the query is implementation specific and may look as follows: ( ( ( City = 'Berlin' ) OR ( City = 'Munich' ) ) AND ( Surname = 'Miller' ) ) CAUTION: The syntax supported for the query statement is implementation depended! The ExpressionCriteriaFactory implements a CriteriaFactory being capable of parsing the above query.
Version:
$Id: $Id
Author:
steiner
  • Method Summary

    Modifier and Type
    Method
    Description
    fromQuery(Q aQuery)
    Parsed the given query and constructs a Criteria (tree).