A C D E F G H I J L M N O P R S T V _

A

addRowMapping(Class, Class<? extends RowMapper>) - Static method in class RowMapperFactory
Add a new row mapper to the list of available row mappers.
arrayFromResultSet(ResultSet, int, Class, Calendar) - Method in class DefaultObjectResultSetMapper
Invoked when the return type of the method is an array type.

C

canCloseResultSet() - Method in class DefaultIteratorResultSetMapper
Can the ResultSet which this mapper uses be closed by the database control on return from its invoke() method?
canCloseResultSet() - Method in class DefaultResultSetMapper
Can the ResultSet which this mapper uses be closed by the database control?
canCloseResultSet() - Method in class DefaultRowSetResultSetMapper
Can the ResultSet which this mapper uses be closed by the database control?
canCloseResultSet() - Method in class ResultSetMapper
Can the ResultSet which this mapper uses be closed by the Jdbc control?
check(Declaration, AnnotationProcessorEnvironment) - Method in class JdbcControlChecker
Invoked by the control build-time infrastructure to process a declaration of a control extension (ie, an interface annotated with @ControlExtension), or a field instance of a control type.
clone() - Method in class JdbcControl.SQLParameter
Clone this parameter.
containsKey(String) - Method in class ResultSetHashMap
 
convertStringToSQLType(String) - Method in class TypeMappingsFactory
Convert a type string to its SQL Type int value.

D

DEFAULT_FETCH_SIZE - Static variable in interface JdbcControl
The default fetch size for result sets, indicates the database should determine the fetch size.
DefaultIteratorResultSetMapper - Class in org.apache.beehive.controls.system.jdbc
Default ResultSetMapper implementation for Iterators.
DefaultIteratorResultSetMapper() - Constructor for class DefaultIteratorResultSetMapper
 
DefaultObjectResultSetMapper - Class in org.apache.beehive.controls.system.jdbc
Default ResultSetMapper implementation for Objects.
DefaultObjectResultSetMapper() - Constructor for class DefaultObjectResultSetMapper
 
DefaultResultSetMapper - Class in org.apache.beehive.controls.system.jdbc
Default ResultSetMapper implementation for ResultSets.
DefaultResultSetMapper() - Constructor for class DefaultResultSetMapper
 
DefaultRowSetResultSetMapper - Class in org.apache.beehive.controls.system.jdbc
Default ResultSetMapper implementation for RowSets.
DefaultRowSetResultSetMapper() - Constructor for class DefaultRowSetResultSetMapper
 
DefaultXmlObjectResultSetMapper - Class in org.apache.beehive.controls.system.jdbc
Default ResultSetMapper implementation for XmlObjects.
DefaultXmlObjectResultSetMapper() - Constructor for class DefaultXmlObjectResultSetMapper
 
dir - Variable in class JdbcControl.SQLParameter
Parameter direction.

E

execPreparedStatement(Method, Object[]) - Method in class JdbcControlImpl
Create and exec a PreparedStatement
extractColumnValue(int, int) - Method in class RowMapper
Extract a column value from the ResultSet and return it as resultType.

F

fixNull(Class) - Method in class TypeMappingsFactory
Returns a primitive legal value as opposed to null if type is primitive.

G

get(String) - Method in class ResultSetHashMap
 
getConcurrencyType() - Method in enum JdbcControl.ScrollType
 
getConnection() - Method in interface JdbcControl
Returns a database connection to the server associated with the control.
getConnection() - Method in class JdbcControlImpl
Returns a database connection to the server associated with the control.
getContext() - Method in class JdbcControl.JndiContextFactory
Get a JNDI InitialContext instance.
getDataSourceCalendar() - Method in interface JdbcControl
Gets the Calendar instance used when setting and getting Date, Time, and Timestamp values.
getDataSourceCalendar() - Method in class JdbcControlImpl
Returns the Calendar used when working with time/date types.
getDirection() - Method in enum JdbcControl.FetchDirection
 
getFieldMappings() - Method in class RowToObjectMapper
Build the structures necessary to do the mapping
getHoldability() - Method in enum JdbcControl.HoldabilityType
 
getInstance() - Static method in class TypeMappingsFactory
Get an instance of this class.
getKeysFromResultSet() - Method in class RowMapper
Build a String array of column names from the ResultSet.
getKeysFromResultSet() - Method in class RowToXmlObjectMapper
Build a String array of column names from the ResultSet.
getRowMapper(ResultSet, Class, Calendar) - Static method in class RowMapperFactory
Get a RowMapper instance which knows how to map a ResultSet row to the given return type.
getSqlType(Class) - Method in class TypeMappingsFactory
Get the SQL type of a class, start at top level class an check all super classes until match is found.
getSqlType(Object) - Method in class TypeMappingsFactory
Get the SQL type for an object.
getType() - Method in enum JdbcControl.ScrollType
 
getTypeId(Class) - Method in class TypeMappingsFactory
Get the type id (defined by this class) for the given class.

H

hasNext() - Method in class ResultSetIterator
Does this iterater have more elements?

I

