|
||||||||||
| 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(java.lang.String pStatement,
java.util.List<java.lang.String> pNames,
java.util.List<java.lang.Object> pValues,
java.util.Map<java.lang.String,CompareCondition> pNameToCondition)
Creates a new instance of DBAccess.ParameterizedStatement. |
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getNames()
Gets the names. |
java.util.Map<java.lang.String,CompareCondition> |
getNameToCondition()
Gets the name to condition. |
java.lang.String |
getStatement()
Gets the statement. |
java.util.List<java.lang.Object> |
getValues()
Gets the values. |
java.lang.Object[] |
getValuesAsArray()
Gets the getValues() as array. |
void |
setStatement(java.lang.String pStatement)
Sets the statement. |
void |
setValues(java.util.List<java.lang.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(java.lang.String pStatement,
java.util.List<java.lang.String> pNames,
java.util.List<java.lang.Object> pValues,
java.util.Map<java.lang.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 java.util.List<java.lang.String> getNames()
names.
names.public java.util.Map<java.lang.String,CompareCondition> getNameToCondition()
name to condition.
name to condition.public java.lang.String getStatement()
public java.util.List<java.lang.Object> getValues()
values.
values.public java.lang.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(java.lang.String pStatement)
pStatement - the statement.public void setValues(java.util.List<java.lang.Object> pValues)
pValues - the values of the parameters.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||