|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.usda.gdpc.database.SQLStatements
| Constructor Summary | |
SQLStatements()
SQLStatements constructor. |
|
| Method Summary | |
void |
addConstant(java.lang.Object constant)
Adds a constant value that will be added to the final list of distinct values. |
void |
addSQLStatements(SQLStatements statements)
Adds another SQL statements instance to this one. |
void |
addStatement(java.lang.String statement,
ExtraInfo info)
Add a SQL statement with its extra information. |
java.lang.Object[] |
getConstants()
Returns a list of the constants. |
ExtraInfo[] |
getExtraInfo()
This gets a list of extra information which goes with the statements. |
java.lang.String[] |
getStatements()
This gets a list of statements. |
int |
size()
Returns the number of statements defined in this instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SQLStatements()
| Method Detail |
public void addStatement(java.lang.String statement,
ExtraInfo info)
statement - the statementinfo - the extra information. null if not needed.public java.lang.String[] getStatements()
public ExtraInfo[] getExtraInfo()
public void addConstant(java.lang.Object constant)
constant - constantpublic java.lang.Object[] getConstants()
public void addSQLStatements(SQLStatements statements)
statements - SQL statementspublic int size()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||