A B C D E F G I K L N P Q R S T U

A

abort() - Method in class com.youyounet.db.DBContext
abort the transaction if the context is not closed and the connection is not closed.
AUTO_INCREMENT - Static variable in class com.youyounet.db.ColumnAttribute
 

B

beanProperty - Variable in class com.youyounet.db.Column
 
buildColumns() - Method in class com.youyounet.db.Table
 

C

clear() - Method in class com.youyounet.db.SimpleBean
Clear all the properties of the bean.
close() - Static method in class com.youyounet.db.DBInterface
Do the cleaning work, clase the DataSource object.
cls - Variable in class com.youyounet.db.Table
 
collection - Variable in class com.youyounet.db.SimpleCollectionBean
 
Column - class com.youyounet.db.Column.
Column is a help class that encapsulate the information needed to map a Data Bean's property to a database table column.
Column(Field, ColumnAttribute) - Constructor for class com.youyounet.db.Column
public constructor
columnAttribute - Variable in class com.youyounet.db.Column
 
ColumnAttribute - class com.youyounet.db.ColumnAttribute.
ColumnAttribute is a help class that encapsulate the information of a database table column
ColumnAttribute(String) - Constructor for class com.youyounet.db.ColumnAttribute
Creates a new instance of ColumnAttribute.
ColumnAttribute(String, int) - Constructor for class com.youyounet.db.ColumnAttribute
Creates a new instance of ColumnAttribute.
columns - Variable in class com.youyounet.db.Table
 
columnType - Variable in class com.youyounet.db.Column
 
com.youyounet.db - package com.youyounet.db
 
commit() - Method in class com.youyounet.db.DBContext
commit the transaction if the context is not closed and the connection is not closed.
con - Variable in class com.youyounet.db.DBContext
 
create() - Method in class com.youyounet.db.DataBean
This method is the same as create(boolean ignorAutoIncrement), with the ignorAutoIncrement parameter set to false.
create(boolean) - Method in class com.youyounet.db.DataBean
Insert this calling data bean as a new row to its associated table.
create(Connection) - Method in class com.youyounet.db.DataBean
This method is the same as create(Connection con, boolean ignorAutoIncrement), with the ignorAutoIncrement parameter set to false.
create(Connection, boolean) - Method in class com.youyounet.db.DataBean
Insert this calling data bean as a new row to its associated table.
create(DBContext) - Method in class com.youyounet.db.DataBean
This method is the same as create(DBContext c, boolean ignorAutoIncrement), with the ignorAutoIncrement parameter set to false.
create(DBContext, boolean) - Method in class com.youyounet.db.DataBean
Insert this calling data bean as a new row to its associated table.
create(Object) - Method in class com.youyounet.db.Table
Insert the data bean obj as a new row to the corresponding database table.
create(Object, boolean) - Method in class com.youyounet.db.Table
Insert the data bean obj as a new row to the corresponding database table.
create(Object, Connection) - Method in class com.youyounet.db.Table
Insert the data bean obj as a new row to the corresponding database table.
create(Object, Connection, boolean) - Method in class com.youyounet.db.Table
Insert the data bean obj as a new row to the corresponding database table.
create(String) - Method in class com.youyounet.db.SimpleBean
Insert the bean to the database table specified.
create(String, DBContext) - Method in class com.youyounet.db.SimpleBean
Insert the bean to the database table specified.

D

DataBean - class com.youyounet.db.DataBean.
DataBean is the abstract class that should be subclassed to define the actual data bean classes.
DataBean() - Constructor for class com.youyounet.db.DataBean
Default constructor.
DataTransferException - exception com.youyounet.db.DataTransferException.
 
DataTransferException() - Constructor for class com.youyounet.db.DataTransferException
Creates a new instance of DataTransferException
DataTransferException(String) - Constructor for class com.youyounet.db.DataTransferException
Creates a new instance of DataTransferException with the customized message
DataType - class com.youyounet.db.DataType.
DataType is a hlep class used to map the Java object types tp Java SQL data Types
DataType() - Constructor for class com.youyounet.db.DataType
 
DBContext - class com.youyounet.db.DBContext.
A DBContext Object is usually used as a database transaction context within an application.
DBContext() - Constructor for class com.youyounet.db.DBContext
public constructor
DBInterface - class com.youyounet.db.DBInterface.
This class is intended to be customized by the users who want to use their own database connection pooling package.
DBInterface() - Constructor for class com.youyounet.db.DBInterface
 
