ch.elca.el4j.services.search.criterias
Interface Criteria

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractCriteria, AndCriteria, ComparisonCriteria, IncludeCriteria, LikeCriteria, NotCriteria, OrCriteria

public interface Criteria
extends Serializable

A Criteria represents some restrictions for a Query (e.g. used to get values from a database).

Author:
Martin Zeltner (MZE)
See Also:
Refer to tests of keyword/test module for example usages
File-location:
Criteria
Last check-in date:
2009-08-04 14:25:40 +0200 (Di, 04. Aug 2009) by swismer for revision 3874

Method Summary
 String getSqlWhereCondition()
          The full Criteria as SQL representation.
 String getType()
          Deprecated. No longer use this method as it was used in an older implementation only.
 

Method Detail

getType

String getType()
Deprecated. No longer use this method as it was used in an older implementation only.

Returns:
Returns the criteria type.

getSqlWhereCondition

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.

Returns:
an SQL string as it could occur in a SQL WHERE clause


Copyright © 2005-2011 ELCA. All Rights Reserved.