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
public abstract class AbstractColumnValuePredicate extends Object implements ColumnValuePredicate
Abstract implementation of theColumnValuePredicateinterface.- Author:
- mmoquillon
-
-
Field Summary
Fields Modifier and Type Field Description static StringEMPTY_VALUEstatic StringNULL_VALUE
-
Constructor Summary
Constructors Constructor Description AbstractColumnValuePredicate(DbColumn column, String refValue)Constructs a new predicate on the specified database table's column and with the given reference value.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract org.silverpeas.core.persistence.jdbc.sql.JdbcSqlQueryapply(org.silverpeas.core.persistence.jdbc.sql.JdbcSqlQuery query)DbColumngetColumn()Gets the name of the column on which the predicate should be played.
-
-
-
Field Detail
-
NULL_VALUE
public static final String NULL_VALUE
- See Also:
- Constant Field Values
-
EMPTY_VALUE
public static final String EMPTY_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getColumn
public DbColumn 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)
-
-