delete(String) - Method in class com.youyounet.db.Table
Delete data beans from this table using the condition specified.
delete(String) - Method in class com.youyounet.db.DataBean
Delete data beans from this calling bean's associated table using the condition specified.
delete(String, Connection) - Method in class com.youyounet.db.Table
Delete data beans from this table using the condition specified.
delete(String, Connection) - Method in class com.youyounet.db.DataBean
Delete data beans from this calling bean's associated table using the condition specified.
delete(String, DBContext) - Method in class com.youyounet.db.DataBean
Delete data beans from this calling bean's associated table using the condition specified.
delete(String, String) - Static method in class com.youyounet.db.Table
Delete data beans from the table using the condition specified.
delete(String, String, Connection) - Static method in class com.youyounet.db.Table
Delete from the database table, using the condition specified.
deleteSql - Variable in class com.youyounet.db.Table
 
ds - Static variable in class com.youyounet.db.DBInterface
 

E

exists() - Method in class com.youyounet.db.DataBean
check if the calling data bean exists in its associated table.
exists(Object) - Method in class com.youyounet.db.Table
check if the data bean obj exists in the table.
exists(String) - Method in class com.youyounet.db.DataBean
check if the calling data bean exists in its associated table and is also satisfied by the SQL condition passed in.
exists(String, String) - Method in class com.youyounet.db.DataBean
Check if the calling data bean exists in its associated table and is also satisfied by the SQL condition passed in.

F

fieldMap - Variable in class com.youyounet.db.Table
 
find(Object, String) - Method in class com.youyounet.db.Table
Check whether the data bean obj exists in the corresponding table satisfied by the additional SQL condition if present.
find(String) - Method in class com.youyounet.db.DataBean
Check whether the calling data bean exists in its associated table satisfied by the additional SQL condition if present.

G

get(String) - Method in class com.youyounet.db.SimpleBean
Get the property value of the property named propertyName.
getBeanProperty() - Method in class com.youyounet.db.Column
Get the value of bean Property.
getCollection() - Method in class com.youyounet.db.SimpleCollectionBean
 
getColumnAttribute() - Method in class com.youyounet.db.Column
Get the value of ColumnAttribute
getColumnAttributeValue() - Method in class com.youyounet.db.Column
Get the attributeValue of the columnAttribute
getColumnAttributeValue() - Method in class com.youyounet.db.ColumnAttribute
Get the attribute value
getColumnList(String) - Method in class com.youyounet.db.DataBean
Get a string of all the column names of the calling data bean's associated table.
getColumnName() - Method in class com.youyounet.db.Column
Get the database table column name
getColumnName() - Method in class com.youyounet.db.ColumnAttribute
Get the columnName
getColumnNamesAsString(String) - Method in class com.youyounet.db.Table
Get a string of all the column names of this table.
getColumnType() - Method in class com.youyounet.db.Column
Get the value of columnType
getColumnType(String) - Static method in class com.youyounet.db.Column
A static method that takes a Java type name as parameter and returns the corresponding interger value defined in class DataType
getConnection() - Static method in class com.youyounet.db.DBInterface
Return the Connection object.
getConnection() - Method in class com.youyounet.db.DBContext
get the DB connection object from the context
getDataSource() - Static method in class com.youyounet.db.DBInterface
Return the DataSource object.
getID() - Method in class com.youyounet.db.DataBean
Get the id of the calling data bean.
getKey(Hashtable) - Method in class com.youyounet.db.Table
Get the name of the primary key column.
getKeyColumnName() - Method in class com.youyounet.db.Table
Get the name of the primary key column.
getKeyColumnName() - Method in class com.youyounet.db.DataBean
Get the primary key of the calling data bean's associated database table.
getKeyCondition(Object) - Method in class com.youyounet.db.Table
if there is a primary key, a string representing a SQL condition "primaryKey=value" will be returned.
getMaxID(String, Connection) - Method in class com.youyounet.db.Table
Get the max value of the indexColumnName column.
getMaxID(String, Connection) - Method in class com.youyounet.db.DataBean
Get the max value of the specified column.
getMaxID(String, DBContext) - Method in class com.youyounet.db.DataBean
Get the max value of the specified column.
getMaxPrimaryKey(Connection) - Method in class com.youyounet.db.Table
Get the max value of the primary key column, if there is a primary key for this table.
getMaxPrimaryKey(Connection) - Method in class com.youyounet.db.DataBean
Get the max value of the primary key column, if there is a primary key for this bean.
getMaxPrimaryKey(DBContext) - Method in class com.youyounet.db.DataBean
Get the max value of the primary key column, if there is a primary key for this bean.
getName() - Method in class com.youyounet.db.Table
Get the name of the table.
getTable() - Method in class com.youyounet.db.DataBean
Returns the table object associated with this data bean.
getTableName() - Method in class com.youyounet.db.DataBean
Get the calling data bean's associated database table name.