IN - Static variable in class JdbcControl.SQLParameter
IN direction constant.
INOUT - Static variable in class JdbcControl.SQLParameter
IN and OUT directions constant.
invoke(Method, Object[]) - Method in class JdbcControlImpl
Called by the Controls runtime to handle calls to methods of an extensible control.
isSetterMethod(Method) - Method in class RowMapper
Determine if the given method is a java bean setter method.

J

JdbcControl - Interface in org.apache.beehive.controls.system.jdbc
Simplifies access to a relational database from your Java code using SQL commands.
JdbcControl.ConnectionDataSource - Annotation Type in org.apache.beehive.controls.system.jdbc
Class-level annotation for making a DataSource available for use with the Jdbc Control.
JdbcControl.ConnectionDriver - Annotation Type in org.apache.beehive.controls.system.jdbc
Class-level annotation for making a ConnectionDriver available for use with the Jdbc Control.
JdbcControl.ConnectionOptions - Annotation Type in org.apache.beehive.controls.system.jdbc
Class level annotation used to set options on the JDBC connnection.
JdbcControl.FetchDirection - Enum in org.apache.beehive.controls.system.jdbc
Enumeration of supported fetch directions.
JdbcControl.HoldabilityType - Enum in org.apache.beehive.controls.system.jdbc
Enumeration of supported fetch directions.
JdbcControl.JndiContextFactory - Class in org.apache.beehive.controls.system.jdbc
Abstract base class for a user defined Jndi Context factory which can be used as a value for the jndiContextFactory member of the ConnectionDataSource annotation.
JdbcControl.JndiContextFactory() - Constructor for class JdbcControl.JndiContextFactory
 
JdbcControl.ScrollType - Enum in org.apache.beehive.controls.system.jdbc
Enumeration of supported types of scrolling ResultSets
JdbcControl.SQL - Annotation Type in org.apache.beehive.controls.system.jdbc
Method-level annotation for methods in a jcx which wish to access a database instance.
JdbcControl.SQLParameter - Class in org.apache.beehive.controls.system.jdbc
Nested class used for specifing parameters for a callable statement.
JdbcControl.SQLParameter(Object) - Constructor for class JdbcControl.SQLParameter
Create a new SQLParameter with the specified value.
JdbcControl.SQLParameter(Object, int) - Constructor for class JdbcControl.SQLParameter
Create a new SQLParameter with the specified value and SQL data type.
JdbcControl.SQLParameter(Object, int, int) - Constructor for class JdbcControl.SQLParameter
Create a new SQLParameter with the specified value, SQL data type and direction.
JdbcControl.TypeMapper - Annotation Type in org.apache.beehive.controls.system.jdbc
Class / method level annotation for mapping SQL user defined types (UDTs) to and from java objects.
JdbcControl.UndefinedIteratorType - Interface in org.apache.beehive.controls.system.jdbc
Default value for the iteratorElementType element of the SQL annotation.
JdbcControl.UndefinedResultSetMapper - Interface in org.apache.beehive.controls.system.jdbc
Default value for the resultSetMapper element of the SQL annotation.
JdbcControlChecker - Class in org.apache.beehive.controls.system.jdbc
Annotation checker for the JdbcControl.
JdbcControlChecker() - Constructor for class JdbcControlChecker
 
JdbcControlImpl - Class in org.apache.beehive.controls.system.jdbc
The implementation class for the database controller.
JdbcControlImpl() - Constructor for class JdbcControlImpl
Constructor

L

lookupType(Object, Object[]) - Method in class TypeMappingsFactory
 

M

mapRowToReturnType() - Method in class RowMapper
Map a ResultSet row to the return type class
mapRowToReturnType() - Method in class RowToHashMapMapper
Do the mapping.
mapRowToReturnType() - Method in class RowToMapMapper
Do the mapping.
mapRowToReturnType() - Method in class RowToObjectMapper
Do the mapping.
mapRowToReturnType() - Method in class RowToXmlObjectMapper
map a row from the ResultSet to an XmlObject instance
mapToResultType(ControlBeanContext, Method, ResultSet, Calendar) - Method in class DefaultIteratorResultSetMapper
Map a ResultSet to an object type Type of object to interate over is defined in the SQL annotation for the method.
mapToResultType(ControlBeanContext, Method, ResultSet, Calendar) - Method in class DefaultObjectResultSetMapper
Map the ResultSet to the method's return type.
mapToResultType(ControlBeanContext, Method, ResultSet, Calendar) - Method in class DefaultResultSetMapper
Maps a ResultSet to a ResultSet.
mapToResultType(ControlBeanContext, Method, ResultSet, Calendar) - Method in class DefaultRowSetResultSetMapper
Map a ResultSet to a RowSet.
mapToResultType(ControlBeanContext, Method, ResultSet, Calendar) - Method in class DefaultXmlObjectResultSetMapper
Map a ResultSet to an XmlObject.
mapToResultType(ControlBeanContext, Method, ResultSet, Calendar) - Method in class ResultSetMapper
Map a ResultSet to an object type
MAXROWS_ALL - Static variable in interface JdbcControl
This constant can be used as the value for the maxRows element of the SQL annotation.

N

next() - Method in class ResultSetIterator
Get the next element in the iteration.

O

onAquire() - Method in class JdbcControlImpl
Invoked by the controls runtime when a new instance of this class is aquired by the runtime
onRelease() - Method in class JdbcControlImpl
Invoked by the controls runtime when an instance of this class is released by the runtime
org.apache.beehive.controls.system.jdbc - package org.apache.beehive.controls.system.jdbc
 
OUT - Static variable in class JdbcControl.SQLParameter
OUT direction constant.

P

put(String, Object) - Method in class ResultSetHashMap
 

R

remove(String) - Method in class ResultSetHashMap
 
remove() - Method in class ResultSetIterator
Remove is currently not supported.
removeRowMapping(Class) - Static method in class RowMapperFactory
remove the row mapping for the specified class type.
replaceRowMapping(Class, Class<? extends RowMapper>) - Static method in class RowMapperFactory
Replace a row mapping.
ResultSetHashMap - Class in org.apache.beehive.controls.system.jdbc
The ResultSetHashMap class extends a standard HashMap and populates it with data derived from a JDBC ResultSet.
ResultSetIterator - Class in org.apache.beehive.controls.system.jdbc
Used by DefaultIteratorResultSetMapper for mapping a ResultSet to an Iterator type.
ResultSetMapper - Class in org.apache.beehive.controls.system.jdbc
Extend this class to create new ResultSet mappers.
ResultSetMapper() - Constructor for class ResultSetMapper
 
RowMapper - Class in org.apache.beehive.controls.system.jdbc
Abstract base class for all row mappers.
RowMapper(ResultSet, Class<?>, Calendar) - Constructor for class RowMapper
Create a new RowMapper for the specified ResultSet and return type Class.
RowMapperFactory - Class in org.apache.beehive.controls.system.jdbc
Factory for creating row mappers.
RowMapperFactory() - Constructor for class RowMapperFactory
 
RowToHashMapMapper - Class in org.apache.beehive.controls.system.jdbc
Map a ResultSet row to a java.util.HashMap object
RowToMapMapper - Class in org.apache.beehive.controls.system.jdbc
Map a ResultSet row to a java.util.Map object.
RowToObjectMapper - Class in org.apache.beehive.controls.system.jdbc
Map a ResultSet row to an Object.
RowToXmlObjectMapper - Class in org.apache.beehive.controls.system.jdbc
Maps a ResultSet row to an XmlObject.

S

setDataSourceCalendar(Calendar) - Method in interface JdbcControl
Sets the Calendar instance that should be used when setting and getting Date, Time, and Timestamp values.
setDataSourceCalendar(Calendar) - Method in class JdbcControlImpl
Sets the Calendar used when working with time/date types
setDefaultRowMapping(Class<? extends RowMapper>) - Static method in class RowMapperFactory
Sets the rowmapper for Object.class
setDefaultXmlRowMapping(Class, Class<? extends RowMapper>) - Static method in class RowMapperFactory
Sets the rowmapper for XmlObject.class

T

toObjectArray(Object) - Static method in class TypeMappingsFactory
Create an Object array for the given array.
toString() - Method in enum JdbcControl.HoldabilityType
 
toString() - Method in enum JdbcControl.ScrollType
 
type - Variable in class JdbcControl.SQLParameter
Parameter SQL data type.
TYPE_UNKNOWN - Static variable in class TypeMappingsFactory
 
TypeMappingsFactory - Class in org.apache.beehive.controls.system.jdbc
Currently contains all types of type mappings.

V

value - Variable in class JdbcControl.SQLParameter
Parameter value.
valueOf(String) - Static method in enum JdbcControl.FetchDirection
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum JdbcControl.HoldabilityType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum JdbcControl.ScrollType
Returns the enum constant of this type with the specified name.
values() - Static method in enum JdbcControl.FetchDirection
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum JdbcControl.HoldabilityType
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum JdbcControl.ScrollType
Returns an array containing the constants of this enum type, in the order they're declared.

_

_cal - Variable in class RowMapper
Calendar instance for date/time mappings.
_connection - Variable in class JdbcControlImpl
 
_connectionDataSource - Variable in class JdbcControlImpl
 
_connectionDriver - Variable in class JdbcControlImpl
 
_context - Variable in class JdbcControlImpl
 
_dataSource - Variable in class JdbcControlImpl
 
_resourceContext - Variable in class JdbcControlImpl
 
_resultMappers - Static variable in class JdbcControlImpl
 
_resultSet - Variable in class RowMapper
ResultSet to map.
_returnTypeClass - Variable in class RowMapper
Class to map ResultSet Rows to.
_setterRegex - Static variable in class RowMapper
 
_tmf - Static variable in class DefaultObjectResultSetMapper
static reference to the TypeMappingsFactory for this class
_tmf - Static variable in class RowMapper
 
_xmlObjectClass - Static variable in class JdbcControlImpl
 

A C D E F G H I J L M N O P R S T V _