|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public boolean isNullable()
public DatastoreField getDatastoreField()
public JavaTypeMapping getJavaTypeMapping()
public 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 valuepublic 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 valuepublic 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 valuepublic 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 valuepublic 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 valuepublic 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 valuepublic 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 valuepublic 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 valuepublic 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 valuepublic 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 valuepublic 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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 |