I

insertSql - Variable in class com.youyounet.db.Table
 
isClosed - Variable in class com.youyounet.db.DBContext
 
isClosed() - Method in class com.youyounet.db.DBContext
check if the context is closed
iterator() - Method in class com.youyounet.db.Table
returns a bean Iterator.
iterator() - Method in class com.youyounet.db.DataBean
returns a bean Iterator.
iterator(String) - Method in class com.youyounet.db.Table
returns a bean Iterator.
iterator(String) - Method in class com.youyounet.db.DataBean
returns a bean Iterator.
iterator(String, String) - Method in class com.youyounet.db.Table
returns a bean Iterator.
iterator(String, String) - Method in class com.youyounet.db.DataBean
returns a bean Iterator.

K

key - Variable in class com.youyounet.db.Table
 

L

load() - Method in class com.youyounet.db.DataBean
Load this calling bean's properties value with values from the associated table, using the SQL condition specified by getKeyCondition method.
load(Connection) - Method in class com.youyounet.db.DataBean
Load this calling bean's properties value with values from the associated table, using the SQL condition specified by getKeyCondition method.
load(DBContext) - Method in class com.youyounet.db.DataBean
Load this calling bean's properties value with values from the associated table, using the SQL condition specified by getKeyCondition method.
load(Object) - Method in class com.youyounet.db.Table
load the databean obj's property from the database table, using the SQL condition specified by getKeyCondition method
load(Object, Connection) - Method in class com.youyounet.db.Table
load the databean obj's property from the database table, using the SQL condition specified by getKeyCondition method
load(Object, String) - Method in class com.youyounet.db.Table
load the databean obj's property from the database table, using the condition specified
load(Object, String, Connection) - Method in class com.youyounet.db.Table
load the databean obj's property from the database table, using the condition specified
load(String) - Method in class com.youyounet.db.DataBean
Load this calling bean's properties value with values from the associated table, using the SQL condition specified.
load(String, Connection) - Method in class com.youyounet.db.DataBean
Load this calling bean's properties value with values from the associated table, using the SQL condition specified.
load(String, DBContext) - Method in class com.youyounet.db.DataBean
Load this calling bean's properties value with values from the associated table, using the SQL condition specified.
loadProperty(ResultSet, Object) - Method in class com.youyounet.db.Column
Set the obj's property corresponding to this column to the specified ResultSet's value.
loadProperty(ResultSet, Object, int) - Method in class com.youyounet.db.Column
Set the obj's property corresponding to this column to the specified ResultSet's value.
log - Static variable in class com.youyounet.db.Table
 
log - Static variable in class com.youyounet.db.SimpleBean
 
log - Static variable in class com.youyounet.db.DBContext
 
log - Variable in class com.youyounet.db.DataBean
 

N

nColumns - Variable in class com.youyounet.db.Table
 

P

PASSWORD - Static variable in class com.youyounet.db.ColumnAttribute
 
PRIMARY_KEY - Static variable in class com.youyounet.db.ColumnAttribute
 
properties - Variable in class com.youyounet.db.SimpleBean
 

Q

QUOTED_VALUE - Static variable in class com.youyounet.db.ColumnAttribute
 

R

