org.apache.ojb.broker.query
Class CriteriaUtils

java.lang.Object
  extended by org.apache.ojb.broker.query.CriteriaUtils

public class CriteriaUtils
extends java.lang.Object

This Class contains utility functions for Criterias.

Version:
$Id: CriteriaUtils.java 365232 2005-12-21 22:36:07Z tomdz $
Author:
Oleg Nitz

Constructor Summary
CriteriaUtils()
           
 
Method Summary
static java.util.List getDNF(Criteria crit)
          Disjunctive Normal Form: list of Criteria, which don't contain ORs, the elements of the list joined by ORs give the condition equivalent to the original Criteria.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CriteriaUtils

public CriteriaUtils()
Method Detail

getDNF

public static java.util.List getDNF(Criteria crit)
Disjunctive Normal Form: list of Criteria, which don't contain ORs, the elements of the list joined by ORs give the condition equivalent to the original Criteria.



(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30