|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.persist.jdbc.DBAccess.ParameterizedStatement
public static class DBAccess.ParameterizedStatement
The DBAccess.ParameterizedStatement is a simple, mutable container for
a statement and its values.
Note that this is implementation, class and mechanism is subject to change in a future version. For its stability can and will not be guaranteed in any way.
| Constructor Summary | |
|---|---|
DBAccess.ParameterizedStatement(String pStatement,
List<String> pNames,
List<Object> pValues,
Map<String,CompareCondition> pNameToCondition)
Creates a new instance of DBAccess.ParameterizedStatement. |
|
| Method Summary | |
|---|---|
List<String> |
getNames()
Gets the names. |
Map<String,CompareCondition> |
getNameToCondition()
Gets the name to condition. |
String |
getStatement()
Gets the statement. |
List<Object> |
getValues()
Gets the values. |
Object[] |
getValuesAsArray()
Gets the getValues() as array. |
void |
setStatement(String pStatement)
Sets the statement. |
void |
setValues(List<Object> pValues)
Sets the values of the parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DBAccess.ParameterizedStatement(String pStatement,
List<String> pNames,
List<Object> pValues,
Map<String,CompareCondition> pNameToCondition)
DBAccess.ParameterizedStatement.
pStatement - the statement.pNames - the List of names.pValues - the values.pNameToCondition - the Map of names to CompareConditions.| Method Detail |
|---|
public List<String> getNames()
names.
names.public Map<String,CompareCondition> getNameToCondition()
name to condition.
name to condition.public String getStatement()
public List<Object> getValues()
values.
values.public Object[] getValuesAsArray()
getValues() as array.
Note that this method "bakes" the array, meaning that it is craeted only once on the first call.
getValues() as array.public void setStatement(String pStatement)
pStatement - the statement.public void setValues(List<Object> pValues)
pValues - the values of the parameters.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||