public abstract class AbstractWhereClauseMatchCriteria extends java.lang.Object implements WhereClauseMatchCriteria
toString() method of this class produces a where clause beginning
with the text "WHERE" such that is can be directly appended to a SQL
statement without a where clause to narrow results.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.StringBuilder |
sbClause
Stores where clause string
|
| Constructor and Description |
|---|
AbstractWhereClauseMatchCriteria() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCriteria(java.lang.String column)
Adds a parameterized selection criterion of the form column=? to the
where clause.
|
protected void |
addCriteria(java.lang.String column,
java.lang.String operator)
Adds a parameterized selection criterion of the form "column [operator] ?"
to the where clause.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameterValuespublic java.lang.String toString()
toString in interface WhereClauseMatchCriteriatoString in class java.lang.Objectprotected void addCriteria(java.lang.String column)
column - Database column name.protected void addCriteria(java.lang.String column,
java.lang.String operator)
column - Database column name.operator - the operator to use to separate.Copyright © 2007-2019 Apereo. All Rights Reserved.