represents a search by criteria.
"find all articles where article.price > 100"
could be represented as:
Criteria crit = new Criteria();
crit.addGreaterThan("price", new Double(100));
Query qry = new QueryByCriteria(Article.class, crit);
The PersistenceBroker can retrieve Objects by Queries as follows:
PersistenceBroker broker = PersistenceBrokerFactory.createPersistenceBroker();
Collection col = broker.getCollectionByQuery(qry);
author: Thomas Mahler version: $Id: QueryByMtoNCriteria.java,v 1.7.2.1 2005/12/21 22:27:09 tomdz Exp $