| org.jpox.store.mapping.DatastoreMapping
DatastoreMapping | public interface DatastoreMapping (Code) | | Representation of the mapping of a datastore type.
version: $Revision: 1.7 $ |
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 . |
getBoolean | boolean getBoolean(Object resultSet, int exprIndex)(Code) | | Obtains a value from resultSet
at position specified by exprIndex .
Parameters: resultSet - an object returned from the datastore with values Parameters: exprIndex - the position of the value in the result the value |
getByte | byte getByte(Object resultSet, int exprIndex)(Code) | | Obtains a value from resultSet
at position specified by exprIndex .
Parameters: resultSet - an object returned from the datastore with values Parameters: exprIndex - the position of the value in the result the value |
getChar | char getChar(Object resultSet, int exprIndex)(Code) | | Obtains a value from resultSet
at position specified by exprIndex .
Parameters: resultSet - an object returned from the datastore with values Parameters: exprIndex - the position of the value in the result the value |
getDatastoreField | DatastoreField getDatastoreField()(Code) | | The datastore field mapped.
the DatastoreField |
getDouble | double getDouble(Object resultSet, int exprIndex)(Code) | | Obtains a value from resultSet
at position specified by exprIndex .
Parameters: resultSet - an object returned from the datastore with values Parameters: exprIndex - the position of the value in the result the value |
getFloat | float getFloat(Object resultSet, int exprIndex)(Code) | | Obtains a value from resultSet
at position specified by exprIndex .
Parameters: resultSet - an object returned from the datastore with values Parameters: exprIndex - the position of the value in the result the value |
getInt | int getInt(Object resultSet, int exprIndex)(Code) | | Obtains a value from resultSet
at position specified by exprIndex .
Parameters: resultSet - an object returned from the datastore with values Parameters: exprIndex - the position of the value in the result the value |
getJavaTypeMapping | JavaTypeMapping getJavaTypeMapping()(Code) | | The mapping for the java type that this datastore mapping is used by.
This will return null if this simply maps a datastore field in the datastore and has
no associated java type in a class.
the JavaTypeMapping |
getLong | long getLong(Object resultSet, int exprIndex)(Code) | | Obtains a value from resultSet
at position specified by exprIndex .
Parameters: resultSet - an object returned from the datastore with values Parameters: exprIndex - the position of the value in the result the value |
getObject | Object getObject(Object resultSet, int exprIndex)(Code) | | Obtains a value from resultSet
at position specified by exprIndex .
Parameters: resultSet - an object returned from the datastore with values Parameters: exprIndex - the position of the value in the result the value |
getShort | short getShort(Object resultSet, int exprIndex)(Code) | | Obtains a value from resultSet
at position specified by exprIndex .
Parameters: resultSet - an object returned from the datastore with values Parameters: exprIndex - the position of the value in the result the value |
getString | String getString(Object resultSet, int exprIndex)(Code) | | Obtains a value from resultSet
at position specified by exprIndex .
Parameters: resultSet - an object returned from the datastore with values Parameters: exprIndex - the position of the value in the result the value |
isBitBased | boolean isBitBased()(Code) | | Accessor for whether the mapping is bit-based.
Whether the mapping is bit based |
isBooleanBased | boolean isBooleanBased()(Code) | | Accessor for whether the mapping is boolean-based.
Whether the mapping is boolean based |
isDecimalBased | boolean isDecimalBased()(Code) | | Accessor for whether the mapping is decimal-based.
Whether the mapping is decimal based |
isIntegerBased | boolean isIntegerBased()(Code) | | Accessor for whether the mapping is integer-based.
Whether the mapping is integer based |
isNullable | boolean isNullable()(Code) | | Whether the field mapped is nullable.
true if is nullable |
isStringBased | boolean isStringBased()(Code) | | Accessor for whether the mapping is string-based.
Whether the mapping is string based |
setBoolean | void setBoolean(Object preparedStatement, int paramIndex, boolean value)(Code) | | Sets a value into preparedStatement
at position specified by paramIndex .
Parameters: preparedStatement - a datastore object that executes statements in the database Parameters: paramIndex - the position of the value in the statement Parameters: value - the value |
setByte | void setByte(Object preparedStatement, int paramIndex, byte value)(Code) | | Sets a value into preparedStatement
at position specified by paramIndex .
Parameters: preparedStatement - a datastore object that executes statements in the database Parameters: paramIndex - the position of the value in the statement Parameters: value - the value |
setChar | void setChar(Object preparedStatement, int paramIndex, char value)(Code) | | Sets a value into preparedStatement
at position specified by paramIndex .
Parameters: preparedStatement - a datastore object that executes statements in the database Parameters: paramIndex - the position of the value in the statement Parameters: value - the value |
setDouble | void setDouble(Object preparedStatement, int paramIndex, double value)(Code) | | Sets a value into preparedStatement
at position specified by paramIndex .
Parameters: preparedStatement - a datastore object that executes statements in the database Parameters: paramIndex - the position of the value in the statement Parameters: value - the value |
setFloat | void setFloat(Object preparedStatement, int paramIndex, float value)(Code) | | Sets a value into preparedStatement
at position specified by paramIndex .
Parameters: preparedStatement - a datastore object that executes statements in the database Parameters: paramIndex - the position of the value in the statement Parameters: value - the value |
setInt | void setInt(Object preparedStatement, int paramIndex, int value)(Code) | | Sets a value into preparedStatement
at position specified by paramIndex .
Parameters: preparedStatement - a datastore object that executes statements in the database Parameters: paramIndex - the position of the value in the statement Parameters: value - the value |
setLong | void setLong(Object preparedStatement, int paramIndex, long value)(Code) | | Sets a value into preparedStatement
at position specified by paramIndex .
Parameters: preparedStatement - a datastore object that executes statements in the database Parameters: paramIndex - the position of the value in the statement Parameters: value - the value |
setObject | void setObject(Object preparedStatement, int paramIndex, Object value)(Code) | | Sets a value into preparedStatement
at position specified by paramIndex .
Parameters: preparedStatement - a datastore object that executes statements in the database Parameters: paramIndex - the position of the value in the statement Parameters: value - the value |
setShort | void setShort(Object preparedStatement, int paramIndex, short value)(Code) | | Sets a value into preparedStatement
at position specified by paramIndex .
Parameters: preparedStatement - a datastore object that executes statements in the database Parameters: paramIndex - the position of the value in the statement Parameters: value - the value |
setString | void setString(Object preparedStatement, int paramIndex, String value)(Code) | | Sets a value into preparedStatement
at position specified by paramIndex .
Parameters: preparedStatement - a datastore object that executes statements in the database Parameters: paramIndex - the position of the value in the statement Parameters: value - the value |
|
|