|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstantiationConstraint
An InstantiationConstraint represents a constraint on the keyword instantiations of a JokeStructure.
To constrain Schema
instantiations, implement the
handleSchema(SQLQuerySchema)
method.
To constrain Clause
instantiations, implement the
getSQLConstraint(Clause, List)
method.
Method Summary | |
---|---|
String |
getSQLConstraint(Clause clause,
List<SQLSelectElement> taqlsses)
Returns an SQL code snippet that is to be appended to the WHERE clause of the SQL query when instantiating the given Clause . |
void |
handleSchema(SQLQuerySchema schemaSQLQuery)
Modifies the given SQLQuerySchema to reflect this constraint. |
Methods inherited from interface standup.joke.JokeConstraint |
---|
validate |
Method Detail |
---|
void handleSchema(SQLQuerySchema schemaSQLQuery)
SQLQuerySchema
to reflect this constraint.
schemaSQLQuery
- String getSQLConstraint(Clause clause, List<SQLSelectElement> taqlsses)
Clause
.
clause
- the Clause
being instantiated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |