|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectappli.sqlplayer.util.SqlCommands
Contains the list of available sql commands
Field Summary | |
private Parameters |
psql
|
private java.util.ArrayList |
sqlCommands
|
private java.lang.String |
sqlFilename
|
Constructor Summary | |
SqlCommands()
Empty constructor |
|
SqlCommands(java.util.ArrayList sqlCommands)
Constructor. |
|
SqlCommands(java.lang.String filename)
Constructor from a file |
Method Summary | |
java.util.ArrayList |
getPartSqlCommands(java.lang.String category)
Get the SQL commands defined in a specific category |
int |
getSize()
Get the number of SQL commands in the list |
Sqlcmd |
getSql(int position)
Get the SQL Command at a specific position. |
Sqlcmd |
getSql(java.lang.String name)
Get the SQL Command by its name |
java.lang.String |
getSqlFilename()
Get the sql commands filename |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String sqlFilename
private Parameters psql
private java.util.ArrayList sqlCommands
Constructor Detail |
public SqlCommands()
public SqlCommands(java.lang.String filename)
filename
- name of the file containing the sql commandspublic SqlCommands(java.util.ArrayList sqlCommands)
sqlCommands
- ArrayList of SqlCommandsMethod Detail |
public java.lang.String getSqlFilename()
public int getSize()
public Sqlcmd getSql(int position)
position
- defines which SQL command to return
public Sqlcmd getSql(java.lang.String name)
name
- name of the command
public java.util.ArrayList getPartSqlCommands(java.lang.String category)
category
- full name of the category
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |