|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.activity.sql.parameters.ValueInput
Class managing simple value input to a parameterised SQL statement.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private int |
mPosition
Position of this parameter |
private java.lang.Object |
mValue
Static value of this parameter |
Constructor Summary | |
ValueInput(java.lang.Object value)
Constructor. |
Method Summary | |
java.lang.Object |
getNextObject()
Get the next value for the parameter. |
void |
initialise(int position,
ActivityContext context)
Optionally initialise a parameter using the current activity context. |
boolean |
isDone()
Indicates whether the ResultSet is closed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private java.lang.Object mValue
private int mPosition
Constructor Detail |
public ValueInput(java.lang.Object value)
value
- Value of parameterMethod Detail |
public java.lang.Object getNextObject() throws java.util.NoSuchElementException, ParameterAccessException
ParameterInput
getNextObject
in interface ParameterInput
ParameterAccessException
- If a problem occurs.
java.util.NoSuchElementException
- If there are no more values.public void initialise(int position, ActivityContext context) throws ParameterSetupException
ParameterInput
initialise
in interface ParameterInput
position
- Current position of this parametercontext
- Activity context
ParameterSetupException
- If some error occurs due to the client's settings.public boolean isDone()
ResultSet
is closed.
isDone
in interface ParameterInput
true
always.ParameterInput.isDone()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |