|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DatastoreMapping
Representation of the mapping of a datastore type.
| Method Summary | |
|---|---|
boolean |
getBoolean(java.lang.Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
byte |
getByte(java.lang.Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
char |
getChar(java.lang.Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
DatastoreField |
getDatastoreField()
The datastore field mapped |
double |
getDouble(java.lang.Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
float |
getFloat(java.lang.Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
int |
getInt(java.lang.Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
JavaTypeMapping |
getJavaTypeMapping()
The mapping for the java type |
long |
getLong(java.lang.Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
java.lang.Object |
getObject(java.lang.Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
short |
getShort(java.lang.Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
java.lang.String |
getString(java.lang.Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
boolean |
isNullable()
Whether the field mapped is nullable |
void |
setBoolean(java.lang.Object preparedStatement,
int paramIndex,
boolean value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setByte(java.lang.Object preparedStatement,
int paramIndex,
byte value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setChar(java.lang.Object preparedStatement,
int paramIndex,
char value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setDouble(java.lang.Object preparedStatement,
int paramIndex,
double value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setFloat(java.lang.Object preparedStatement,
int paramIndex,
float value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setInt(java.lang.Object preparedStatement,
int paramIndex,
int value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setLong(java.lang.Object preparedStatement,
int paramIndex,
long value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setObject(java.lang.Object preparedStatement,
int paramIndex,
java.lang.Object value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setShort(java.lang.Object preparedStatement,
int paramIndex,
short value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setString(java.lang.Object preparedStatement,
int paramIndex,
java.lang.String value)
Sets a value into preparedStatement
at position specified by paramIndex. |
| Method Detail |
|---|
boolean isNullable()
DatastoreField getDatastoreField()
JavaTypeMapping getJavaTypeMapping()
void setBoolean(java.lang.Object preparedStatement,
int paramIndex,
boolean value)
value into preparedStatement
at position specified by paramIndex.
preparedStatement - a datastore object that executes statements in the databaseparamIndex - the position of the value in the statementvalue - the value
void setChar(java.lang.Object preparedStatement,
int paramIndex,
char value)
value into preparedStatement
at position specified by paramIndex.
preparedStatement - a datastore object that executes statements in the databaseparamIndex - the position of the value in the statementvalue - the value
void setByte(java.lang.Object preparedStatement,
int paramIndex,
byte value)
value into preparedStatement
at position specified by paramIndex.
preparedStatement - a datastore object that executes statements in the databaseparamIndex - the position of the value in the statementvalue - the value
void setShort(java.lang.Object preparedStatement,
int paramIndex,
short value)
value into preparedStatement
at position specified by paramIndex.
preparedStatement - a datastore object that executes statements in the databaseparamIndex - the position of the value in the statementvalue - the value
void setInt(java.lang.Object preparedStatement,
int paramIndex,
int value)
value into preparedStatement
at position specified by paramIndex.
preparedStatement - a datastore object that executes statements in the databaseparamIndex - the position of the value in the statementvalue - the value
void setLong(java.lang.Object preparedStatement,
int paramIndex,
long value)
value into preparedStatement
at position specified by paramIndex.
preparedStatement - a datastore object that executes statements in the databaseparamIndex - the position of the value in the statementvalue - the value
void setFloat(java.lang.Object preparedStatement,
int paramIndex,
float value)
value into preparedStatement
at position specified by paramIndex.
preparedStatement - a datastore object that executes statements in the databaseparamIndex - the position of the value in the statementvalue - the value
void setDouble(java.lang.Object preparedStatement,
int paramIndex,
double value)
value into preparedStatement
at position specified by paramIndex.
preparedStatement - a datastore object that executes statements in the databaseparamIndex - the position of the value in the statementvalue - the value
void setString(java.lang.Object preparedStatement,
int paramIndex,
java.lang.String value)
value into preparedStatement
at position specified by paramIndex.
preparedStatement - a datastore object that executes statements in the databaseparamIndex - the position of the value in the statementvalue - the value
void setObject(java.lang.Object preparedStatement,
int paramIndex,
java.lang.Object value)
value into preparedStatement
at position specified by paramIndex.
preparedStatement - a datastore object that executes statements in the databaseparamIndex - the position of the value in the statementvalue - the value
boolean getBoolean(java.lang.Object resultSet,
int exprIndex)
resultSet
at position specified by exprIndex.
resultSet - an object returned from the datastore with valuesexprIndex - the position of the value in the result
char getChar(java.lang.Object resultSet,
int exprIndex)
resultSet
at position specified by exprIndex.
resultSet - an object returned from the datastore with valuesexprIndex - the position of the value in the result
byte getByte(java.lang.Object resultSet,
int exprIndex)
resultSet
at position specified by exprIndex.
resultSet - an object returned from the datastore with valuesexprIndex - the position of the value in the result
short getShort(java.lang.Object resultSet,
int exprIndex)
resultSet
at position specified by exprIndex.
resultSet - an object returned from the datastore with valuesexprIndex - the position of the value in the result
int getInt(java.lang.Object resultSet,
int exprIndex)
resultSet
at position specified by exprIndex.
resultSet - an object returned from the datastore with valuesexprIndex - the position of the value in the result
long getLong(java.lang.Object resultSet,
int exprIndex)
resultSet
at position specified by exprIndex.
resultSet - an object returned from the datastore with valuesexprIndex - the position of the value in the result
float getFloat(java.lang.Object resultSet,
int exprIndex)
resultSet
at position specified by exprIndex.
resultSet - an object returned from the datastore with valuesexprIndex - the position of the value in the result
double getDouble(java.lang.Object resultSet,
int exprIndex)
resultSet
at position specified by exprIndex.
resultSet - an object returned from the datastore with valuesexprIndex - the position of the value in the result
java.lang.String getString(java.lang.Object resultSet,
int exprIndex)
resultSet
at position specified by exprIndex.
resultSet - an object returned from the datastore with valuesexprIndex - the position of the value in the result
java.lang.Object getObject(java.lang.Object resultSet,
int exprIndex)
resultSet
at position specified by exprIndex.
resultSet - an object returned from the datastore with valuesexprIndex - the position of the value in the result
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||