remove() - Method in class com.youyounet.db.DataBean
Remove this data bean from the associated table, using the condition specified by getKeyCondition method.
remove(Connection) - Method in class com.youyounet.db.DataBean
Remove this data bean from the associated table, using the condition specified by getKeyCondition method.
remove(DBContext) - Method in class com.youyounet.db.DataBean
Remove this data bean from the associated table, using the condition specified by getKeyCondition method.
remove(Object) - Method in class com.youyounet.db.Table
Remove the databean obj from the database table, using the condition specified by getKeyCondition method.
remove(Object, Connection) - Method in class com.youyounet.db.Table
Remove the databean obj from the database table, using the condition specified by getKeyCondition method.
remove(Object, String) - Method in class com.youyounet.db.Table
Remove the data bean obj from the database table, using the condition specified.
remove(Object, String, Connection) - Method in class com.youyounet.db.Table
Remove the databean obj from the database table, using the condition specified.
remove(String) - Method in class com.youyounet.db.DataBean
Remove this data bean from the associated table, using the condition specified.
remove(String, Connection) - Method in class com.youyounet.db.DataBean
Remove this data bean from the associated table, using the condition specified.
remove(String, DBContext) - Method in class com.youyounet.db.DataBean
Remove this data bean from the associated table, using the condition specified.
reset() - Method in class com.youyounet.db.DBContext
close the DB connection associated with this context if it's open

S

select(String, String) - Method in class com.youyounet.db.Table
Select a Vector of data beans satisfied by the passed in SQL condition.
select(String, String) - Method in class com.youyounet.db.DataBean
Select a Vector of data beans from this calling bean's associated table and satisfied by the passed in SQL condition.
select(String, String, Connection) - Method in class com.youyounet.db.Table
Select a Vector of data beans satisfied by the passed in SQL condition.
select(String, String, Connection) - Method in class com.youyounet.db.DataBean
Select a Vector of data beans from this calling bean's associated table and satisfied by the passed in SQL condition.
select(String, String, DBContext) - Method in class com.youyounet.db.DataBean
Select a Vector of data beans from this calling bean's associated table and satisfied by the passed in SQL condition.
select(String, String, String) - Method in class com.youyounet.db.Table
Select a Vector of data beans from this table that is satisfied by the passed in SQL condition.
select(String, String, String) - Method in class com.youyounet.db.DataBean
Select a Vector of data beans from this calling bean's associated table and satisfied by the passed in SQL condition.
select(String, String, String, Connection) - Method in class com.youyounet.db.Table
Select a Vector of data beans from this table that is satisfied by the passed in SQL condition.
select(String, String, String, Connection) - Method in class com.youyounet.db.DataBean
Select a Vector of data beans from this calling bean's associated table and satisfied by the passed in SQL condition.
select(String, String, String, DBContext) - Method in class com.youyounet.db.DataBean
Select a Vector of data beans from this calling bean's associated table and satisfied by the passed in SQL condition.
select(String, String, String, String) - Static method in class com.youyounet.db.Table
A static method to select a vector of SimpleBean objects.
select(String, String, String, String, Connection) - Static method in class com.youyounet.db.Table
A static method to select a vector of SimpleBean objects.
selectSql - Variable in class com.youyounet.db.Table
 
set(String, Object) - Method in class com.youyounet.db.SimpleBean
Set the property value of the property named propertyName.
setCollection(Collection) - Method in class com.youyounet.db.SimpleCollectionBean
 
setPSVariable(PreparedStatement, Object, int) - Static method in class com.youyounet.db.Column
Set a PreparedStatement's value corresponding to this column to the specified obj's property value
setPSVariableNull(PreparedStatement, int, int) - Static method in class com.youyounet.db.Column
Set a PreparedStatement's value corresponding to this column to null
setSQL() - Method in class com.youyounet.db.Table
 
setVariable(PreparedStatement, Object, int) - Method in class com.youyounet.db.Column
Set a PreparedStatement's value corresponding to this column to the specified obj's property value
SimpleBean - class com.youyounet.db.SimpleBean.
SimpleBean is a class which can set and get unlimited number of properties.
SimpleBean() - Constructor for class com.youyounet.db.SimpleBean
constructor.
SimpleCollectionBean - class com.youyounet.db.SimpleCollectionBean.
 
SimpleCollectionBean(Collection) - Constructor for class com.youyounet.db.SimpleCollectionBean
 
