|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.db.SQLImpl
public final class SQLImpl
represents a SQL Statement with his defined arguments for a prepared statement
Constructor Summary | |
---|---|
SQLImpl(String strSQL)
Constructor only with SQL String |
|
SQLImpl(String strSQL,
SQLItem[] items)
Constructor with SQL String and SQL Items |
Method Summary | |
---|---|
void |
addItems(SQLItem item)
|
SQL |
duplicate()
|
static SQL |
duplicate(SQL sql)
|
SQLItem[] |
getItems()
|
int |
getPosition()
|
String |
getSQLString()
|
void |
setPosition(int position)
|
void |
setSQLString(String strSQL)
|
long |
sizeOf()
return the size of the object |
String |
toHashString()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SQLImpl(String strSQL)
strSQL
- SQL Stringpublic SQLImpl(String strSQL, SQLItem[] items)
strSQL
- SQL Stringitems
- SQL ItemsMethod Detail |
---|
public void addItems(SQLItem item)
public SQLItem[] getItems()
getItems
in interface SQL
public int getPosition()
getPosition
in interface SQL
public void setPosition(int position)
setPosition
in interface SQL
position
- The position to set.public String getSQLString()
getSQLString
in interface SQL
public void setSQLString(String strSQL)
setSQLString
in interface SQL
strSQL
- sets the SQL Stringpublic String toString()
toString
in class Object
public String toHashString()
toHashString
in interface SQL
public long sizeOf()
Sizeable
sizeOf
in interface Sizeable
public static SQL duplicate(SQL sql)
public SQL duplicate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |