|
||||||||||
| 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(Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
byte |
getByte(Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
char |
getChar(Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
DatastoreField |
getDatastoreField()
The datastore field mapped. |
double |
getDouble(Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
float |
getFloat(Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
int |
getInt(Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
JavaTypeMapping |
getJavaTypeMapping()
The mapping for the java type that this datastore mapping is used by. |
long |
getLong(Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
Object |
getObject(Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
short |
getShort(Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
String |
getString(Object resultSet,
int exprIndex)
Obtains a value from resultSet
at position specified by exprIndex. |
boolean |
isBitBased()
Accessor for whether the mapping is bit-based. |
boolean |
isBooleanBased()
Accessor for whether the mapping is boolean-based. |
boolean |
isDecimalBased()
Accessor for whether the mapping is decimal-based. |
boolean |
isIntegerBased()
Accessor for whether the mapping is integer-based. |
boolean |
isNullable()
Whether the field mapped is nullable. |
boolean |
isStringBased()
Accessor for whether the mapping is string-based. |
void |
setBoolean(Object preparedStatement,
int paramIndex,
boolean value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setByte(Object preparedStatement,
int paramIndex,
byte value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setChar(Object preparedStatement,
int paramIndex,
char value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setDouble(Object preparedStatement,
int paramIndex,
double value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setFloat(Object preparedStatement,
int paramIndex,
float value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setInt(Object preparedStatement,
int paramIndex,
int value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setLong(Object preparedStatement,
int paramIndex,
long value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setObject(Object preparedStatement,
int paramIndex,
Object value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setShort(Object preparedStatement,
int paramIndex,
short value)
Sets a value into preparedStatement
at position specified by paramIndex. |
void |
setString(Object preparedStatement,
int paramIndex,
String value)
Sets a value into preparedStatement
at position specified by paramIndex. |
| Method Detail |
|---|
boolean isNullable()
DatastoreField getDatastoreField()
JavaTypeMapping getJavaTypeMapping()
boolean isDecimalBased()
boolean isIntegerBased()
boolean isStringBased()
boolean isBitBased()
boolean isBooleanBased()
void setBoolean(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(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(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(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(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(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(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(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(Object preparedStatement,
int paramIndex,
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(Object preparedStatement,
int paramIndex,
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(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(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(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(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(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(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(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(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
String getString(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
Object getObject(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 | |||||||||