sqlTypeMapping - Static variable in class com.youyounet.db.DataType
map data bean data types to Java SQL data Types
store() - Method in class com.youyounet.db.DataBean
store this calling data bean to the associated table, using the SQL condition specified by getKeyCondition method.
store(Connection) - Method in class com.youyounet.db.DataBean
store this calling data bean to the associated table, using the SQL condition specified by getKeyCondition method.
store(DBContext) - Method in class com.youyounet.db.DataBean
store this calling data bean to the associated table, using the SQL condition specified by getKeyCondition method.
store(Object) - Method in class com.youyounet.db.Table
Store the data bean obj's property value to the database table, using the condition get from getKeyCondition method.
store(Object, Connection) - Method in class com.youyounet.db.Table
store the databean obj's property value to the database table, using the condition specified by getKeyCondition method.
store(Object, String) - Method in class com.youyounet.db.Table
store the databean obj's property value to the associated table, using the condition specified.
store(Object, String, Connection) - Method in class com.youyounet.db.Table
store the databean obj's property value to the database table, using the condition specified.
store(String) - Method in class com.youyounet.db.DataBean
Store this calling data bean to the associated table, using the condition specified.
store(String, Connection) - Method in class com.youyounet.db.DataBean
Store this calling data bean to the associated table, using the condition specified.
store(String, DBContext) - Method in class com.youyounet.db.DataBean
store this calling data bean to the associated table, using the condition specified.

T

t_boolean - Static variable in class com.youyounet.db.DataType
 
t_byte - Static variable in class com.youyounet.db.DataType
 
t_double - Static variable in class com.youyounet.db.DataType
 
t_float - Static variable in class com.youyounet.db.DataType
 
t_int - Static variable in class com.youyounet.db.DataType
 
t_long - Static variable in class com.youyounet.db.DataType
 
t_short - Static variable in class com.youyounet.db.DataType
 
Table - class com.youyounet.db.Table.
Table is the class that encapsulate the common database operations in its methods calls.
Table(String, String, Hashtable) - Constructor for class com.youyounet.db.Table
public constructor
Table(String, String, Hashtable, String) - Constructor for class com.youyounet.db.Table
public constructor.
tableName - Variable in class com.youyounet.db.Table
 
tAsString - Static variable in class com.youyounet.db.DataType
 
tBlob - Static variable in class com.youyounet.db.DataType
 
tBoolean - Static variable in class com.youyounet.db.DataType
 
tByte - Static variable in class com.youyounet.db.DataType
 
tBytes - Static variable in class com.youyounet.db.DataType
 
tClob - Static variable in class com.youyounet.db.DataType
 
tClosure - Static variable in class com.youyounet.db.DataType
 
tCompound - Static variable in class com.youyounet.db.DataType
 
tDate - Static variable in class com.youyounet.db.DataType
 
tDecimal - Static variable in class com.youyounet.db.DataType
 
tDouble - Static variable in class com.youyounet.db.DataType
 
tFloat - Static variable in class com.youyounet.db.DataType
 
TIMESTAMP - Static variable in class com.youyounet.db.ColumnAttribute
 
tInteger - Static variable in class com.youyounet.db.DataType
 
tLong - Static variable in class com.youyounet.db.DataType
 
tShort - Static variable in class com.youyounet.db.DataType
 
tStream - Static variable in class com.youyounet.db.DataType
 
tString - Static variable in class com.youyounet.db.DataType
 
tTime - Static variable in class com.youyounet.db.DataType
 
tTimestamp - Static variable in class com.youyounet.db.DataType
 

U

update(Object, Vector, String) - Method in class com.youyounet.db.Table
Update one or more data beans' value in the table with value drawn from the passed in data bean obj.
update(Object, Vector, String, Connection) - Method in class com.youyounet.db.Table
Update one or more data beans' value in the table with value drawn from the passed in data bean obj.
update(Vector, String) - Method in class com.youyounet.db.DataBean
Update one or more data beans' value in the associated table with value drawn from this calling data bean.
update(Vector, String, Connection) - Method in class com.youyounet.db.DataBean
Update one or more data beans' value in the associated table with value drawn from this calling data bean.
update(Vector, String, DBContext) - Method in class com.youyounet.db.DataBean
Update one or more data beans' value in the associated table with value drawn from this calling data bean.
updateSql - Variable in class com.youyounet.db.Table
 

A B C D E F G I K L N P Q R S T U