ch.elca.el4j.services.search.criterias
Class NotCriteria

java.lang.Object
  extended by ch.elca.el4j.services.search.criterias.NotCriteria
All Implemented Interfaces:
Criteria, Serializable

public class NotCriteria
extends Object
implements Criteria

A Criteria that negates the Criteria it wraps.

Author:
Philipp Oser (POS)
See Also:
Serialized Form
File-location:
NotCriteria
Last check-in date:
2009-08-04 15:22:05 +0200 (Di, 04. Aug 2009) by swismer for revision 3881

Field Summary
protected  Criteria m_criteria
           
 
Constructor Summary
NotCriteria(Criteria c)
           
 
Method Summary
 Criteria getCriteria()
           
 String getSqlWhereCondition()
          The full Criteria as SQL representation.
 String getType()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_criteria

protected Criteria m_criteria
Constructor Detail

NotCriteria

public NotCriteria(Criteria c)
Method Detail

getType

public String getType()

Specified by:
getType in interface Criteria
Returns:
Returns the criteria type.

getSqlWhereCondition

public String getSqlWhereCondition()
The full Criteria as SQL representation. This does not mean that we want to break encapsulation (Criteria should be independent of the database) but SQL is a representation that is easy to understand.

Specified by:
getSqlWhereCondition in interface Criteria
Returns:
an SQL string as it could occur in a SQL WHERE clause

getCriteria

public Criteria getCriteria()


Copyright © 2005-2011 ELCA. All Rights Reserved.