|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArgumentHolder
An argument to a select SQL statement. After the query is constructed, the caller can set the value on this argument and run the query. Then the argument can be set again and the query re-executed. This is equivalent in SQL to a ? argument.
Method Summary | |
---|---|
String |
getColumnName()
Return the column-name associated with this argument. |
FieldType |
getFieldType()
Return the field type associated with this class. |
Object |
getSqlArgValue()
Return the value associated with this argument suitable for passing to SQL. |
void |
setMetaInfo(String columnName,
FieldType fieldType)
Used internally by the package to set the column-name associated with this argument. |
void |
setValue(Object value)
Set the value associated with this argument. |
Method Detail |
---|
String getColumnName()
void setMetaInfo(String columnName, FieldType fieldType)
void setValue(Object value)
Object getSqlArgValue() throws SQLException
SQLException
FieldType getFieldType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |