Class AbstractColumnValuePredicate
java.lang.Object
org.silverpeas.components.mydb.model.predicates.AbstractColumnValuePredicate
- All Implemented Interfaces:
ColumnValuePredicate
- Direct Known Subclasses:
Equality,Identity,Inclusion,Inequality,Inferiority,Like,StrictInferiority,StrictSuperiority,Superiority
Abstract implementation of the
ColumnValuePredicate interface.- Author:
- mmoquillon
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractColumnValuePredicate(DbColumn column, String refValue) Constructs a new predicate on the specified database table's column and with the given reference value. -
Method Summary
-
Field Details
-
NULL_VALUE
- See Also:
-
EMPTY_VALUE
- See Also:
-
-
Constructor Details
-
AbstractColumnValuePredicate
Constructs a new predicate on the specified database table's column and with the given reference value.- Parameters:
column- the column.refValue- a reference value.
-
-
Method Details
-
getColumn
Description copied from interface:ColumnValuePredicateGets the name of the column on which the predicate should be played.- Specified by:
getColumnin interfaceColumnValuePredicate- Returns:
- the name of a database table's column.
-
apply
public abstract org.silverpeas.core.persistence.jdbc.sql.JdbcSqlQuery apply(org.silverpeas.core.persistence.jdbc.sql.JdbcSqlQuery query)
-