|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StatementGenerator
Generator of SQLStatements.
| Field Summary | |
|---|---|
static String |
OPTION_ALLOW_NULLS
Option to allow null values as elements of an array or collection. |
static String |
OPTION_RESTRICT_DISCRIM
Option to add a WHERE clause to restrict to the discriminator value. |
static String |
OPTION_SELECT_NUCLEUS_TYPE
Option to add "NUCLEUS_TYPE" to the SELECT clause as kind of discriminator. |
| Method Summary | |
|---|---|
SQLStatement |
getStatement()
Accessor for the statement. |
boolean |
hasOption(String name)
Whether the generator has a particular option set. |
StatementGenerator |
setOption(String name)
Method to set a property. |
void |
setParentStatement(SQLStatement stmt)
Method to set the parent statement. |
StatementGenerator |
unsetOption(String name)
Method to unset a property. |
| Field Detail |
|---|
static final String OPTION_ALLOW_NULLS
static final String OPTION_SELECT_NUCLEUS_TYPE
static final String OPTION_RESTRICT_DISCRIM
| Method Detail |
|---|
SQLStatement getStatement()
void setParentStatement(SQLStatement stmt)
stmt - The parent statementStatementGenerator setOption(String name)
name - Name of the propertyStatementGenerator unsetOption(String name)
name - Name of the propertyboolean hasOption(String name)
name - Name of the option
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||