com.ibm.dse.tools.workbench.base
Interface Clause
- All Known Implementing Classes:
- DefaultClause
- public interface Clause
This interface defines the behaviour of a where clause
Method Summary |
void |
addCondition(Condition condition)
Adds a condition to the list of conditions. |
java.lang.String |
getClauseString()
Returns the String with the complete where clause. |
java.lang.String[] |
getParameters()
Returns the list of parameters to be passed to the query |
addCondition
public void addCondition(Condition condition)
- Adds a condition to the list of conditions.
- Parameters:
cond
- com.ibm.dse.tools.workbench.base.Condition The condition to be added.
getClauseString
public java.lang.String getClauseString()
- Returns the String with the complete where clause.
- Returns:
- java.lang.String - The complete where clause.
getParameters
public java.lang.String[] getParameters()
- Returns the list of parameters to be passed to the query
- Returns:
- java.lang.String[]