Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W X Y 

A

abs() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a sql-expression for the absolute abs() function.
add(Attributes.Attribute) - Method in class org.apache.empire.commons.Attributes
 
add(Object, String, boolean) - Method in class org.apache.empire.commons.Options
Adds an object, the check for an existing can be skipped for performance issues (not recommended!)
add(OptionEntry) - Method in class org.apache.empire.commons.Options
 
add(DBCmdParam) - Method in class org.apache.empire.db.DBCmdParamList
 
add(DBCommand, DataType, Object) - Method in class org.apache.empire.db.DBCmdParamList
 
addAlterTableStmt(DBColumn, DBSQLBuilder, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
 
addClass(BeanClass) - Method in class org.apache.empire.data.bean.BeanDomain
 
addColumn(DBTableColumn) - Method in class org.apache.empire.db.DBTable
Adds a column to this table's column list.
addColumn(String, DataType, double, boolean, Object) - Method in class org.apache.empire.db.DBTable
Creates a new DBTableColumn object and adds it to the column collection.
addColumn(String, DataType, double, boolean) - Method in class org.apache.empire.db.DBTable
Creates a new table column and adds it to the table's column list
addColumn(String, DataType, double, boolean, Options) - Method in class org.apache.empire.db.DBTable
Creates a new table column with options and adds it to the table's column list This overload should be used for column containing enum values which have no default value.
addColumn(String, DataType, double, boolean, Options, Object) - Method in class org.apache.empire.db.DBTable
Creates a new table column with options and adds it to the table's column list This overload should be used for column containing enum values which have a default value.
addColumn(String, DataType, double, boolean, Class<?>) - Method in class org.apache.empire.db.DBTable
Creates a new table column with Enum-Options and adds it to the table's column list This overload should be used for column containing enum values which have no default value.
addColumn(String, DataType, double, boolean, Enum<?>) - Method in class org.apache.empire.db.DBTable
Creates a new table column with Enum-Options and adds it to the table's column list This overload should be used for column containing enum values which have a default value.
addColumn(DBView.DBViewColumn) - Method in class org.apache.empire.db.DBView
Adds a column to the view.
addColumn(String, DataType, double) - Method in class org.apache.empire.db.DBView
Adds a column to the view.
addColumn(String, DataType) - Method in class org.apache.empire.db.DBView
Adds a column to the view.
addColumn(String, DBColumnExpr) - Method in class org.apache.empire.db.DBView
Adds a column to the view.
addColumn(DBTableColumn) - Method in class org.apache.empire.db.DBView
Adds a column to the view based on an existing column in another table or view.
addColumn(DBRowSet, ResultSet) - Method in class org.apache.empire.db.validation.DBModelParser
 
addColumnReference(DBColumn, DBColumn) - Method in class org.apache.empire.db.DBRowSet
Adds a column reference to the list of table references.
addCompareExpr(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
Add the comparison operator and value to the SQL-Command.
addCreateIndexStmt(DBIndex, DBSQLBuilder, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
 
addCreateIndexStmt(DBIndex, DBSQLBuilder, DBSQLScript) - Method in class org.apache.empire.dbms.sqlserver.MSSqlDDLGenerator
 
addCreateRelationStmt(DBRelation, DBSQLBuilder, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
 
addCreateTableStmt(DBTable, DBSQLBuilder, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
 
addCreateViewStmt(DBView, DBSQLBuilder, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
 
addDate(Date, int, int, int) - Static method in class org.apache.empire.commons.DateUtils
Calculates a date relative to the supplied date.
addDecodeParts(DBSQLBuilder) - Method in class org.apache.empire.db.expr.column.DBDecodeExpr
 
addDelete(DBCommand, DBTable) - Method in class org.apache.empire.db.DBSQLScript
Adds an delete statement
addDeleteForTable(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.db.DBCommand
 
addDeleteForTable(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
 
addDeleteWithJoins(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.db.DBCommand
 
addDeleteWithJoins(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBCommandMySQL
 
addDeleteWithJoins(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
 
addElement(Node, String, String) - Static method in class org.apache.empire.xml.XMLUtil
Adds a new child element to a parent.
addElement(Element, String) - Static method in class org.apache.empire.xml.XMLUtil
Adds a child element to the parent.
addElementNS(Node, String, String, String) - Static method in class org.apache.empire.xml.XMLUtil
Adds a new child element to a parent with a namespace.
addElementNS(Element, String, String) - Static method in class org.apache.empire.xml.XMLUtil
 
addForeignKey(String, DBTable, boolean, Options, DBRelation.DBCascadeAction) - Method in class org.apache.empire.db.DBTable
Adds a new ForgeinKey table column the column list The foreign table must have a single column foreign key
addForeignKey(String, DBTable, boolean, boolean) - Method in class org.apache.empire.db.DBTable
Adds a new ForgeinKey table column the column list The foreign table must have a single column foreign key
addForeignKey(String, DBTable, boolean) - Method in class org.apache.empire.db.DBTable
Adds a new ForgeinKey table column the column list The foreign table must have a single column foreign key
addFrom(DBSQLBuilder) - Method in class org.apache.empire.db.DBCommand
 
addGrouping(DBSQLBuilder) - Method in class org.apache.empire.db.DBCommand
 
addIdentity(String, String) - Method in class org.apache.empire.db.DBTable
Adds an Identity column to the table which also serves as the PrimaryKey An Identity Column is always an auto-generated Integer(Long) value
addIdentity(String) - Method in class org.apache.empire.db.DBTable
Adds an Identity column to the table which also serves as the PrimaryKey An Identity Column is always an auto-generated Integer(Long) value
addIndex(DBIndex) - Method in class org.apache.empire.db.DBTable
Adds an index.
addIndex(String, DBIndex.DBIndexType, DBColumn...) - Method in class org.apache.empire.db.DBTable
Adds an index.
addIndex(String, boolean, DBColumn...) - Method in class org.apache.empire.db.DBTable
Adds an index.
addInsert(DBCommand) - Method in class org.apache.empire.db.DBSQLScript
Adds an insert statement
addJoinRestriction(DBCommand, DBColumn, DBColumn, DBColumn[], Object[], DBRecordBase) - Method in class org.apache.empire.db.DBQuery
Adds join restrictions to the supplied command object.
addJoins(List<DBJoinExpr>) - Method in class org.apache.empire.db.DBCommand
Adds a list of join expressions to the command.
addJoins(List<DBJoinExpr>) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite.DBCommandSQLite
 
addListExpr(DBSQLBuilder, List<? extends DBExpr>, long, String) - Method in class org.apache.empire.db.DBCommandExpr
Internally used to build a string from a list of database expressions
addNamespaceURIs(Document, Map<String, String>) - Static method in class org.apache.empire.xml.XMLUtil
 
addOrder(DBSQLBuilder) - Method in class org.apache.empire.db.DBCommand
 
addParam(DataType, Object) - Method in class org.apache.empire.db.DBCommand
Adds an command parameter which will be used in a prepared statement.
addParam(DBColumnExpr, Object) - Method in class org.apache.empire.db.DBCommand
Adds an command parameter which will be used in a prepared statement.
addParam(Object) - Method in class org.apache.empire.db.DBCommand
Adds an command parameter which will be used in a prepared statement.
addParam() - Method in class org.apache.empire.db.DBCommand
Adds an command parameter which will be used in a prepared statement.
addProp(BeanProperty) - Method in class org.apache.empire.data.bean.BeanClass
 
addProp(String, DataType, double, boolean, String, boolean) - Method in class org.apache.empire.data.bean.BeanClass
 
addProp(String, DataType, double, boolean, String) - Method in class org.apache.empire.data.bean.BeanClass
 
addProp(String, DataType, double, boolean, boolean) - Method in class org.apache.empire.data.bean.BeanClass
 
addProp(String, DataType, double, boolean) - Method in class org.apache.empire.data.bean.BeanClass
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.DBCmdParam
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.DBColumn
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.DBCombinedCmd
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.DBCommand
Adds Columns
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.DBExpr
Internal function to obtain all DBColumnExpr-objects used by this expression.
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.DBRowSet
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBAliasExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBCalcExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBCaseExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBCaseWhenExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBConcatExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBCountExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBDecodeExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBFuncExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBScalarExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBValueExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.compare.DBCompareNotExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.compare.DBExistsExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.order.DBOrderByExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.set.DBSetExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.dbms.postgresql.PostgresAtAt
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
 
addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.dbms.postgresql.PostgresFuncExpr
 
addRelation(DBRelation.DBReference) - Method in class org.apache.empire.db.DBDatabase
Adds a foreign key relation to the database.
addRelation(DBRelation.DBReference, DBRelation.DBReference) - Method in class org.apache.empire.db.DBDatabase
Add a foreign key relation to the database.
addRelation(String, DBRelation.DBReference...) - Method in class org.apache.empire.db.DBDatabase
Adds a foreign key relation to the database.
addRelation(String, DBRelation.DBReference...) - Method in class org.apache.empire.db.validation.DBModelParser
 
addReservedKeyWord(String) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
 
addRows(Element) - Method in class org.apache.empire.db.DBReader
Adds all children to a parent.
addSelect(DBSQLBuilder) - Method in class org.apache.empire.db.DBCommand
 
addSelect(DBSQLBuilder) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBCommandMSSQL
 
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBCmdParam
 
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBColumn
Adds the colunm name to the SQL-Command.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBCommandExpr
Creates the SQL-Command.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
create the SQL-Command set the expression name to the SQL-Command
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
Creates the SQL-Command adds the select statement into the SQL-Command.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBExpr
Used to build the SQL command.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBQuery
Adds the select SQL Command of this object to the specified StringBuilder object.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBTable
Adds the table's name to the supplied sql command buffer.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBView
Creates the SQL-Command adds the alias name to the SQL-Command.
addSQL(DBSQLBuilder, String, Object[], long) - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
Creates the SQL-Command adds a function to the SQL-Command.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBAliasExpr
Creates the SQL-Command adds the alias name to the SQL-Command.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBCalcExpr
Creates the SQL-Command adds the mathematical operations for the specified DBColumnExpr object and value to the.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBCaseExpr
 
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBCaseWhenExpr
 
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
 
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
 
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBConcatExpr
Creates the SQL-Command concatenate a specified column with a specified value sets the column with a specified value to the SQL-Command.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBConcatFuncExpr
 
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBConvertExpr
 
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBCountExpr
Creates the SQL-Command adds the String "count(*)" to the SQL-Command.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBDecodeExpr
 
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBFuncExpr
Creates the SQL-Command adds a function to the SQL-Command.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
Creates the SQL-Command adds the alias name to the SQL-Command.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBScalarExpr
Creates the SQL-Command.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBValueExpr
Creates the SQL-Command.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
 
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
Creates the SQL-Command sets the specified compare value (the varible boolOP) between the two DBCompareExpr objects.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
Creates the SQL-Command.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.compare.DBCompareNotExpr
Creates the SQL-Command sets the specified compare value (the varible boolOP) between the two DBCompareExpr objects.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
 
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.compare.DBExistsExpr
Creates the SQL-Command.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
Not allowed, this operation have to be done in the DBCommand object.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.join.DBCompareJoinExpr
 
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
Not allowed, this operation have to be done in the DBCommand object.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.order.DBOrderByExpr
Adds a column expression to the orderBy clause followed by the desc keyword if the order should be descending
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.db.expr.set.DBSetExpr
Creates the SQL-Command.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
Creates the SQL-Command.
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.dbms.postgresql.PostgresAtAt
 
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
 
addSQL(DBSQLBuilder, long) - Method in class org.apache.empire.dbms.postgresql.PostgresFuncExpr
Creates the SQL-Command adds a function to the SQL-Command.
addStatementParam(PreparedStatement, int, Object) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Adds a statement parameter to a prepared statement
addStatementParam(PreparedStatement, int, Object) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
Adds special behaviour for Timestamp columns with are declared as DATETIME
addStmt(String) - Method in class org.apache.empire.db.DBSQLScript
Adds a statement to the script.
addStmt(String, Object[]) - Method in class org.apache.empire.db.DBSQLScript
Adds a statement to the script.
addStmt(DBSQLBuilder) - Method in class org.apache.empire.db.DBSQLScript
Adds a statement to the script.
addTable(DBTable) - Method in class org.apache.empire.db.DBDatabase
Adds a DBTable object to list of database tables.
addTable(String) - Method in class org.apache.empire.db.validation.DBModelParser
 
addTimestamp(String) - Method in class org.apache.empire.db.DBTable
Adds a Timestamp column to the current table which will be used for optimistic locking.
addUpdate(DBCommand) - Method in class org.apache.empire.db.DBSQLScript
Adds an update statement
addUpdateForTable(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.db.DBCommand
 
addUpdateForTable(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
 
addUpdateWithJoins(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.db.DBCommand
 
addUpdateWithJoins(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.dbms.hsql.DBCommandHSql
 
addUpdateWithJoins(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
 
addUpdateWithJoins(DBSQLBuilder, DBRowSet) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
 
addView(DBView) - Method in class org.apache.empire.db.DBDatabase
Adds a DBView object to list of database views.
addView(String) - Method in class org.apache.empire.db.validation.DBModelParser
 
addWhere(DBSQLBuilder, long) - Method in class org.apache.empire.db.DBCommand
 
addWhere(DBSQLBuilder) - Method in class org.apache.empire.db.DBCommand
 
addWhereConstraints(List<DBCompareExpr>) - Method in class org.apache.empire.db.DBCommand
Adds a list of constraints to the command.
addXml(Element, long) - Method in class org.apache.empire.commons.Attributes
 
addXml(Element, DataType) - Method in class org.apache.empire.commons.Options
Adds all these options to the xml element
addXml(Element, long) - Method in class org.apache.empire.db.DBColumn
Appends column meta information to the parent element
addXml(Element, long) - Method in class org.apache.empire.db.DBColumnExpr
Add a description of this column with relevant metadata to the supplied parent XML Element.
addXml(Element, long) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
Adds the expression definition to the xml element.
addXml(Element, long) - Method in class org.apache.empire.db.DBQueryColumn
 
addXml(Element, long) - Method in class org.apache.empire.db.DBTableColumn
Sets field elements, default attributes and all options to the specified Element object (XML tag).
addXml(Element, long) - Method in class org.apache.empire.db.DBView.DBViewColumn
 
addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
 
addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBAliasExpr
This function set the alias name to the XML tag.
addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBCalcExpr
This function set the specified mathematical operations to the XML tag.
addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBCaseExpr
 
addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBCaseWhenExpr
 
addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
 
addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBConcatExpr
 
addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBCountExpr
this adds the column description to the parent element
addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
This function set the alias name to the XML tag.
addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBScalarExpr
this helper function calls the DBColumnExpr.addXML(Element, long) method
addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBValueExpr
this helper function calls the DBColumnExpr.addXML(Element, long) method
addXml(Element, long) - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
 
addXml(Element, long) - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
this helper function calls the DBColumnExpr.addXML(Element, long) method
addXml(Element, long) - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
 
addXmlData(Element) - Method in class org.apache.empire.db.DBReader
Adds all children to a parent.
addXmlData(Element) - Method in class org.apache.empire.db.DBRecordBase
Add the values of this record to the specified XML Element object.
addXmlData(Element) - Method in class org.apache.empire.db.DBRecordData
 
addXmlMeta(Element) - Method in class org.apache.empire.db.DBReader
Moves the cursor down one row from its current position.
addXmlMeta(Element) - Method in class org.apache.empire.db.DBRecordBase
This function set the field descriptions to the the XML tag.
addXmlMeta(Element) - Method in class org.apache.empire.db.DBRecordData
 
aggregate(String, DataType, Object...) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a function from an sql template The template may consist of the following placeholders: ?
alias - Variable in class org.apache.empire.db.DBQuery
 
allowFieldChange(DBColumn) - Method in class org.apache.empire.db.DBRecordBase
Checks whether or not this field can be changed at all.
alterColumnPhrase - Variable in class org.apache.empire.db.DBDDLGenerator
 
alterTable(DBTableColumn, DBDDLGenerator.DDLActionType, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
Appends the DDL-Script for altering a table to an SQL-Script
and(DBCompareExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareExpr
Creates a new DBCompareAndOrExpr object.
and(DBCompareExpr) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
This function adds an additional constraint to the join.
and(DBColumnExpr, DBColumnExpr) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
This function adds an additional constraint to the join.
append(Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates a new DBConcatExpr object with the specified value.
append(CharSequence) - Method in class org.apache.empire.db.DBSQLBuilder
 
append(CharSequence, int, int) - Method in class org.apache.empire.db.DBSQLBuilder
 
append(char) - Method in class org.apache.empire.db.DBSQLBuilder
 
append(long) - Method in class org.apache.empire.db.DBSQLBuilder
 
append(double) - Method in class org.apache.empire.db.DBSQLBuilder
 
append(DBSqlPhrase) - Method in class org.apache.empire.db.DBSQLBuilder
 
append(DBCommandExpr) - Method in class org.apache.empire.db.DBSQLBuilder
 
appendColumnDataType(DataType, double, DBTableColumn, DBSQLBuilder) - Method in class org.apache.empire.db.DBDDLGenerator
appends the data type of a column
appendColumnDataType(DataType, double, DBTableColumn, DBSQLBuilder) - Method in class org.apache.empire.dbms.derby.DerbyDDLGenerator
 
appendColumnDataType(DataType, double, DBTableColumn, DBSQLBuilder) - Method in class org.apache.empire.dbms.h2.H2DDLGenerator
 
appendColumnDataType(DataType, double, DBTableColumn, DBSQLBuilder) - Method in class org.apache.empire.dbms.mysql.MySQLDDLGenerator
 
appendColumnDataType(DataType, double, DBTableColumn, DBSQLBuilder) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
 
appendColumnDataType(DataType, double, DBTableColumn, DBSQLBuilder) - Method in class org.apache.empire.dbms.postgresql.PostgresDDLGenerator
 
appendColumnDataType(DataType, double, DBTableColumn, DBSQLBuilder) - Method in class org.apache.empire.dbms.sqlserver.MSSqlDDLGenerator
 
appendColumnDesc(DBTableColumn, boolean, DBSQLBuilder) - Method in class org.apache.empire.db.DBDDLGenerator
Appends a table column definition to a ddl statement
appendColumnDesc(DBTableColumn, boolean, DBSQLBuilder) - Method in class org.apache.empire.dbms.derby.DerbyDDLGenerator
 
appendColumnDesc(DBTableColumn, boolean, DBSQLBuilder) - Method in class org.apache.empire.dbms.postgresql.PostgresDDLGenerator
 
appendCompareColExprs(DBRowSet, DBCompareExpr, List<DBCompareColExpr>) - Method in class org.apache.empire.db.DBCommand
Appends all nested DBCompareColExpr for a particular RowSet to a list
appendElementName(DBSQLBuilder, String) - Method in class org.apache.empire.db.DBDDLGenerator
 
appendEnableRelationStmt(DBRelation, boolean, DBSQLScript) - Method in interface org.apache.empire.dbms.DBMSHandler
Appends a statement to enable or disable a foreign key relation.
appendEnableRelationStmt(DBRelation, boolean, DBSQLScript) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Appends a statement to enable or disable a foreign key relation.
appendEnableRelationStmt(DBRelation, boolean, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
 
appendEnableRelationStmt(DBRelation, boolean, DBSQLScript) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
 
appendHandler(Connection, DBRollbackHandler) - Method in class org.apache.empire.db.context.DBRollbackManager
Add a rollback handler for a particular Connection
appendName(StringBuilder, DBCompareExpr) - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
 
appendObjectName(DBSQLBuilder, String, Boolean) - Method in interface org.apache.empire.dbms.DBMSHandler
Appends a table, view or column name to an SQL phrase.
appendObjectName(DBSQLBuilder, String, Boolean) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Appends a table, view or column name to an SQL phrase.
appendQualifiedName(DBSQLBuilder, String, Boolean) - Method in class org.apache.empire.db.DBDatabase
Adds a full qualified object name including schema prefix and database link postfix (if any).
appendRollbackHandler(DBRollbackHandler) - Method in class org.apache.empire.db.context.DBContextBase
 
appendRollbackHandler(DBRollbackHandler) - Method in interface org.apache.empire.db.DBContext
 
appendSimpleValue(DataType, Object) - Method in class org.apache.empire.db.DBSQLBuilder
Returns a sql string for a given value.
appendStringLiteral(DataType, Object) - Method in class org.apache.empire.db.DBSQLBuilder
encodes Text values for an SQL command string.
appendStringLiteral(DataType, Object) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBSQLBuilderMSSQL
 
appendTemplate(String, Object[], DataType[], long, String) - Method in class org.apache.empire.db.DBSQLBuilder
Expands an SQL template and adds it to the SQL command
appendValue(DataType, Object) - Method in class org.apache.empire.db.DBSQLBuilder
Appends the SQL representation of a value
appendValue(DataType, Object, long, String) - Method in class org.apache.empire.db.DBSQLBuilder
Appends the SQL representation of a value
arrayToList(Class<T>, T[]) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an array to a list
arrayToString(Object[], String) - Static method in class org.apache.empire.commons.StringUtils
Converts an array of objects to a string.
as(String) - Method in class org.apache.empire.db.DBColumnExpr
creates a new DBAliasExpr which renames the current expression to the supplied name.
as(DBColumn) - Method in class org.apache.empire.db.DBColumnExpr
creates a new DBAliasExpr which renames the current expression to the name of the supplied column.
asc() - Method in class org.apache.empire.db.DBColumnExpr
creates a new DBOrderByExpr for ascending order
assignParentIdentities() - Method in class org.apache.empire.db.DBRecordBase
For DBMS with IDENTITY-columns the deferred parent-keys are set by this functions The parent records must have been previously set using setParentRecord
attachDatabase(DBDatabase, Connection) - Method in interface org.apache.empire.dbms.DBMSHandler
Called when a database is opened
attachDatabase(DBDatabase, Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Called when a database is opened
attachDatabase(DBDatabase, Connection) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
 
attachDatabase(DBDatabase, Connection) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
Initialize Database on open
attachDatabase(DBDatabase, Connection) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
Called when a database is opened
Attribute(String, Object, String) - Constructor for class org.apache.empire.commons.Attributes.Attribute
 
Attribute(String, Object) - Constructor for class org.apache.empire.commons.Attributes.Attribute
 
Attributes - Class in org.apache.empire.commons
This class holds a map of objects which are identified by a case insensitive key string.
Attributes() - Constructor for class org.apache.empire.commons.Attributes
 
Attributes(int) - Constructor for class org.apache.empire.commons.Attributes
 
attributes - Variable in class org.apache.empire.commons.Attributes
 
attributes - Variable in class org.apache.empire.db.DBColumnExpr
 
Attributes.Attribute - Class in org.apache.empire.commons
 
autoGenerated - Variable in class org.apache.empire.db.DBTableColumn
 
autoPrepareStmt - Variable in class org.apache.empire.db.DBCommand
 
autoSelectColumns(DBRowSet) - Method in class org.apache.empire.data.bean.BeanResult
Selects all columns for a given rowset
avg() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an aggregation function object which returns the average value for the current expression over a group of rows.

B

BeanClass - Class in org.apache.empire.data.bean
BeanObject This class defines Metadata for any type of java class.
BeanClass(String) - Constructor for class org.apache.empire.data.bean.BeanClass
 
BeanClass(String, BeanDomain) - Constructor for class org.apache.empire.data.bean.BeanClass
 
beanClass - Variable in class org.apache.empire.data.bean.BeanProperty
 
BeanDomain - Class in org.apache.empire.data.bean
BeanDomain This class defines Metadata for a domain of java classes.
BeanDomain(String) - Constructor for class org.apache.empire.data.bean.BeanDomain
 
BeanIncompatibleException - Exception in org.apache.empire.exceptions
 
BeanIncompatibleException(Class<?>, DBRowSet) - Constructor for exception org.apache.empire.exceptions.BeanIncompatibleException
 
BeanInstantiationException - Exception in org.apache.empire.exceptions
 
BeanInstantiationException(Class<?>, Throwable) - Constructor for exception org.apache.empire.exceptions.BeanInstantiationException
 
BeanProperty - Class in org.apache.empire.data.bean
BeanObject This class defines Metadata for a single property.
BeanProperty(String, DataType, double, boolean, String, boolean) - Constructor for class org.apache.empire.data.bean.BeanProperty
Constructs a bean property definition
BeanProperty(String, DataType, double, boolean, String) - Constructor for class org.apache.empire.data.bean.BeanProperty
Constructs a bean property definition
BeanProperty(String, DataType, double, boolean) - Constructor for class org.apache.empire.data.bean.BeanProperty
Constructs a bean property definition
BeanPropertyGetException - Exception in org.apache.empire.exceptions
 
BeanPropertyGetException(Object, String, Throwable) - Constructor for exception org.apache.empire.exceptions.BeanPropertyGetException
 
beanPropertyName - Variable in class org.apache.empire.db.DBColumnExpr
 
BeanPropertySetException - Exception in org.apache.empire.exceptions
 
BeanPropertySetException(Object, String, Throwable) - Constructor for exception org.apache.empire.exceptions.BeanPropertySetException
 
BeanRecordProxy<T> - Class in org.apache.empire.data.bean
BeanRecordProxy This class defines proxy that allows any POJO to behave like a record object.
BeanRecordProxy(T, List<Column>, Column[], EntityType) - Constructor for class org.apache.empire.data.bean.BeanRecordProxy
 
BeanRecordProxy(List<Column>, Column[], EntityType) - Constructor for class org.apache.empire.data.bean.BeanRecordProxy
 
BeanRecordProxy(T, BeanClass) - Constructor for class org.apache.empire.data.bean.BeanRecordProxy
 
BeanRecordProxy(BeanClass) - Constructor for class org.apache.empire.data.bean.BeanRecordProxy
 
BeanResult<T> - Class in org.apache.empire.data.bean
BeanResult This is a simple helper class that performs reading a list of beans from a query Internally DBReader.getBeanList() is used.
BeanResult(Class<T>, DBCommand) - Constructor for class org.apache.empire.data.bean.BeanResult
Create a bean result from a command object.
BeanResult(Class<T>, DBRowSet) - Constructor for class org.apache.empire.data.bean.BeanResult
Creates a bean result for a Table, View or Query from the supplied columns.
beanType - Variable in class org.apache.empire.db.DBRowSet
 

C

C_CHAR_LENGTH - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
 
C_COLUMN_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColComments
 
C_COLUMN_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
 
C_COLUMN_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBUserConCol
 
C_COMMENTS - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColComments
 
C_COMMENTS - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBTabComments
 
C_CONSTRAINT_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBConstraints
 
C_CONSTRAINT_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBUserConCol
 
C_CONSTRAINT_TYPE - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBConstraints
 
C_DATA_LENGTH - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
 
C_DATA_PRECISION - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
 
C_DATA_SCALE - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
 
C_DATA_TYPE - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
 
C_DATA_TYPE_MOD - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
 
C_DATA_TYPE_OWNER - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
 
C_NULLABLE - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
 
C_OWNER - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColComments
 
C_OWNER - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
 
C_OWNER - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBTabComments
 
C_OWNER - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBUserConCol
 
C_R_CONSTRAINT_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBConstraints
 
C_SEQNAME - Variable in class org.apache.empire.dbms.DBMSHandlerBase.DBSeqTable
 
C_SEQVALUE - Variable in class org.apache.empire.dbms.DBMSHandlerBase.DBSeqTable
 
C_STATUS - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBConstraints
 
C_TABLE_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColComments
 
C_TABLE_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
 
C_TABLE_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBConstraints
 
C_TABLE_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBTabComments
 
C_TABLE_NAME - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBUserConCol
 
C_TABLE_TYPE - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBTabComments
 
C_TIMESTAMP - Variable in class org.apache.empire.dbms.DBMSHandlerBase.DBSeqTable
 
canonical - Variable in class org.apache.empire.xml.XMLWriter
Canonical output.
caseWhen(DBCompareExpr, Object, Object) - Method in class org.apache.empire.db.DBDatabase
Creates a case column expression in the form "case when [condition] then [trueValue] else [falseValue] end" This is a helper function to simplify client usage
caseWhen(Map<DBCompareExpr, DBColumnExpr>, DBColumnExpr) - Method in class org.apache.empire.db.DBDatabase
 
caseWhenNull(DBColumnExpr, Object, Object) - Method in class org.apache.empire.db.DBDatabase
Creates a case column expression that check whether a column or column expression is null "case when [condition] is null then [trueValue] else [falseValue] end" This is a helper function to simplify client usage
catalog - Variable in class org.apache.empire.db.validation.DBModelParser
 
CC - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase
 
ceiling() - Method in class org.apache.empire.db.DBColumnExpr
Create and returns an expression for the SQL-function ceil()
changeState(DBRecordBase.State) - Method in class org.apache.empire.db.DBRecordBase
changes the state of the record
changeTagName(Element, String) - Static method in class org.apache.empire.xml.XMLUtil
Changes the tag name of an element.
checkAutoIncColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkBlobColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkBoolColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkBoolColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.dbms.oracle.OracleDBModelChecker
 
checkCharColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkClobColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkColumnNullable(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkColumnSize(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkColumnType(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkColumnType(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.dbms.oracle.OracleDBModelChecker
 
checkDatabase(DBDatabase, String, Connection) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
Checks whether the database definition matches the real database structure.
checkDateColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkDBTableDefinition(List<DBTable>) - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary
 
checkDBViewDefinition(List<DBView>) - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary
 
checkDecimalColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkExists(DBContext) - Method in class org.apache.empire.db.DBDatabase
Checks if the database exists The implementation depends on the DBMSHandler
checkExists(DBDatabase, Connection) - Method in interface org.apache.empire.dbms.DBMSHandler
Checks if a database exists
checkExists(DBDatabase, Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
checks if the database exists The default implementation performs a simple count query on the first table or view SELECT count(*) FROM table
checkExists(DBDatabase, Connection) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
checks if the database exists The default implementation performs a simple count query on the first table or view SELECT count(*) FROM table
checkFloatColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkForeignKeys(DBTable, DBTable, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkIntegerColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkModel(DBDatabase, Connection, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
Populates the remote database and compares it against the given database
checkOpen() - Method in class org.apache.empire.db.DBDatabase
checks if the database has been opened or false otherwise
checkOpenResultSets() - Static method in class org.apache.empire.db.DBReader
Call this if you want to check whether there are any unclosed resultsets It logs stack traces to help find piece of code where a DBReader was opened but not closed.
checkParamNull(String, T) - Static method in class org.apache.empire.db.DBObject
Internally used for parameter checking
checkParamRecord(DBRecordBase, boolean) - Method in class org.apache.empire.db.DBRowSet
Internally used for parameter checking
checkPrimaryKey(DBTable, DBTable, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkRemoteAgainst(DBDatabase, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
Check the remote database against an existing model
checkTable(DBTable, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkTextColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkUniqueConstraints(DBRecordBase) - Method in class org.apache.empire.db.DBTable
Checks weather a unique constraint is violated when inserting or updating a record.
checkUniqueIdColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
checkUnknownColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
empire-db DataType-specific checker
checkUpdateable() - Method in class org.apache.empire.db.DBRecordBase
Checks whether the record is updateable If its read-only a RecordReadOnlyException is thrown
checkValid() - Method in class org.apache.empire.db.DBRecordBase
helper to check if the object is valid
checkValid(int) - Method in class org.apache.empire.db.DBRecordBase
helper to check if the object is valid
checkView(DBView, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
 
CI - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase
 
ClassUtils - Class in org.apache.empire.commons
 
ClassUtils.Copy - Class in org.apache.empire.commons
Namespace for Copy flags
clear() - Method in class org.apache.empire.commons.Attributes
 
clear() - Method in class org.apache.empire.commons.Options
 
clear(int) - Method in class org.apache.empire.db.DBCmdParamList
 
clear() - Method in class org.apache.empire.db.DBCommand
Clears the entire command object.
clear() - Method in class org.apache.empire.db.DBSQLScript
Clears the script by removing all statements
clear() - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
 
clearConnectBy() - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
Clears the connectBy Expression.
clearGroupBy() - Method in class org.apache.empire.db.DBCommand
Clears the Group By clause
clearHaving() - Method in class org.apache.empire.db.DBCommand
Removes all constraints from the Having clause
clearJoin() - Method in class org.apache.empire.db.DBCommand
Clears the From / Join clause
clearLimit() - Method in class org.apache.empire.db.DBCommandExpr
Clears a limit or offset set by calling limit() or offset()
clearLimit() - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2.DBCommandH2
 
clearLimit() - Method in class org.apache.empire.dbms.hsql.DBCommandHSql
 
clearLimit() - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBCommandMySQL
 
clearLimit() - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
 
clearLimit() - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
 
clearLimit() - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBCommandMSSQL
 
clearModified() - Method in class org.apache.empire.data.bean.BeanRecordProxy
clears the modification status of the object and all fields.
clearOrderBy() - Method in class org.apache.empire.db.DBCommandExpr
Clears the list of order by expressions.
clearSelect() - Method in class org.apache.empire.db.DBCommand
Clears the list of selected columns.
clearSelectDistinct() - Method in class org.apache.empire.db.DBCommand
Clears the select distinct option.
clearSet() - Method in class org.apache.empire.db.DBCommand
Clears the Set clause
clearWhere() - Method in class org.apache.empire.db.DBCommand
Removes all constraints from the Where clause
clone() - Method in class org.apache.empire.commons.Attributes
 
clone() - Method in class org.apache.empire.commons.Options
 
clone() - Method in class org.apache.empire.db.DBCommand
Creates a clone of this class.
clone() - Method in class org.apache.empire.db.DBCommandExpr
Creates a clone of this class.
clone() - Method in class org.apache.empire.db.DBRecordBase
clone() - Method in class org.apache.empire.db.DBTable
Clones this table and assigns a new table alias.
clone(String) - Method in class org.apache.empire.db.DBTable
 
close(DBContext) - Method in class org.apache.empire.db.DBDatabase
Closes this database object by detaching it from the dbms
close() - Method in class org.apache.empire.db.DBReader
Closes the DBRecordSet object, the Statement object and detach the columns.
close() - Method in class org.apache.empire.db.DBRecordBase
Closes the record by releasing all resources and resetting the record's state to invalid.
close() - Method in class org.apache.empire.db.DBRecordBean
 
closeConnection() - Method in class org.apache.empire.db.context.DBContextBase
helper to close a connection on discard
closeResultSet(ResultSet) - Method in interface org.apache.empire.dbms.DBMSHandler
Closes the provided JDBC Resultset Use it instead of rset.close() and stmt.close()
closeResultSet(ResultSet) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Convenience function for closing a JDBC Resultset
Use it instead of rset.close() and stmt.close()
closeStatement(Statement) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Convenience function for closing a JDBC Resultset
Use it instead of stmt.close()
cmd - Variable in class org.apache.empire.db.DBCmdParam
 
cmd - Variable in class org.apache.empire.db.expr.compare.DBExistsExpr
 
cmdExpr - Variable in class org.apache.empire.db.DBQuery
 
cmdParamList - Variable in class org.apache.empire.db.DBSQLBuilder
 
cmdParams - Variable in class org.apache.empire.db.DBCmdParamList
 
cmdParams - Variable in class org.apache.empire.db.DBCommand
 
cmdQuery - Variable in class org.apache.empire.db.DBCommandExpr
 
cmp(DBCmpType, Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new comparison object for the given comparison operator and value.
cmp - Variable in class org.apache.empire.db.expr.join.DBCompareJoinExpr
 
cmpop - Variable in class org.apache.empire.db.expr.compare.DBCompareColExpr
 
CO - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase
 
coalesce(T, T) - Static method in class org.apache.empire.commons.ObjectUtils
Checks whether a preferred value is valid and returns an alternative value if not.
coalesce(String, String) - Static method in class org.apache.empire.commons.StringUtils
Returns the preferred String if it is not empty ot the alternative String otherwise.
coalesce(Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates a sql-expression for the nvl() or coalesce() function.
COLATTR_CURRENCY_CODE - Static variable in interface org.apache.empire.data.Column
 
COLATTR_DATETIMEPATTERN - Static variable in interface org.apache.empire.data.Column
 
COLATTR_ENUMTYPE - Static variable in interface org.apache.empire.data.Column
 
COLATTR_FRACTION_DIGITS - Static variable in interface org.apache.empire.data.Column
 
COLATTR_INTEGER_DIGITS - Static variable in interface org.apache.empire.data.Column
 
COLATTR_MAXVALUE - Static variable in interface org.apache.empire.data.Column
 
COLATTR_MINLENGTH - Static variable in interface org.apache.empire.data.Column
 
COLATTR_MINVALUE - Static variable in interface org.apache.empire.data.Column
 
COLATTR_NULLTEXT - Static variable in interface org.apache.empire.data.Column
 
COLATTR_NUMBER_GROUPSEP - Static variable in interface org.apache.empire.data.Column
 
COLATTR_NUMBER_TYPE - Static variable in interface org.apache.empire.data.Column
 
COLATTR_REGEXP - Static variable in interface org.apache.empire.data.Column
 
COLATTR_TITLE - Static variable in interface org.apache.empire.data.Column
Predefined column expression attributes (optional) for method Object getAttribute(String name)
COLATTR_TOOLTIP - Static variable in interface org.apache.empire.data.Column
 
COLATTR_TYPE - Static variable in interface org.apache.empire.data.Column
 
collectColumns(DatabaseMetaData) - Method in class org.apache.empire.db.validation.DBModelParser
collects column information from database meta data for each table
collectColumns(DatabaseMetaData, String) - Method in class org.apache.empire.db.validation.DBModelParser
collects column information from database meta data for whole schema
collectColumns(DatabaseMetaData) - Method in class org.apache.empire.dbms.oracle.OracleDBModelParser
collects all column information at once
collectColumns(DatabaseMetaData) - Method in class org.apache.empire.dbms.sqlserver.MSSqlDBModelParser
collects all column information at once
collectForeignKeys(DatabaseMetaData) - Method in class org.apache.empire.db.validation.DBModelParser
collects foreign key information from database meta data
collectForeignKeys(DatabaseMetaData, String) - Method in class org.apache.empire.db.validation.DBModelParser
collects foreign key information from database meta data
collectForeignKeys(DatabaseMetaData) - Method in class org.apache.empire.dbms.oracle.OracleDBModelParser
collects all foreign keys at once
collectPrimaryKeys(DatabaseMetaData) - Method in class org.apache.empire.db.validation.DBModelParser
collects primary key information from database meta data
collectTablesAndViews(DatabaseMetaData, String) - Method in class org.apache.empire.db.validation.DBModelParser
collects table and view information from database meta data
Column - Interface in org.apache.empire.data
The column interface provides methods for accessing metadata that is only relevant for updating records.
column(DBColumnExpr) - Method in class org.apache.empire.db.DBQuery
This is a convenience shortcut for findQueryColumn
column(String) - Method in class org.apache.empire.db.DBQuery
This is a convenience shortcut for findQueryColumn
column - Variable in class org.apache.empire.db.expr.set.DBSetExpr
 
ColumnExpr - Interface in org.apache.empire.data
The column interface provides methods for accessing metadata that is relevant for managing and displaying data available through the RecordData interface.
ColumnInfo(String, int, int, int, int, String) - Constructor for class org.apache.empire.dbms.oracle.OracleDataDictionnary.ColumnInfo
 
columnNullableMismatch(DBColumn, boolean) - Method in interface org.apache.empire.db.validation.DBModelErrorHandler
This method is called when a NOT NULL constraints of a column in the Empire-db definition does not match the database.
columnNullableMismatch(DBColumn, boolean) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
handle columnNullableMismatch errors
columnReferences - Variable in class org.apache.empire.db.DBRowSet
 
columns - Variable in class org.apache.empire.data.bean.BeanRecordProxy
 
columns - Variable in class org.apache.empire.data.list.DataListHead
 
columns - Variable in class org.apache.empire.db.DBRowSet
 
columnSeparator - Variable in class org.apache.empire.data.list.DataListHead
 
columnSizeMismatch(DBColumn, int, int) - Method in interface org.apache.empire.db.validation.DBModelErrorHandler
This method is called when the size of a column in the Empire-db definition does not match the database.
columnSizeMismatch(DBColumn, int, int) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
handle columnSizeMismatch errors
columnTypeMismatch(DBColumn, DataType) - Method in interface org.apache.empire.db.validation.DBModelErrorHandler
This method is called when the type of a column in the Empire-db definition does not match the database.
columnTypeMismatch(DBColumn, DataType) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
handle columnTypeMismatch errors
combine(T[], T[]) - Static method in class org.apache.empire.commons.ObjectUtils
combines two arrays
combine(DBRollbackHandler) - Method in interface org.apache.empire.db.context.DBRollbackHandler
 
combine(DBRollbackHandler) - Method in class org.apache.empire.db.DBRecordBase.DBRecordRollbackHandler
 
commandSeparator - Variable in class org.apache.empire.db.DBSQLScript
 
CommandWithoutSelectException - Exception in org.apache.empire.db.exceptions
 
CommandWithoutSelectException(DBCommandExpr) - Constructor for exception org.apache.empire.db.exceptions.CommandWithoutSelectException
 
comment - Variable in class org.apache.empire.db.DBColumn
 
comment - Variable in class org.apache.empire.db.DBRowSet
 
commit() - Method in class org.apache.empire.db.context.DBContextBase
 
commit() - Method in interface org.apache.empire.db.DBContext
 
compare(Object, Object) - Static method in class org.apache.empire.commons.ObjectUtils
Compares two objects for equality
compareColumns(DBColumn[]) - Method in class org.apache.empire.db.DBIndex
checks whether the columns of this index match the supplied columns
compareDates(Date, Date) - Static method in class org.apache.empire.commons.DateUtils
 
compareEqual(Date, Date) - Static method in class org.apache.empire.commons.DateUtils
 
compareEqual(Object, Object) - Static method in class org.apache.empire.commons.ObjectUtils
Compares two objects for equality
compareEqual(Object[], Object[]) - Static method in class org.apache.empire.commons.ObjectUtils
Compares two arrays for equality
compareEqual(ColumnExpr, ColumnExpr) - Static method in class org.apache.empire.commons.ObjectUtils
Compares two ColumnExpr for equality
compareEqual(String, String, boolean) - Static method in class org.apache.empire.commons.StringUtils
Compares two Strings with each other - either with or without character case.
compareEqual(String, String) - Static method in class org.apache.empire.commons.StringUtils
Compares two Strings with each other - either with or without character case.
compareExpr - Variable in class org.apache.empire.db.expr.compare.DBExistsExpr
 
compareKey(Column[], Object[]) - Method in class org.apache.empire.data.list.DataListEntry
Compares a given record key with the key of the entry
compareNotEqual(String, String, boolean) - Static method in class org.apache.empire.commons.StringUtils
Compares two Strings with each other - either with or without character case.
compareNotEqual(String, String) - Static method in class org.apache.empire.commons.StringUtils
Compares two Strings with each other - either with or without character case.
compExpr - Variable in class org.apache.empire.db.expr.join.DBColumnJoinExpr
 
completeInitRecord(DBRecordBase) - Method in class org.apache.empire.db.DBRowSet
Completes the record initialization.
completeParamUsage(DBCommand) - Method in class org.apache.empire.db.DBCmdParamList
internally used to remove unused Command Params from list Note: Only one thread my generate an SQL statement
completeParamUsage() - Method in class org.apache.empire.db.DBCommand
internally used to remove unused Command Params from list Note: Only one thread my generate an SQL statement
completeQuery(List<T>) - Method in interface org.apache.empire.data.list.DataListFactory
 
completeQuery(List<T>) - Method in class org.apache.empire.data.list.DataListFactoryImpl
 
completeQuery(List<T>) - Method in interface org.apache.empire.db.list.DBBeanListFactory
 
completeQuery(List<T>) - Method in class org.apache.empire.db.list.DBBeanListFactoryImpl
 
completeQuery(List<T>) - Method in interface org.apache.empire.db.list.DBRecordListFactory
 
completeQuery(List<T>) - Method in class org.apache.empire.db.list.DBRecordListFactoryImpl
 
concat(String, Object...) - Static method in class org.apache.empire.commons.StringUtils
Assembles a string from parts with a separator
concat(String...) - Static method in class org.apache.empire.commons.StringUtils
Assembles a string from several parts
concat(DBColumnExpr...) - Method in class org.apache.empire.db.DBColumnExpr
concatenates a list of expressions to the current column
concat(String, DBColumnExpr...) - Method in class org.apache.empire.db.DBColumnExpr
concatenates a list of expressions to the current column
connectBy - Variable in class org.apache.empire.dbms.oracle.DBCommandOracle
 
connectByPrior(DBCompareExpr) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
 
ConstraintViolationException - Exception in org.apache.empire.db.exceptions
 
ConstraintViolationException(DBMSHandler, String, SQLException) - Constructor for exception org.apache.empire.db.exceptions.ConstraintViolationException
 
constructor - Variable in class org.apache.empire.data.list.DataListFactoryImpl
 
constructor - Variable in class org.apache.empire.db.list.DBBeanListFactoryImpl
 
constructor - Variable in class org.apache.empire.db.list.DBRecordListFactoryImpl
 
constructorParams - Variable in class org.apache.empire.db.list.DBBeanListFactoryImpl
 
contains(Object) - Method in class org.apache.empire.commons.Attributes
 
contains(String) - Method in class org.apache.empire.commons.Attributes
 
contains(T[], T) - Static method in class org.apache.empire.commons.ObjectUtils
returns whether or not a array contains a certain item performs a simple (==) comparison (fast)
contains(Object) - Method in class org.apache.empire.commons.Options
 
contains(String, String) - Static method in class org.apache.empire.commons.StringUtils
Returns true if the given substring is part of the string provided by value
contains(DBColumn) - Method in class org.apache.empire.db.DBExpressionIndex
Checks if this index contains the column col
contains(DBColumn) - Method in class org.apache.empire.db.DBIndex
Checks if this index contains the column col
containsNull() - Method in class org.apache.empire.commons.Options
 
context - Variable in class org.apache.empire.db.DBReader
 
context - Variable in class org.apache.empire.db.DBRecord
 
context - Variable in class org.apache.empire.db.DBSQLScript
 
context - Variable in class org.apache.empire.db.DBUtils
 
convert(Class<T>, Object) - Static method in class org.apache.empire.commons.ObjectUtils
Generic conversion function that will convert a object to another value type.
convert(Class<T>, Collection<? extends T>) - Static method in class org.apache.empire.commons.ObjectUtils
Generic conversion function that will convert a list to another list type.
convertTo(DataType, Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates a new DBFuncExpr object that will convert the current column to the destination data type specified.
convertTo(DataType) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new DBFuncExpr object that will convert the current column to the destination data type specified.
copy(T) - Static method in class org.apache.empire.commons.ClassUtils
Makes a copy of an object if possible or returns the object itself if copy is not supported
copy(T, int) - Static method in class org.apache.empire.commons.ClassUtils
Makes a copy of an object if possible or returns null or self (depending on flags)
Copy() - Constructor for class org.apache.empire.commons.ClassUtils.Copy
 
copy(Object) - Method in class org.apache.empire.db.DBRecordBase.DBRecordRollbackHandler
 
copy(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
Copy Command
copy(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
Copy Command
copy(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBCompareExpr
internally used for command cloning
copy(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBCompareNotExpr
Copy Command
copy(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
 
copy(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBExistsExpr
Copy Command
copy(DBCommand) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
Copy Command
copy(DBCommand) - Method in class org.apache.empire.db.expr.join.DBCompareJoinExpr
Copy Command
copy(DBCommand) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
Copy Command
copy(DBCommand) - Method in class org.apache.empire.db.expr.join.DBJoinExpr
Copy Command
copy(DBCommand) - Method in class org.apache.empire.db.expr.set.DBSetExpr
Copy Command
copy(DBCommand) - Method in class org.apache.empire.dbms.postgresql.PostgresAtAt
 
count() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an expression for the SQL "count()" function which returns the number of rows in the result set.
count() - Method in class org.apache.empire.db.DBRowSet
Returns a new DBCountExpr object.
countDistinct() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an expression for the SQL "count()" function which returns the number of unique values in the result set.
create(Object[]) - Method in class org.apache.empire.db.DBRecord
Creates a new record
create() - Method in class org.apache.empire.db.DBRecord
Creates a new record
create(DBContext, DBRowSet, Object[]) - Method in class org.apache.empire.db.DBRecordBean
Creates a new record
create(DBContext, DBRowSet) - Method in class org.apache.empire.db.DBRecordBean
Creates a new record
createAndAppendColumn(String, DataType, double, boolean, Object) - Method in class org.apache.empire.db.DBTable
Creates a new Column object and appends it to the column list
createCombinedCommand(DBCommandExpr, String, DBCommandExpr) - Method in interface org.apache.empire.dbms.DBMSHandler
This function gives the dbms a chance to provide a custom implementation for a combined command such as UNION or INTERSECT
createCombinedCommand(DBCommandExpr, String, DBCommandExpr) - Method in class org.apache.empire.dbms.DBMSHandlerBase
This function gives the dbms a chance to provide a custom implementation for a combined command such as UNION or INTERSECT
createCombinedCommand(DBCommandExpr, String, DBCommandExpr) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
 
createCommand() - Method in class org.apache.empire.db.context.DBContextBase
Creates a new Command object for the given database
createCommand() - Method in interface org.apache.empire.db.DBContext
 
createCommand() - Method in class org.apache.empire.db.DBDatabase
Creates a new Command object for this database Deprecated instead use context.createCommand();
createCommand() - Method in class org.apache.empire.db.DBView
Returns the command required to create the view
This is function is only used for the creation of DDL statements
createCommand(boolean) - Method in interface org.apache.empire.dbms.DBMSHandler
This function creates a DBCommand for this DBMS
createCommand(boolean) - Method in class org.apache.empire.dbms.DBMSHandlerBase
This function creates a DBCommand derived object this database
createCommand(boolean) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
Creates a new H2 command object.
createCommand(boolean) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
Override standard command
createCommand(boolean) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
Creates a new MySQL command object.
createCommand(boolean) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
Creates a new Oracle command object.
createCommand(boolean) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
Creates a new PostgreSQL command object.
createCommand(boolean) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
Creates a new SQLite command object.
createCommand(boolean) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
Creates a new Microsoft SQL-Server command object.
createComment(DBDatabase, String, DBExpr, String, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
 
createDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
Appends the DDL-Script for creating the given database to an SQL-Script
This includes the generation of all tables, views and relations.
createDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.dbms.hsql.HSqlDDLGenerator
 
createDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.dbms.mysql.MySQLDDLGenerator
 
createDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
 
createDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.dbms.postgresql.PostgresDDLGenerator
 
createDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.dbms.sqlserver.MSSqlDDLGenerator
 
createDefaultBeanListFactory(Class<T>, Column[], List<? extends DBColumnExpr>) - Method in class org.apache.empire.db.DBUtils
Crates a default DBBeanListFactory for Java bean class The DBRecord class must provide either a standard construtor with correspondig property set fundtions or a constructor using the fields of the query
createDefaultDataListFactory(Class<T>, DataListHead) - Method in class org.apache.empire.db.DBUtils
Crates a default DataListFactory for a DataListEntry class The DataListEntry class must provide the following constructor DataListEntry(DataListFactory<?
createDefaultDataListHead(DBCommandExpr, Class<? extends DataListEntry>) - Method in class org.apache.empire.db.DBUtils
Crates a default DataListHead for a DataListEntry class
createDefaultRecordListFactory(Class<R>, DBRowSet) - Method in class org.apache.empire.db.DBUtils
Crates a default DBRecordListFactory for a DBRecord class The DBRecord class must provide the following constructor DBRecord(DBContext context, DBRowSet rowset)
createDocument() - Static method in class org.apache.empire.xml.XMLUtil
Returns a document newly created by the class's static DocumentBuilder.
createDocument(String) - Static method in class org.apache.empire.xml.XMLUtil
 
createDocumentNS(String, String, Map<String, String>) - Static method in class org.apache.empire.xml.XMLUtil
 
createIndex(DBTable, DBIndex, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
Appends the DDL-Script for creating a single index to an SQL-Script
createModelChecker(DBDatabase) - Method in interface org.apache.empire.dbms.DBMSHandler
Creates a DataModelChecker instance of this DBMSHandler
createModelChecker(DBDatabase) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Creates a DataModelChecker instance of this DBMSHandler
createModelChecker(DBDatabase) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
Creates a DBModelChecker instance of this DBMSHandler
createModelChecker(DBDatabase) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
Creates a DataModelChecker instance of this DBMSHandler
createModelChecker(DBDatabase) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
 
createModelParser(String, String) - Method in interface org.apache.empire.dbms.DBMSHandler
Creates a DataModelParser instance of this DBMSHandler
createModelParser(String, String) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Creates a DataModelParser instance of this DBMSHandler
createModelParser(String, String) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
 
createModelParser(String, String) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
Creates a DataModelChecker instance of this DBMSHandler
createOptionEntry(Object, String, boolean) - Method in class org.apache.empire.commons.Options
 
createQueryColumn(DBColumnExpr, int) - Method in class org.apache.empire.db.DBQuery
factory method for column expressions in order to allow overrides
createRecord(DBRecordBase, Object[], boolean) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
throws ERR_NOTSUPPORTED
createRecord(DBRecordBase, Object[], boolean) - Method in class org.apache.empire.db.DBQuery
Returns an error, because it is not possible to add a record to a query.
createRecord(DBRecordBase, Object[], boolean) - Method in class org.apache.empire.db.DBRowSet
 
createRecord(DBRecordBase, Object[], boolean) - Method in class org.apache.empire.db.DBTable
Gets all table fields and the fields properties.
createRecord(DBRecordBase, Object[], boolean) - Method in class org.apache.empire.db.DBView
 
createRecordCommand(DBContext) - Method in class org.apache.empire.db.DBRowSet
Mabe use Prepared statements even if disabled in context
createRelation(DBRelation, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
Appends the DDL-Script for creating the given foreign-key relation to an SQL-Script
createRelation(DBRelation, DBSQLScript) - Method in class org.apache.empire.dbms.sqlite.SQLiteDDLGenerator
 
createRemoteDatabase() - Method in class org.apache.empire.db.validation.DBModelParser
 
createRollbackHandler() - Method in class org.apache.empire.db.DBRecordBase
Factory function to create createRollbackHandler();
createSequence(DBDatabase, DBTableColumn, DBSQLScript) - Method in class org.apache.empire.dbms.hsql.HSqlDDLGenerator
Appends the DDL-Script for creating a sequence to an SQL-Script
createSequence(DBDatabase, DBTableColumn, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
Returns true if the sequence has been created successfully.
createSequence(DBDatabase, DBTableColumn, DBSQLScript) - Method in class org.apache.empire.dbms.postgresql.PostgresDDLGenerator
Appends the DDL-Script for creating a sequence to an SQL-Script
createSQLBuilder(String) - Method in class org.apache.empire.db.DBCommand
 
createSQLBuilder(String) - Method in class org.apache.empire.db.DBCommandExpr
creates a new DBSQLBuilder
createSQLBuilder() - Method in interface org.apache.empire.dbms.DBMSHandler
This function creates a DBSQLBuilder for this DBMS
createSQLBuilder() - Method in class org.apache.empire.dbms.DBMSHandlerBase
This function creates a DBSQLBuilder for this DBMS
createSQLBuilder() - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
Creates a new MySQL SQL-Builder.
createSQLBuilder() - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
Creates a new Microsoft SQL-Server SQL-Builder.
createTable(DBTable, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
Appends the DDL-Script for creating the given table to an SQL-Script
createTable(DBTable, DBSQLScript) - Method in class org.apache.empire.dbms.mysql.MySQLDDLGenerator
Appends the DDL-Script for creating the given table to an SQL-Script
createTable(DBTable, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
 
createTable(DBTable, DBSQLScript) - Method in class org.apache.empire.dbms.sqlite.SQLiteDDLGenerator
 
createTableIndexes(DBTable, DBIndex, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
Appends the DDL-Script for creating all indexes of table (except the primary key) to an SQL-Script
createUtils() - Method in class org.apache.empire.db.context.DBContextBase
Factory function for Utils creation
createView(DBView, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
Appends the DDL-Script for creating the given view to an SQL-Script
createView(DBView, DBSQLScript) - Method in class org.apache.empire.dbms.mysql.MySQLDDLGenerator
Appends the DDL-Script for creating the given view to an SQL-Script
CTX - Variable in class org.apache.empire.db.generic.TRecord
 
CTX_ALIAS - Static variable in class org.apache.empire.db.DBExpr
 
CTX_ALL - Static variable in class org.apache.empire.db.DBExpr
 
CTX_DEFAULT - Static variable in class org.apache.empire.db.DBExpr
 
CTX_FULLNAME - Static variable in class org.apache.empire.db.DBExpr
 
CTX_NAME - Static variable in class org.apache.empire.db.DBExpr
 
CTX_NOPARENTHESIS - Static variable in class org.apache.empire.db.DBExpr
 
CTX_VALUE - Static variable in class org.apache.empire.db.DBExpr
 
curCount - Variable in class org.apache.empire.db.DBReader.DBReaderIterator
 

D

data - Variable in class org.apache.empire.data.bean.BeanRecordProxy
 
DatabaseNotOpenException - Exception in org.apache.empire.db.exceptions
 
DatabaseNotOpenException(DBDatabase) - Constructor for exception org.apache.empire.db.exceptions.DatabaseNotOpenException
 
databaseObjectName - Variable in class org.apache.empire.db.DBDDLGenerator
 
DataBean<DB extends DBDatabase> - Interface in org.apache.empire.db.list
 
DataListEntry - Class in org.apache.empire.data.list
 
DataListEntry(DataListHead, Object[], int) - Constructor for class org.apache.empire.data.list.DataListEntry
 
DataListEntry(DataListHead, Object[]) - Constructor for class org.apache.empire.data.list.DataListEntry
 
DataListFactory<T extends DataListEntry> - Interface in org.apache.empire.data.list
 
DataListFactoryImpl<T extends DataListEntry> - Class in org.apache.empire.data.list
DataListFactoryImpl Implements the DataListFactory
DataListFactoryImpl(Constructor<T>, DataListHead) - Constructor for class org.apache.empire.data.list.DataListFactoryImpl
Constructs a DataListFactoryImpl based on a DateListEntry constructor and a DataListHead
DataListFactoryImpl(Class<T>, DataListHead) - Constructor for class org.apache.empire.data.list.DataListFactoryImpl
Constructs a DataListFactoryImpl based on a DateListEntry class and a DataListHead
DataListHead - Class in org.apache.empire.data.list
 
DataListHead(ColumnExpr[]) - Constructor for class org.apache.empire.data.list.DataListHead
Constructs a DataListHead based on an DataListEntry constructor
DataType - Enum in org.apache.empire.data
DataType is an enumeration of data types that are supported with the empire-db component.
dataType - Variable in class org.apache.empire.db.DBView.DBViewColumn
 
dataType - Variable in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
 
dataType - Variable in class org.apache.empire.db.expr.column.DBScalarExpr
 
DATATYPE_BLOB - Variable in class org.apache.empire.db.DBDDLGenerator
 
DATATYPE_BOOLEAN - Variable in class org.apache.empire.db.DBDDLGenerator
 
DATATYPE_CHAR - Variable in class org.apache.empire.db.DBDDLGenerator
 
DATATYPE_CLOB - Variable in class org.apache.empire.db.DBDDLGenerator
 
DATATYPE_DATE - Variable in class org.apache.empire.db.DBDDLGenerator
 
DATATYPE_DECIMAL - Variable in class org.apache.empire.db.DBDDLGenerator
 
DATATYPE_FLOAT - Variable in class org.apache.empire.db.DBDDLGenerator
 
DATATYPE_INT_BIG - Variable in class org.apache.empire.db.DBDDLGenerator
 
DATATYPE_INT_MEDIUM - Variable in class org.apache.empire.dbms.mysql.MySQLDDLGenerator
 
DATATYPE_INT_SMALL - Variable in class org.apache.empire.db.DBDDLGenerator
 
DATATYPE_INT_TINY - Variable in class org.apache.empire.dbms.mysql.MySQLDDLGenerator
 
DATATYPE_INTEGER - Variable in class org.apache.empire.db.DBDDLGenerator
 
DATATYPE_TIME - Variable in class org.apache.empire.db.DBDDLGenerator
 
DATATYPE_TIMESTAMP - Variable in class org.apache.empire.db.DBDDLGenerator
 
DATATYPE_UNIQUEID - Variable in class org.apache.empire.db.DBDDLGenerator
 
DATATYPE_VARCHAR - Variable in class org.apache.empire.db.DBDDLGenerator
 
DateUtils - Class in org.apache.empire.commons
This class contains common functions for comparing and converting values of type Date.
day() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an function object that calculates the day of a date value.
db - Variable in class org.apache.empire.db.DBRowSet
 
db - Variable in class org.apache.empire.db.expr.column.DBScalarExpr
 
db - Variable in class org.apache.empire.db.expr.column.DBValueExpr
 
DB - Variable in class org.apache.empire.db.generic.TTable
 
DB - Variable in class org.apache.empire.db.generic.TView
 
db - Variable in class org.apache.empire.dbms.oracle.OracleRowNumExpr
 
DBAbstractFuncExpr - Class in org.apache.empire.db.expr.column
This implements some basic functionality for SQL functions based on a column expression
DBAbstractFuncExpr(DBColumnExpr, boolean, DataType) - Constructor for class org.apache.empire.db.expr.column.DBAbstractFuncExpr
Constructs a new DBFuncExpr object set the specified parameters to this object.
DBAliasExpr - Class in org.apache.empire.db.expr.column
This class allows column renaming in SQL.
DBAliasExpr(DBColumnExpr, String) - Constructor for class org.apache.empire.db.expr.column.DBAliasExpr
Constructs a DBAliasExpr object combine the DBColumnExpr object with the alias name.
DBBeanFactoryCache - Class in org.apache.empire.db.list
DBBeanFactoryCache
DBBeanFactoryCache() - Constructor for class org.apache.empire.db.list.DBBeanFactoryCache
 
DBBeanListFactory<T> - Interface in org.apache.empire.db.list
 
DBBeanListFactoryImpl<T> - Class in org.apache.empire.db.list
DBRecordListFactoryImpl Implements the DBRecordListFactory interface
DBBeanListFactoryImpl(Constructor<T>, List<? extends DBColumnExpr>, List<? extends DBColumnExpr>) - Constructor for class org.apache.empire.db.list.DBBeanListFactoryImpl
Constructs a DBRecordListFactoryImpl based on an DBRecord constructor
DBBeanListFactoryImpl(Class<T>, List<? extends DBColumnExpr>) - Constructor for class org.apache.empire.db.list.DBBeanListFactoryImpl
Constructs a DBRecordListFactoryImpl based on an DBRecord class
DBBeanListFactoryImpl(Class<T>, List<? extends DBColumnExpr>, List<? extends DBColumnExpr>) - Constructor for class org.apache.empire.db.list.DBBeanListFactoryImpl
Constructs a DBRecordListFactoryImpl based on an DBRecord class
DBBeanListFactoryImpl(Class<T>, Column[], List<? extends DBColumnExpr>) - Constructor for class org.apache.empire.db.list.DBBeanListFactoryImpl
Constructs a DBRecordListFactoryImpl based on an DBRecord class
DBBlobData - Class in org.apache.empire.db
This class allocates methods to store binary large objects in the database.
DBBlobData(InputStream, int) - Constructor for class org.apache.empire.db.DBBlobData
Constructor to pass LOB data to the setValue methods of a record, consisting of the input stream where the data can be loaded from and the length of the data.
DBBlobData(byte[]) - Constructor for class org.apache.empire.db.DBBlobData
Constructor for LobData from a byte array.
DBBlobData(String, String) - Constructor for class org.apache.empire.db.DBBlobData
Constructor for LobData from a string.
DBBlobData(String) - Constructor for class org.apache.empire.db.DBBlobData
Constructor for LobData from a string.
DBCalcExpr - Class in org.apache.empire.db.expr.column
This class is used for performing calculations in SQL
It handles the mathematical operations ("+", "-", "*", "/") for the current column.
DBCalcExpr(DBColumnExpr, String, Object) - Constructor for class org.apache.empire.db.expr.column.DBCalcExpr
Constructs a DBCalcExpr object Sets the mathematical operations ("+", "-", "*", "/")
for the specified DBColumnExpr object and value.
DBCaseExpr - Class in org.apache.empire.db.expr.column
This class is used to add the "case when ?
DBCaseExpr(DBCompareExpr, DBColumnExpr, DBColumnExpr) - Constructor for class org.apache.empire.db.expr.column.DBCaseExpr
Constructs a DBCaseExpr
DBCaseWhenExpr - Class in org.apache.empire.db.expr.column
This class is used to create a SQL CASE constraint in the form of case when {cond1} then {result1} when {cond2} then {result2} ...
DBCaseWhenExpr(Map<DBCompareExpr, DBColumnExpr>, DBColumnExpr) - Constructor for class org.apache.empire.db.expr.column.DBCaseWhenExpr
Constructs a DBCaseExpr
DBClobData - Class in org.apache.empire.db
This class allocates methods to store binary character objects in the database.
DBClobData(Reader, int) - Constructor for class org.apache.empire.db.DBClobData
Constructor to pass LOB data to the setValue methods of a record, consisting of the input stream where the data can be loaded from and the length of the data.
DBClobData(String) - Constructor for class org.apache.empire.db.DBClobData
Constructor for LobData from a string.
DBCmdColumn(DBRowSet, DBColumnExpr) - Constructor for class org.apache.empire.db.DBCommandExpr.DBCmdColumn
Constructs a new DBCmdColumn object
DBCmdParam - Class in org.apache.empire.db
This class defines a parameter for a prepared statement query.
DBCmdParam(DBCommand, DataType, Object) - Constructor for class org.apache.empire.db.DBCmdParam
Protected constructor used e.g. by DBCommand.addParam(...)
DBCmdParamList - Class in org.apache.empire.db
DBCmdParamList This class handles command parameters for Prepared Statements
DBCmdParamList() - Constructor for class org.apache.empire.db.DBCmdParamList
 
DBCmdParamList(DBCmdParams) - Constructor for class org.apache.empire.db.DBCmdParamList
 
DBCmdParamList(int) - Constructor for class org.apache.empire.db.DBCmdParamList
 
DBCmdParams - Interface in org.apache.empire.db
DBCmdParams Provides information about the command parameters used in a DBCommand
DBCmdQuery(DBCommandExpr, DBDatabase, DBColumnExpr[]) - Constructor for class org.apache.empire.db.DBCommandExpr.DBCmdQuery
Creates a new DBCmdQueryObject
DBCmdResultExpr - Class in org.apache.empire.db.expr.column
 
DBCmdResultExpr(DBCommandExpr) - Constructor for class org.apache.empire.db.expr.column.DBCmdResultExpr
 
DBCmpType - Enum in org.apache.empire.db
This enum allocates the available compare types.
DBCoalesceExpr - Class in org.apache.empire.db.expr.column
 
DBCoalesceExpr(DBColumnExpr, Object) - Constructor for class org.apache.empire.db.expr.column.DBCoalesceExpr
 
DBCOLATTR_SINGLEBYTECHARS - Static variable in class org.apache.empire.db.DBTableColumn
 
DBCOLATTR_TITLE - Static variable in class org.apache.empire.db.DBColumnExpr
 
DBCOLATTR_TYPE - Static variable in class org.apache.empire.db.DBColumnExpr
 
DBColComments(DBDatabase) - Constructor for class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColComments
 
DBColInfo(DBDatabase) - Constructor for class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBColInfo
 
DBColumn - Class in org.apache.empire.db
This is the base class for all database columns that have a physical representation.
DBColumn(DBRowSet, String) - Constructor for class org.apache.empire.db.DBColumn
Constructs a DBColumn object and set the specified parameters to this object.
DBColumnExpr - Class in org.apache.empire.db
This class is the base class for all expressions that represent a single value.
DBColumnExpr() - Constructor for class org.apache.empire.db.DBColumnExpr
 
DBColumnJoinExpr - Class in org.apache.empire.db.expr.join
 
DBColumnJoinExpr(DBColumnExpr, DBColumnExpr, DBJoinType) - Constructor for class org.apache.empire.db.expr.join.DBColumnJoinExpr
Constructs a new DBJoinExpr object initialize this object with the left and right column and the data type of the join expression.
DBCombinedCmd - Class in org.apache.empire.db
This class is used for building up a partition of a SQL-Command.
DBCombinedCmd(DBCommandExpr, String, DBCommandExpr) - Constructor for class org.apache.empire.db.DBCombinedCmd
Constructs a new DBFuncExpr object and sets the specified parameters to this object.
DBCommand - Class in org.apache.empire.db
This abstract class handles the creation of the SQL-Commands.
DBCommand(DBMSHandler, boolean, DBCmdParamList) - Constructor for class org.apache.empire.db.DBCommand
Constructs a new DBCommand object and set the specified DBDatabase object.
DBCommand(DBMSHandler, boolean) - Constructor for class org.apache.empire.db.DBCommand
Constructs a new DBCommand object and set the specified DBDatabase object.
DBCommandExpr - Class in org.apache.empire.db
This abstract class handles the creation of the SQL-Commands.
DBCommandExpr(DBMSHandler) - Constructor for class org.apache.empire.db.DBCommandExpr
Constructs an empty DBCommandExpr object
DBCommandExpr.DBCmdColumn - Class in org.apache.empire.db
This class wraps a column of sql command in a special command column object.
DBCommandExpr.DBCmdQuery - Class in org.apache.empire.db
 
DBCommandH2(DBMSHandlerH2, boolean) - Constructor for class org.apache.empire.dbms.h2.DBMSHandlerH2.DBCommandH2
 
DBCommandHSql - Class in org.apache.empire.dbms.hsql
This class handles the special features of an HSqlDB database.
DBCommandHSql(DBMSHandlerHSql, boolean) - Constructor for class org.apache.empire.dbms.hsql.DBCommandHSql
Constructs an HSqlDB command object.
DBCommandMSSQL(DBMSHandlerMSSQL, boolean) - Constructor for class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBCommandMSSQL
 
DBCommandMySQL(DBMSHandlerMySQL, boolean) - Constructor for class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBCommandMySQL
 
DBCommandOracle - Class in org.apache.empire.dbms.oracle
This class handles the special features of an oracle database.
DBCommandOracle(DBMSHandlerOracle, boolean) - Constructor for class org.apache.empire.dbms.oracle.DBCommandOracle
Constructs an oracle command object.
DBCommandPostgres - Class in org.apache.empire.dbms.postgresql
Defines the PostgreSQL command type.
DBCommandPostgres(DBMSHandlerPostgreSQL, boolean) - Constructor for class org.apache.empire.dbms.postgresql.DBCommandPostgres
 
DBCommandSQLite(DBMSHandlerSQLite, boolean) - Constructor for class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite.DBCommandSQLite
 
DBCompareAndOrExpr - Class in org.apache.empire.db.expr.compare
This class is used for combining two filter constraints by and / or operator
There is no need to explicitly create instances of this class.
DBCompareAndOrExpr(DBCompareExpr, DBCompareExpr, boolean) - Constructor for class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
Constructs a DBCompareColExpr object
DBCompareColExpr - Class in org.apache.empire.db.expr.compare
This class is used for defining filter constraints based on a column expression in SQL
There is no need to explicitly create instances of this class.
DBCompareColExpr(DBColumnExpr, DBCmpType, Object) - Constructor for class org.apache.empire.db.expr.compare.DBCompareColExpr
Constructs a DBCompareColExpr object set the specified parameters to this object.
DBCompareExpr - Class in org.apache.empire.db.expr.compare
This class is a common base class for all SQL filter constraints classes
DBCompareExpr() - Constructor for class org.apache.empire.db.expr.compare.DBCompareExpr
 
DBCompareJoinExpr - Class in org.apache.empire.db.expr.join
This class is used for building a join expression of an SQL statement.
DBCompareJoinExpr(DBRowSet, DBCompareExpr, DBJoinType) - Constructor for class org.apache.empire.db.expr.join.DBCompareJoinExpr
Constructs a new DBJoinExprEx
DBCompareNotExpr - Class in org.apache.empire.db.expr.compare
This class is used for defining filter constraints based on a column expression in SQL
There is no need to explicitly create instances of this class.
DBCompareNotExpr(DBCompareExpr) - Constructor for class org.apache.empire.db.expr.compare.DBCompareNotExpr
Constructs a DBCompareColExpr object
DBCompareParenthesisExpr - Class in org.apache.empire.db.expr.compare
This class wraps an existing compare expression with parenthesis.
DBCompareParenthesisExpr(DBCompareExpr) - Constructor for class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
 
DBConcatExpr - Class in org.apache.empire.db.expr.column
This class is used for performing string concatenation in SQL
There is no need to explicitly create instances of this class.
DBConcatExpr(DBColumnExpr, Object) - Constructor for class org.apache.empire.db.expr.column.DBConcatExpr
Constructs a new DBConcatExpr object set the specified parameters to this object.
DBConcatFuncExpr - Class in org.apache.empire.db.expr.column
DBConcatExpression
DBConcatFuncExpr(DBColumnExpr, String, DBColumnExpr...) - Constructor for class org.apache.empire.db.expr.column.DBConcatFuncExpr
create concat expression
DBConcatFuncExpr(DBColumnExpr, DBColumnExpr...) - Constructor for class org.apache.empire.db.expr.column.DBConcatFuncExpr
create concat expression
DBConstraints(DBDatabase) - Constructor for class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBConstraints
 
DBContext - Interface in org.apache.empire.db
DBContext A context is required for every database operation
DBContextAware - Interface in org.apache.empire.db.context
 
DBContextBase - Class in org.apache.empire.db.context
DBContextBase Basic implementation of the DBContext interface which can be used as a base class for own implmentations
DBContextBase() - Constructor for class org.apache.empire.db.context.DBContextBase
 
DBContextStatic - Class in org.apache.empire.db.context
 
DBContextStatic(DBMSHandler, Connection) - Constructor for class org.apache.empire.db.context.DBContextStatic
Creates a static DBContext with default options
DBContextStatic(DBMSHandler, Connection, boolean) - Constructor for class org.apache.empire.db.context.DBContextStatic
Creates a static DBContext with custom options
DBConvertExpr - Class in org.apache.empire.db.expr.column
This class is used to convert a value to a different data type.
DBConvertExpr(DBColumnExpr, DataType, Object) - Constructor for class org.apache.empire.db.expr.column.DBConvertExpr
Constructs a DBDecodeExpr
DBCountExpr - Class in org.apache.empire.db.expr.column
This class is used to add the "count" statement to the SQL-Command.
DBCountExpr(DBRowSet) - Constructor for class org.apache.empire.db.expr.column.DBCountExpr
Constructs a DBCountExpr.
DBCountExpr(DBColumnExpr, boolean) - Constructor for class org.apache.empire.db.expr.column.DBCountExpr
Constructs a DBCountExpr.
DBCrossJoinExpr - Class in org.apache.empire.db.expr.join
This class is used for building a join expression of an SQL statement.
DBCrossJoinExpr(DBRowSet, DBRowSet) - Constructor for class org.apache.empire.db.expr.join.DBCrossJoinExpr
Constructs a new DBJoinExpr object initialize this object with the left and right column and the data type of the join expression.
DBDatabase - Class in org.apache.empire.db
This abstract class is the applicaton's interface for a particular database schema.
DBDatabase(String, String) - Constructor for class org.apache.empire.db.DBDatabase
Constructs a new DBDatabase object and sets the specified schema object.
DBDatabase(String) - Constructor for class org.apache.empire.db.DBDatabase
Constructs a new DBDatabase object and sets the specified schema object.
DBDatabase() - Constructor for class org.apache.empire.db.DBDatabase
Constructs a new DBDatabase object set the variable 'schema' = null.
DBDatabase.DBSystemDate - Class in org.apache.empire.db
This class represents the database systems current date and time.
DBDDLGenerator<T extends DBMSHandler> - Class in org.apache.empire.db
 
DBDDLGenerator(T) - Constructor for class org.apache.empire.db.DBDDLGenerator
 
DBDDLGenerator.DDLActionType - Enum in org.apache.empire.db
DDLActionType for DDLScript generation
DBDecodeExpr - Class in org.apache.empire.db.expr.column
This class is used to decode a set of keys to the corresponding target values.
DBDecodeExpr(DBColumnExpr, Map<?, ?>, Object, DataType) - Constructor for class org.apache.empire.db.expr.column.DBDecodeExpr
Constructs a DBDecodeExpr
DBExistsExpr - Class in org.apache.empire.db.expr.compare
This class is used for building up the SQL-Command for the EXISTS syntax.
DBExistsExpr(DBCommandExpr) - Constructor for class org.apache.empire.db.expr.compare.DBExistsExpr
Constructs a DBExistsExpr object set the specified parameters to this object.
DBExistsExpr(DBCommandExpr, DBCompareExpr) - Constructor for class org.apache.empire.db.expr.compare.DBExistsExpr
Constructs a DBExistsExpr object set the specified parameters to this object.
DBExpr - Class in org.apache.empire.db
This abstract class is the base class for all database expression classes (e.g.
DBExpr() - Constructor for class org.apache.empire.db.DBExpr
 
DBExpressionIndex - Class in org.apache.empire.db
This class handles the primary key for the tables.
DBExpressionIndex(String, DBIndex.DBIndexType, DBExpr...) - Constructor for class org.apache.empire.db.DBExpressionIndex
Constructs a DBExpresionIndex
DBExpressionIndex(String, boolean, DBExpr...) - Constructor for class org.apache.empire.db.DBExpressionIndex
Constructs a DBExpresionIndex Overload for convenience
DBFuncExpr - Class in org.apache.empire.db.expr.column
This class is used for performing various SQL functions on a column or column expression.
DBFuncExpr(DBColumnExpr, DBSqlPhrase, Object[], DataType) - Constructor for class org.apache.empire.db.expr.column.DBFuncExpr
Constructs a new DBFuncExpr object set the specified parameters to this object.
DBFuncExpr(DBColumnExpr, String, Object[], boolean, DataType) - Constructor for class org.apache.empire.db.expr.column.DBFuncExpr
Constructs a new DBFuncExpr object set the specified parameters to this object.
DBIndex - Class in org.apache.empire.db
This class handles the primary key for the tables.
DBIndex(String, DBIndex.DBIndexType, DBColumn[]) - Constructor for class org.apache.empire.db.DBIndex
Constructs a DBIndex object set the specified parameters to this object.
DBIndex.DBIndexType - Enum in org.apache.empire.db
 
DBJoinExpr - Class in org.apache.empire.db.expr.join
This class is used for building a join expression of an SQL statement.
DBJoinExpr(DBJoinType) - Constructor for class org.apache.empire.db.expr.join.DBJoinExpr
Constructs a new DBJoinExpr object initialize this object with the left and right column and the data type of the join expression.
DBJoinType - Enum in org.apache.empire.db
DBJoinType contains the possibilities to join two database tables.
DBModelChecker - Class in org.apache.empire.db.validation
 
DBModelChecker(DBModelParser) - Constructor for class org.apache.empire.db.validation.DBModelChecker
Creates a new Model Checker
DBModelErrorHandler - Interface in org.apache.empire.db.validation
 
DBModelErrorLogger - Class in org.apache.empire.db.validation
An implemtnation of the DBModelErrorHandler interface that logs all errors
DBModelErrorLogger() - Constructor for class org.apache.empire.db.validation.DBModelErrorLogger
 
DBModelParser - Class in org.apache.empire.db.validation
 
DBModelParser(String, String) - Constructor for class org.apache.empire.db.validation.DBModelParser
Creates a new Model Checker
dbms - Variable in class org.apache.empire.db.DBDatabase
 
dbms - Variable in class org.apache.empire.db.DBDDLGenerator
 
dbms - Variable in class org.apache.empire.db.DBSQLBuilder
 
dbms - Variable in class org.apache.empire.db.DBUtils
 
DBMSBuilder(DBMSHandler) - Constructor for class org.apache.empire.dbms.DBMSHandlerBase.DBMSBuilder
 
DBMSCommand(DBMSHandler, boolean) - Constructor for class org.apache.empire.dbms.DBMSHandlerBase.DBMSCommand
 
DBMSFeature - Enum in org.apache.empire.dbms
This enum is used with the DBMSHandler::isSupported method to query database dbms capabilities.
DBMSHandler - Interface in org.apache.empire.dbms
The DBMSHandler interface implements all RDBMS specific logic
DBMSHandler.DBSetGenKeys - Interface in org.apache.empire.dbms
This interface is used to set the auto generated keys when executing insert statements.
DBMSHandlerBase - Class in org.apache.empire.dbms
The DBMSHandler class is an abstract base class for all database handler.
DBMSHandlerBase() - Constructor for class org.apache.empire.dbms.DBMSHandlerBase
Constructor
DBMSHandlerBase.DBMSBuilder - Class in org.apache.empire.dbms
DBMSBuilder A Default DBSQLBuilder implementation with no additional features
DBMSHandlerBase.DBMSCommand - Class in org.apache.empire.dbms
DBMSCommand A Default DBCommand implementation with no additional features
DBMSHandlerBase.DBSeqTable - Class in org.apache.empire.dbms
This class is used to emulate sequences by using a sequence table.
DBMSHandlerDerby - Class in org.apache.empire.dbms.derby
This class provides support for the Derby database system.
DBMSHandlerDerby() - Constructor for class org.apache.empire.dbms.derby.DBMSHandlerDerby
Constructor for the Derby database handler.
DBMSHandlerH2 - Class in org.apache.empire.dbms.h2
This class provides support for the H2 database system.
DBMSHandlerH2() - Constructor for class org.apache.empire.dbms.h2.DBMSHandlerH2
Constructor for the H2 database dbms.
DBMSHandlerH2.DBCommandH2 - Class in org.apache.empire.dbms.h2
Defines the H2 command type.
DBMSHandlerHSql - Class in org.apache.empire.dbms.hsql
This class provides support for the HSQLDB database system.
DBMSHandlerHSql() - Constructor for class org.apache.empire.dbms.hsql.DBMSHandlerHSql
Constructor for the HSQLDB database dbms.
DBMSHandlerMSSQL - Class in org.apache.empire.dbms.sqlserver
This class provides support for the Microsoft SQL-Server database system.
DBMSHandlerMSSQL() - Constructor for class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
Constructor for the MSSQL database dbms.
DBMSHandlerMSSQL.DBCommandMSSQL - Class in org.apache.empire.dbms.sqlserver
Provides a DBCommand implementation for Microsoft SQL-Server
DBMSHandlerMSSQL.DBSQLBuilderMSSQL - Class in org.apache.empire.dbms.sqlserver
Provides a DBSQLBuilder implementation for Microsoft SQL-Server
DBMSHandlerMySQL - Class in org.apache.empire.dbms.mysql
This class provides support for the MySQL database system.
DBMSHandlerMySQL() - Constructor for class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
Constructor for the MySQL database dbms.
DBMSHandlerMySQL.DBCommandMySQL - Class in org.apache.empire.dbms.mysql
Defines the MySQL command type.
DBMSHandlerMySQL.DBSQLBuilderMySQL - Class in org.apache.empire.dbms.mysql
Provides a DBSQLBuilder implementation for MySQL
DBMSHandlerOracle - Class in org.apache.empire.dbms.oracle
This class provides support for the Oracle database system.
DBMSHandlerOracle() - Constructor for class org.apache.empire.dbms.oracle.DBMSHandlerOracle
Constructor for the Oracle database dbms.
DBMSHandlerOracle.BooleanType - Enum in org.apache.empire.dbms.oracle
 
DBMSHandlerPostgreSQL - Class in org.apache.empire.dbms.postgresql
This class provides support for the PostgreSQL database system.
DBMSHandlerPostgreSQL() - Constructor for class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
Constructor for the PostgreSQL database dbms.
DBMSHandlerSQLite - Class in org.apache.empire.dbms.sqlite
This class provides support for the SQLite database system.
DBMSHandlerSQLite() - Constructor for class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
Constructor for the SQLite database dbms.
DBMSHandlerSQLite.DBCommandSQLite - Class in org.apache.empire.dbms.sqlite
Defines the SQLite command type.
DBObject - Class in org.apache.empire.db
Base class for all objects that directly or indirectly belong to a database including the database object itself.
DBObject() - Constructor for class org.apache.empire.db.DBObject
 
DBOrderByExpr - Class in org.apache.empire.db.expr.order
 
DBOrderByExpr(DBColumnExpr, boolean) - Constructor for class org.apache.empire.db.expr.order.DBOrderByExpr
Construct a new DBOrderByInfo object set the specified parameters to this object.
DBParenthesisExpr - Class in org.apache.empire.db.expr.column
This class allows column renaming in SQL.
DBParenthesisExpr(DBColumnExpr) - Constructor for class org.apache.empire.db.expr.column.DBParenthesisExpr
Constructs a DBAliasExpr object combine the DBColumnExpr object with the alias name.
DBQuery - Class in org.apache.empire.db
This class can be used to wrap a query from a DBCommand and use it like a DBRowSet.
DBQuery(DBCommandExpr, DBColumn[], String) - Constructor for class org.apache.empire.db.DBQuery
Constructor initializes the query object.
DBQuery(DBCommandExpr, DBColumn[]) - Constructor for class org.apache.empire.db.DBQuery
Constructor initializes the query object.
DBQuery(DBCommandExpr, DBColumn, String) - Constructor for class org.apache.empire.db.DBQuery
Constructs a new DBQuery object initialize the query object.
DBQuery(DBCommandExpr, DBColumn) - Constructor for class org.apache.empire.db.DBQuery
Constructs a new DBQuery object initialize the query object.
DBQuery(DBCommandExpr, String) - Constructor for class org.apache.empire.db.DBQuery
Creaes a DBQuery object from a given command object.
DBQuery(DBCommandExpr) - Constructor for class org.apache.empire.db.DBQuery
Creaes a DBQuery object from a given command object.
DBQuery.DBQueryExprColumn - Class in org.apache.empire.db
DBQueryExprColumn
DBQueryColumn - Class in org.apache.empire.db
 
DBQueryColumn(DBQuery, String, DBColumnExpr) - Constructor for class org.apache.empire.db.DBQueryColumn
Constructs a DBQueryColumn object set the specified parameters to this object.
DBQueryExprColumn(DBQuery, String, DBColumnExpr) - Constructor for class org.apache.empire.db.DBQuery.DBQueryExprColumn
 
DBReader - Class in org.apache.empire.db
This class is used to perform database queries from a DBCommand object and access the results.
DBReader(DBContext, boolean) - Constructor for class org.apache.empire.db.DBReader
Constructs an empty DBRecordSet object.
DBReader(DBContext) - Constructor for class org.apache.empire.db.DBReader
Constructs a default DBReader object with the fieldIndexMap enabled.
DBReader.DBReaderForwardIterator - Class in org.apache.empire.db
This is an iterator for forward only resultsets.
DBReader.DBReaderIterator - Class in org.apache.empire.db
DBReaderIterator Base class for DBReader interators
DBReader.DBReaderScrollableIterator - Class in org.apache.empire.db
This is an iterator for scrolling resultsets.
DBReaderForwardIterator(int) - Constructor for class org.apache.empire.db.DBReader.DBReaderForwardIterator
 
DBReaderIterator(int) - Constructor for class org.apache.empire.db.DBReader.DBReaderIterator
 
DBReaderScrollableIterator(int) - Constructor for class org.apache.empire.db.DBReader.DBReaderScrollableIterator
 
DBRecord - Class in org.apache.empire.db
This class represents a record from a database table, view or query The class provides methods to create, read, update and delete records If an Idendity-column (AUTOINC) is defined, the value will be set upon creation by the dbms to the next value If a Timestamp-column is defined the value will be automatically set and concurrent changes of the record will be detected If changes to the record are made, but a rollback on the connection is performed, the changes will be reverted (Rollback-Handling) The record is Serializable either if the provided DBContext is serializable, or if the Context is provided on deserialization in a derived class.
DBRecord(DBContext, DBRowSet, boolean) - Constructor for class org.apache.empire.db.DBRecord
Internal constructor for DBRecord May be used by derived classes to provide special behaviour
DBRecord(DBContext, DBRowSet) - Constructor for class org.apache.empire.db.DBRecord
Constructs a new DBRecord.
DBRecordBase - Class in org.apache.empire.db
This abstract class provides write access to the fields of a record The class provides methods that are useful for frontend-form development like - providing information about the allowed values for a field (field options) - providing information about whether or not a field is visible to the user - providing information about whether or not a field is required (mandantory) - providing information about whether or not a field is read-only - providing information about whether a particular field value is valid - providing information about whether a field was modified since it was read from the database - providing information about whether the record was modified Also, field value changes, can be handled using the onFieldChanged event.
DBRecordBase() - Constructor for class org.apache.empire.db.DBRecordBase
Internal constructor for DBRecord May be used by derived classes to provide special behaviour
DBRecordBase.DBRecordRollbackHandler - Class in org.apache.empire.db
DBRecordRollbackHandler
DBRecordBase.State - Enum in org.apache.empire.db
 
DBRecordBean - Class in org.apache.empire.db
This class represents a record from a database table, view or query Other than DBRecord it is not permanently attached to a context or rowset Thus it has a Default constructor and is essentially a dynamic bean
DBRecordBean(boolean) - Constructor for class org.apache.empire.db.DBRecordBean
Constructs a new DBRecordBean.
DBRecordBean() - Constructor for class org.apache.empire.db.DBRecordBean
Constructs a new DBRecordBean.
DBRecordData - Class in org.apache.empire.db
This class provides access to the fields of one data-row of a table, view or query The fields can be accessed either by Column or by index There are various accessor functions for many data types.
DBRecordData() - Constructor for class org.apache.empire.db.DBRecordData
 
DBRecordListFactory<T extends DBRecordBase> - Interface in org.apache.empire.db.list
 
DBRecordListFactoryImpl<T extends DBRecordBase> - Class in org.apache.empire.db.list
DBRecordListFactoryImpl Implements the DBRecordListFactory interface
DBRecordListFactoryImpl(Constructor<T>, DBRowSet) - Constructor for class org.apache.empire.db.list.DBRecordListFactoryImpl
Constructs a DBRecordListFactoryImpl based on an DBRecord constructor
DBRecordListFactoryImpl(Class<T>, Class<? extends DBContext>, DBRowSet) - Constructor for class org.apache.empire.db.list.DBRecordListFactoryImpl
Constructs a DBRecordListFactoryImpl based on an DBRecord class
DBRecordRollbackHandler(DBRecordBase) - Constructor for class org.apache.empire.db.DBRecordBase.DBRecordRollbackHandler
 
DBReference(DBTableColumn, DBTableColumn) - Constructor for class org.apache.empire.db.DBRelation.DBReference
 
DBRelation - Class in org.apache.empire.db
This class creates a DBReferene object for a foreing key relation.
DBRelation(DBDatabase, String, DBRelation.DBReference[], DBRelation.DBCascadeAction) - Constructor for class org.apache.empire.db.DBRelation
Creates a DBRelation object for a foreing key relation.
DBRelation(DBDatabase, String, DBRelation.DBReference[]) - Constructor for class org.apache.empire.db.DBRelation
Creates a DBRelation object for a foreing key relation.
DBRelation.DBCascadeAction - Enum in org.apache.empire.db
DBCascadeAction enum This enum specifies options for a relation when deleting records (see DBRelation.setOnDeleteAction) - NONE: No Action is performed and the operation will fail if depending records exist
DBRelation.DBReference - Class in org.apache.empire.db
 
DBRollbackHandler - Interface in org.apache.empire.db.context
 
DBRollbackManager - Class in org.apache.empire.db.context
 
DBRollbackManager(int, int) - Constructor for class org.apache.empire.db.context.DBRollbackManager
DBRollbackManager constructor
DBRollbackManager.ReleaseAction - Enum in org.apache.empire.db.context
Connection release action
DBRowSet - Class in org.apache.empire.db
This class is the base class for all the DBTable, DBView and DBQuery classes this class contains all the columns of the tables, views or queries
DBRowSet(DBDatabase) - Constructor for class org.apache.empire.db.DBRowSet
Constructs a DBRecord object set the current database object.
DBRowSet.FieldInitMode - Enum in org.apache.empire.db
 
DBRowSet.PartialMode - Enum in org.apache.empire.db
 
DBScalarExpr - Class in org.apache.empire.db.expr.column
This class is used for declaring scalar functions in SQL (like e.g. random).
DBScalarExpr(DBDatabase, String, Object[], DataType) - Constructor for class org.apache.empire.db.expr.column.DBScalarExpr
Constructs a new DBValueExpr object.
DBScalarExpr(DBDatabase, String, Object, DataType) - Constructor for class org.apache.empire.db.expr.column.DBScalarExpr
Constructs a new DBValueExpr object.
DBSeqTable(String, DBDatabase) - Constructor for class org.apache.empire.dbms.DBMSHandlerBase.DBSeqTable
Constructor
DBSetExpr - Class in org.apache.empire.db.expr.set
This class is used for building a set expression of a SQL update statement.
DBSetExpr(DBColumn, Object) - Constructor for class org.apache.empire.db.expr.set.DBSetExpr
Constructs a new DBSetExpr object.
DBSQLBuilder - Class in org.apache.empire.db
DBSQLBuilder This class is used for building a single SQL statement
DBSQLBuilder(DBMSHandler) - Constructor for class org.apache.empire.db.DBSQLBuilder
Don't use this directly Use dbms.createSQLBuilder()
DBSQLBuilderMSSQL(DBMSHandlerMSSQL) - Constructor for class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBSQLBuilderMSSQL
 
DBSQLBuilderMySQL(DBMSHandlerMySQL) - Constructor for class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBSQLBuilderMySQL
 
DBSqlPhrase - Enum in org.apache.empire.dbms
Enum for all SQL phrases that may be supplied by the dbms The phase may consist of the following placeholders: ?
DBSQLScript - Class in org.apache.empire.db
DBSQLScript
This class is a collection of sql command strings.
DBSQLScript(DBContext) - Constructor for class org.apache.empire.db.DBSQLScript
 
DBSQLScript(DBContext, String) - Constructor for class org.apache.empire.db.DBSQLScript
 
DBSQLScript.SQLStmt - Class in org.apache.empire.db
SQLCmd
DBTabComments(DBDatabase) - Constructor for class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBTabComments
 
DBTable - Class in org.apache.empire.db
This class represent one table of the database.
DBTable(String, DBDatabase, String) - Constructor for class org.apache.empire.db.DBTable
Construct a new DBTable object set the specified parameters to this object and add this object to the current database.
DBTable(String, DBDatabase) - Constructor for class org.apache.empire.db.DBTable
Construct a new DBTable object set the specified parameters to this object and add this object to the current database.
DBTableColumn - Class in org.apache.empire.db
This class represent one column of a table.
DBTableColumn(DBTable, DataType, String, double, boolean, boolean, Object) - Constructor for class org.apache.empire.db.DBTableColumn
Constructs a DBTableColumn object set the specified parameters to this object.
DBTableColumn(DBTable, DBTableColumn) - Constructor for class org.apache.empire.db.DBTableColumn
Clone Constructor - use clone()
DBUserConCol(DBDatabase) - Constructor for class org.apache.empire.dbms.oracle.OracleSYSDatabase.DBUserConCol
 
DBUtils - Class in org.apache.empire.db
DBUtils This class provides various query functions and functions for command execution.
DBUtils(DBContext) - Constructor for class org.apache.empire.db.DBUtils
DBUtils constructor
DBValueExpr - Class in org.apache.empire.db.expr.column
This class is used for declaring constant values in SQL.
DBValueExpr(DBDatabase, Object, DataType) - Constructor for class org.apache.empire.db.expr.column.DBValueExpr
Constructs a new DBValueExpr object.
DBVarArgsFuncExpr - Class in org.apache.empire.db.expr.column
 
DBVarArgsFuncExpr(DBDatabase, DataType, String, DBColumnExpr...) - Constructor for class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
 
DBView - Class in org.apache.empire.db
This class represents a database view.
DBView(String, DBDatabase, boolean) - Constructor for class org.apache.empire.db.DBView
Creates a view object for a given view in the database.
DBView(String, DBDatabase) - Constructor for class org.apache.empire.db.DBView
Creates a view object for a given view in the database.
DBView.DBViewColumn - Class in org.apache.empire.db
DBViewColumn
DBViewColumn(DBView, String, DBColumnExpr, double) - Constructor for class org.apache.empire.db.DBView.DBViewColumn
Constructs a DBViewColumn object set the specified parameters to this object.
DBXmlDictionary - Class in org.apache.empire.db
This class is used to configure XML generation as performed by the getXmlDocument Document function on DBReader and DBRecord.
DBXmlDictionary() - Constructor for class org.apache.empire.db.DBXmlDictionary
 
ddlColumnDefaults - Variable in class org.apache.empire.db.DBDDLGenerator
 
ddlGenerator - Variable in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
 
debug(Document) - Static method in class org.apache.empire.xml.XMLWriter
Prints out the DOM-Tree on System.out for debugging purposes.
debugToFile(Document, String) - Static method in class org.apache.empire.xml.XMLWriter
Prints out the DOM-Tree to a file for debugging purposes.
decimalScale - Variable in class org.apache.empire.db.DBTableColumn
 
decode(Map<?, ?>, Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a sql-expression that compares the current column expression with a list of values and returns the corresponding alternative value.
decode(Object, Object, Object) - Method in class org.apache.empire.db.DBColumnExpr
 
decode(Object, Object, Object, Object, Object) - Method in class org.apache.empire.db.DBColumnExpr
 
decode(Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.empire.db.DBColumnExpr
 
decode(Options, Object) - Method in class org.apache.empire.db.DBColumnExpr
 
decode(Options) - Method in class org.apache.empire.db.DBColumnExpr
 
decodeEnum() - Method in class org.apache.empire.db.DBColumn
Creates and returns a sql-expression that maps enum values by name or ordinal to their string representation
decodeEnum(Class<? extends Enum<?>>, String) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a sql-expression that maps enum values by name or ordinal to their string representation
decodeSort(boolean) - Method in class org.apache.empire.db.DBColumn
Creates and returns a sql-expression that maps enum values from name to ordinal
decodeSort(Class<? extends Enum<?>>, boolean) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a sql-expression that maps enum values from name to ordinal This is useful for sorting.
DEFAULT_LIST_CAPACITY - Variable in class org.apache.empire.db.DBUtils
 
defaultValue - Variable in class org.apache.empire.db.DBTableColumn
 
delete() - Method in class org.apache.empire.db.DBRecord
This helper function calls the DBRowset.deleteRecord method to delete the record.
delete(DBContext) - Method in class org.apache.empire.db.DBRecordBean
This helper function calls the DBRowset.deleteRecord method to delete the record.
deleteAllReferences(Object[], DBContext) - Method in class org.apache.empire.db.DBRowSet
Deletes all records which reference this table.
deleteRecord(Object[], DBContext) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
throws ERR_NOTSUPPORTED
deleteRecord(Object[], DBContext) - Method in class org.apache.empire.db.DBQuery
Deletes a record identified by its primary key from the database.
deleteRecord(Object[], DBContext) - Method in class org.apache.empire.db.DBRowSet
 
deleteRecord(long, DBContext) - Method in class org.apache.empire.db.DBRowSet
Deletes a single record from the database.
deleteRecord(Object[], DBContext) - Method in class org.apache.empire.db.DBTable
Creates a delete SQL-Command by using the DBCommand getDelete method execute the the SQL-Command with the DBDatabase executeSQL method.
deleteRecord(Object[], DBContext) - Method in class org.apache.empire.db.DBView
 
deleteReferenceRecords(DBRelation.DBReference[], Object[], DBContext) - Method in class org.apache.empire.db.DBRowSet
Deletes all records which are referenced by a particular relation.
DerbyDDLGenerator - Class in org.apache.empire.dbms.derby
 
DerbyDDLGenerator(DBMSHandlerDerby) - Constructor for class org.apache.empire.dbms.derby.DerbyDDLGenerator
 
desc() - Method in class org.apache.empire.db.DBColumnExpr
creates a new DBOrderByExpr for descending order
desc - Variable in class org.apache.empire.db.expr.order.DBOrderByExpr
 
detachDatabase(DBDatabase, Connection) - Method in interface org.apache.empire.dbms.DBMSHandler
Called when a database is closed
detachDatabase(DBDatabase, Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Called when a database is closed
detectDataType(Object) - Method in class org.apache.empire.db.DBDatabase
Detects the DataType of a given value.
detectQuoteName(String) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Detects whether a table or column name needs to be quoted or not
By default all reserved SQL keywords as well as names containing a "-", "/", "+" or " " require quoting.
discard() - Method in class org.apache.empire.db.context.DBContextBase
Discard connection releated ressources WARING: No gurarantee it will be called
discard() - Method in class org.apache.empire.db.context.DBContextStatic
 
discard(Connection) - Method in interface org.apache.empire.db.context.DBRollbackHandler
 
discard() - Method in interface org.apache.empire.db.DBContext
 
discard() - Method in class org.apache.empire.db.DBDatabase
Frees all resources and unregisters database in global map.
discard(Connection) - Method in class org.apache.empire.db.DBRecordBase.DBRecordRollbackHandler
 
dispose() - Method in class org.apache.empire.db.DBReader.DBReaderIterator
Disposes the iterator.
divideBy(Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new calculation object for the SQL "/" (divide) operator.
domain - Variable in class org.apache.empire.data.bean.BeanClass
 
dropDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
Appends the DDL-Script for dropping a database to the given script object
dropDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
 
dropObject(String, String, String, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
Appends the DDL-Script for dropping a database object to an SQL-Script

E

EmpireException - Exception in org.apache.empire.exceptions
This exception type is used for all empire errors.
EmpireException(ErrorType, String[], Throwable) - Constructor for exception org.apache.empire.exceptions.EmpireException
Constructor for derived classes
EmpireException(ErrorType, String[]) - Constructor for exception org.apache.empire.exceptions.EmpireException
Constructor for derived classes
EmpireFileException - Exception in org.apache.empire.exceptions
This exception type is used for file related empire errors.
EmpireFileException(ErrorType, String[], Throwable) - Constructor for exception org.apache.empire.exceptions.EmpireFileException
 
EmpireSQLException - Exception in org.apache.empire.db.exceptions
 
EmpireSQLException(DBMSHandler, SQLException) - Constructor for exception org.apache.empire.db.exceptions.EmpireSQLException
 
EmpireSQLException(DBObject, SQLException) - Constructor for exception org.apache.empire.db.exceptions.EmpireSQLException
 
EmpireSQLException(ErrorType, String[], int, SQLException) - Constructor for exception org.apache.empire.db.exceptions.EmpireSQLException
 
EMPTY - Static variable in class org.apache.empire.commons.StringUtils
Empty String
EMPTY_STRING - Static variable in class org.apache.empire.db.DBDatabase
 
enableOpenResultSetTracking(boolean) - Static method in class org.apache.empire.db.DBReader
Enables or disabled tracking of open ResultSets
enableRollbackHandling - Variable in class org.apache.empire.db.DBRecordBean
 
endTrackingThisResultSet() - Method in class org.apache.empire.db.DBReader
Support for finding code errors where a DBRecordSet is opened but not closed.
entity - Variable in class org.apache.empire.data.bean.BeanRecordProxy
 
entityName - Variable in class org.apache.empire.db.DBRowSet
 
entityName(EntityType) - Static method in exception org.apache.empire.db.exceptions.RecordException
 
EntityType - Interface in org.apache.empire.data
 
EnumValue - Interface in org.apache.empire.commons
EnumValue allows to provide a custom conversion between an enum and its database value
equals(Object) - Method in class org.apache.empire.commons.Attributes.Attribute
 
equals(Object) - Method in class org.apache.empire.db.DBColumn
Custom serialization for transient rowset.
equals(Object) - Method in class org.apache.empire.db.DBQuery.DBQueryExprColumn
 
equals(Object) - Method in class org.apache.empire.db.DBRowSet
 
equals(Object) - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
Returns true if other is equal to this expression
equals(Object) - Method in class org.apache.empire.db.expr.column.DBAliasExpr
Overrides the equals method
equals(Object) - Method in class org.apache.empire.db.expr.column.DBCalcExpr
Returns true if other is equal to this expression
equals(Object) - Method in class org.apache.empire.db.expr.column.DBCaseExpr
Returns true if other is equal to this expression
equals(Object) - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
Returns true if other is equal to this expression
equals(Object) - Method in class org.apache.empire.db.expr.column.DBConcatExpr
Returns true if other is equal to this expression
equals(Object) - Method in class org.apache.empire.db.expr.column.DBConcatFuncExpr
Returns true if other is equal to this expression
equals(Object) - Method in class org.apache.empire.db.expr.column.DBCountExpr
Returns true if other is equal to this expression
equals(Object) - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
Overrides the equals method
equals(Object) - Method in class org.apache.empire.db.expr.column.DBScalarExpr
Returns true if other is equal to this expression
equals(Object) - Method in class org.apache.empire.db.expr.column.DBValueExpr
Returns true if other is equal to this expression
equals(Object) - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
Returns true if other is equal to this expression
equals(Object) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
Compares two DBJoinExpr objects.
equals(Object) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
Compares two DBJoinExpr objects.
equals(Object) - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
 
errorCount - Variable in class org.apache.empire.db.validation.DBModelErrorLogger
 
ErrorType - Class in org.apache.empire.commons
The ErrorType class defines a type of error.
ErrorType(String, String) - Constructor for class org.apache.empire.commons.ErrorType
Defines an error type.
errorType - Static variable in exception org.apache.empire.db.exceptions.CommandWithoutSelectException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.ConstraintViolationException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.DatabaseNotOpenException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.EmpireSQLException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.FieldIllegalValueException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.FieldNotNullException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.FieldReadOnlyException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.FieldValueNotFetchedException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.FieldValueTooLongException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.InvalidKeyException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.NoPrimaryKeyException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.QueryFailedException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.QueryNoResultException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.RecordDeleteFailedException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.RecordNotFoundException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.RecordReadOnlyException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.RecordUpdateAmbiguousException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.RecordUpdateFailedException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.StatementFailedException
 
errorType - Static variable in exception org.apache.empire.db.exceptions.UnknownBeanTypeException
 
errorType - Static variable in exception org.apache.empire.exceptions.BeanIncompatibleException
 
errorType - Static variable in exception org.apache.empire.exceptions.BeanInstantiationException
 
errorType - Static variable in exception org.apache.empire.exceptions.BeanPropertyGetException
 
errorType - Static variable in exception org.apache.empire.exceptions.BeanPropertySetException
 
errorType - Static variable in exception org.apache.empire.exceptions.FileParseException
 
errorType - Static variable in exception org.apache.empire.exceptions.FileReadException
 
errorType - Static variable in exception org.apache.empire.exceptions.FileWriteException
 
errorType - Static variable in exception org.apache.empire.exceptions.InternalException
 
errorType - Static variable in exception org.apache.empire.exceptions.InvalidArgumentException
 
errorType - Static variable in exception org.apache.empire.exceptions.InvalidPropertyException
 
errorType - Static variable in exception org.apache.empire.exceptions.InvalidValueException
 
errorType - Static variable in exception org.apache.empire.exceptions.ItemExistsException
 
errorType - Static variable in exception org.apache.empire.exceptions.ItemNotFoundException
 
errorType - Static variable in exception org.apache.empire.exceptions.NotImplementedException
 
errorType - Static variable in exception org.apache.empire.exceptions.NotSupportedException
 
errorType - Static variable in exception org.apache.empire.exceptions.ObjectNotValidException
 
errorType - Static variable in exception org.apache.empire.exceptions.PropertyReadOnlyException
 
errorType - Static variable in exception org.apache.empire.exceptions.UnexpectedReturnValueException
 
errorType - Static variable in exception org.apache.empire.exceptions.UnspecifiedErrorException
 
errorType - Static variable in exception org.apache.empire.exceptions.UnsupportedTypeException
 
escapeAndAppendLiteral(String) - Method in class org.apache.empire.db.DBSQLBuilder
this helper function doubles up single quotes for SQL
escapeAndAppendLiteral(String) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBSQLBuilderMySQL
 
executeAll(boolean) - Method in class org.apache.empire.db.DBSQLScript
Executes all SQL Statements one by one using the supplied dbms and connection.
executeAll() - Method in class org.apache.empire.db.DBSQLScript
Executes all SQL Statements one by one using the supplied dbms and connection.
executeBatch() - Method in class org.apache.empire.db.DBSQLScript
Executes all SQL Statements as a JDBC Batch Job.
executeBatch(String[], Object[][], Connection) - Method in interface org.apache.empire.dbms.DBMSHandler
Executes a list of sql statements as batch
executeBatch(String[], Object[][], Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Executes a list of sql statements as batch
executeDelete(DBTable, DBCommand) - Method in class org.apache.empire.db.context.DBContextBase
Executes a Delete statement from a command object
executeDelete(DBTable, DBCommand) - Method in interface org.apache.empire.db.DBContext
 
executeInsert(DBCommand) - Method in class org.apache.empire.db.context.DBContextBase
Executes an Insert statement from a command object
executeInsert(DBCommand) - Method in interface org.apache.empire.db.DBContext
 
executeInsertInto(DBTable, DBCommand) - Method in class org.apache.empire.db.context.DBContextBase
Executes an InsertInfo statement from a command object
executeInsertInto(DBTable, DBCommand) - Method in interface org.apache.empire.db.DBContext
 
executeQuery(String, Object[], boolean) - Method in class org.apache.empire.db.DBUtils
Executes a select SQL-Statement and returns a ResultSet containing the query results.
executeQuery(String, Object[], boolean, Connection) - Method in interface org.apache.empire.dbms.DBMSHandler
Executes an select SQL-command and returns the query results
executeQuery(String, Object[], boolean, Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Executes an select SQL-command and returns the query results
executeSQL(String, Object[]) - Method in class org.apache.empire.db.context.DBContextBase
Executes an SQLStatment
executeSQL(String, Object[]) - Method in interface org.apache.empire.db.DBContext
 
executeSQL(String, Object[], DBMSHandler.DBSetGenKeys) - Method in class org.apache.empire.db.DBUtils
Executes an update, insert or delete SQL-Statement.
executeSQL(String, Object[], Connection, DBMSHandler.DBSetGenKeys) - Method in interface org.apache.empire.dbms.DBMSHandler
Executes an insert, update or delete SQL-command
executeSQL(String, Object[], Connection, DBMSHandler.DBSetGenKeys) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Executes the select, update or delete SQL-Command with a Statement object.
executeSQL(String, Object[], Connection, DBMSHandler.DBSetGenKeys) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
Override since conn.prepareStatement(sqlCmd, Statement.RETURN_GENERATED_KEYS) is not supported by SQLLite dbms
executeUpdate(DBCommand) - Method in class org.apache.empire.db.context.DBContextBase
Executes an Update statement from a command object
executeUpdate(DBCommand) - Method in interface org.apache.empire.db.DBContext
 
expr - Variable in class org.apache.empire.db.DBQueryColumn
 
expr - Variable in class org.apache.empire.db.DBView.DBViewColumn
 
expr - Variable in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
 
expr - Variable in class org.apache.empire.db.expr.compare.DBCompareColExpr
 
expr - Variable in class org.apache.empire.db.expr.compare.DBCompareNotExpr
 
expr - Variable in class org.apache.empire.db.expr.order.DBOrderByExpr
 
extractErrorMessage(SQLException) - Method in interface org.apache.empire.dbms.DBMSHandler
Extracts native error message of an sqlExeption.
extractErrorMessage(SQLException) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Extracts native error message of an sqlExeption.
extractErrorMessage(SQLException) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
Extracts native error message of an sqlExeption.

F

fetch(DBContext, int) - Method in class org.apache.empire.data.bean.BeanResult
Executes the query and fetches the result
fetch(DBContext) - Method in class org.apache.empire.data.bean.BeanResult
Executes the query and fetches the result
FieldIllegalValueException - Exception in org.apache.empire.db.exceptions
 
FieldIllegalValueException(Column, String, Throwable) - Constructor for exception org.apache.empire.db.exceptions.FieldIllegalValueException
 
FieldIllegalValueException(Column, String) - Constructor for exception org.apache.empire.db.exceptions.FieldIllegalValueException
 
FieldNotNullException - Exception in org.apache.empire.db.exceptions
 
FieldNotNullException(Column) - Constructor for exception org.apache.empire.db.exceptions.FieldNotNullException
 
FieldReadOnlyException - Exception in org.apache.empire.db.exceptions
 
FieldReadOnlyException(Column) - Constructor for exception org.apache.empire.db.exceptions.FieldReadOnlyException
 
FieldValueException - Exception in org.apache.empire.db.exceptions
 
FieldValueException(Column, ErrorType, String[], Throwable) - Constructor for exception org.apache.empire.db.exceptions.FieldValueException
 
FieldValueException(Column, ErrorType, String[]) - Constructor for exception org.apache.empire.db.exceptions.FieldValueException
 
FieldValueNotFetchedException - Exception in org.apache.empire.db.exceptions
 
FieldValueNotFetchedException(Column) - Constructor for exception org.apache.empire.db.exceptions.FieldValueNotFetchedException
 
FieldValueOutOfRangeException - Exception in org.apache.empire.db.exceptions
 
FieldValueOutOfRangeException(Column) - Constructor for exception org.apache.empire.db.exceptions.FieldValueOutOfRangeException
 
FieldValueOutOfRangeException(Column, Number, Number) - Constructor for exception org.apache.empire.db.exceptions.FieldValueOutOfRangeException
 
FieldValueOutOfRangeException(Column, Number, boolean) - Constructor for exception org.apache.empire.db.exceptions.FieldValueOutOfRangeException
 
FieldValueTooLongException - Exception in org.apache.empire.db.exceptions
 
FieldValueTooLongException(Column) - Constructor for exception org.apache.empire.db.exceptions.FieldValueTooLongException
 
FileParseException - Exception in org.apache.empire.exceptions
 
FileParseException(String, Exception) - Constructor for exception org.apache.empire.exceptions.FileParseException
 
FileParseException(String) - Constructor for exception org.apache.empire.exceptions.FileParseException
 
FileReadException - Exception in org.apache.empire.exceptions
 
FileReadException(String, Exception) - Constructor for exception org.apache.empire.exceptions.FileReadException
 
FileWriteException - Exception in org.apache.empire.exceptions
 
FileWriteException(String, Exception) - Constructor for exception org.apache.empire.exceptions.FileWriteException
 
fillDataDictionnary(String, String, String, int, int, int, int, String) - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary
 
findBeanConstructor(Class<?>) - Method in class org.apache.empire.db.DBReader
Returns a constructor for a bean class for the set of parameters or null if no suitable constructor is found
findBeanConstructor(Class<T>, List<? extends DBColumnExpr>) - Static method in class org.apache.empire.db.list.DBBeanListFactoryImpl
Finds a suitable constructor for the beanClass
findBeanConstructor(Class<T>) - Static method in class org.apache.empire.db.list.DBBeanListFactoryImpl
 
findByClass(Class<? extends DBDatabase>) - Static method in class org.apache.empire.db.DBDatabase
find a database by id
findByIdentifier(String) - Static method in class org.apache.empire.db.DBDatabase
find a database by id
findColumn(DBColumnExpr) - Method in class org.apache.empire.db.DBQuery
This function provides the query column object for a particular query command expression
findColumn(String) - Method in class org.apache.empire.db.DBQuery
This function provides the query column object for a particular query command expression
findConstraintOn(List<DBCompareExpr>, DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
finds a constraint on a particular column to the 'where' or 'having' collections
findEntryConstructor(Class<?>, Class<? extends DataListHead>) - Static method in class org.apache.empire.data.list.DataListFactoryImpl
Finds a constructor for listEntryClass
findFieldIndex(ColumnExpr) - Method in class org.apache.empire.db.DBReader
finds the field Index of a given column expression Internally used as helper for getFieldIndex()
findFirstChild(Node, String) - Static method in class org.apache.empire.xml.XMLUtil
Finds the first (direct) child Element with a given tag name.
findFirstChildDeep(Element, String) - Static method in class org.apache.empire.xml.XMLUtil
Finds the first element which name matchtes a given tag name that is locacted anywhere below the given parent.
findFirstChildDeep(Document, String) - Static method in class org.apache.empire.xml.XMLUtil
Returns the first element which name matchtes a given tag name.
findFirstChildWithAttrib(Node, String, String, Object) - Static method in class org.apache.empire.xml.XMLUtil
Finds the first (direct) child element with a given tag name and attribute.
findMatchingConstructor(Class<T>, int, Class<?>...) - Static method in class org.apache.empire.commons.ClassUtils
copied from org.apache.commons.beanutils.ConstructorUtils since it's private there
findRecordConstructor(Class<T>, Class<? extends DBContext>, Class<? extends DBRowSet>) - Static method in class org.apache.empire.db.list.DBRecordListFactoryImpl
Finds a constructor for recordClass
findViewColumn(DBColumnExpr) - Method in class org.apache.empire.db.DBView
This function searchs for equal columns given by the specified DBColumnExpr object.
floor() - Method in class org.apache.empire.db.DBColumnExpr
Create and returns an expression for the SQL-function floor()
format(String) - Method in class org.apache.empire.db.DBColumnExpr
Formats a column-expression using a format string This function is intended for formatting numbers.
formatDate(Date, Locale) - Static method in class org.apache.empire.commons.DateUtils
 
formatDate(LocalDate, Locale) - Static method in class org.apache.empire.commons.DateUtils
 
formatDate(LocalDateTime, Locale) - Static method in class org.apache.empire.commons.DateUtils
 
formatDate(Date, boolean) - Static method in class org.apache.empire.commons.ObjectUtils
Formats a given date object to a standard ISO date string.
formatDateTime(LocalDateTime, Locale, boolean) - Static method in class org.apache.empire.commons.DateUtils
 
formatDayOfWeek(Date, Locale, boolean) - Static method in class org.apache.empire.commons.DateUtils
 
formatErrorMessage(ErrorType, String, String[]) - Static method in exception org.apache.empire.exceptions.EmpireException
 
formatMonth(Date, Locale, boolean) - Static method in class org.apache.empire.commons.DateUtils
 
formatMonth(int, Locale, boolean) - Static method in class org.apache.empire.commons.DateUtils
 
formatTime(Date, Locale, boolean) - Static method in class org.apache.empire.commons.DateUtils
 
formatValue(ColumnExpr, Object) - Method in class org.apache.empire.data.list.DataListHead
Convert a non-string value to a string
formatValue(ColumnExpr, Object) - Method in class org.apache.empire.db.DBRecordData
Convert a non-string value to a string
formatYear(Date, Locale) - Static method in class org.apache.empire.commons.DateUtils
 
fromJavaType(Class<?>) - Static method in enum org.apache.empire.data.DataType
Returns the DataType from a given Java Type If the type is not mapped, then DataType.UNKNOWN is returned
function(String, DataType, Object...) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a function from an sql template The template may consist of the following placeholders: ?

G

GENERAL_SQL_KEYWORDS - Static variable in class org.apache.empire.dbms.DBMSHandlerBase
 
generateDDLScript(DBSQLScript) - Method in class org.apache.empire.db.DBDatabase
Override this to change or add DDL commands
get(String) - Method in class org.apache.empire.commons.Attributes
 
get(Object) - Method in class org.apache.empire.commons.Options
 
get(ColumnExpr) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
get(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
 
get(Column, Class<T>) - Method in class org.apache.empire.data.list.DataListEntry
 
get(ColumnExpr) - Method in interface org.apache.empire.data.RecordData
returns the record value for a particular column
get(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
Returns a data value for the desired column .
get(Column, Class<T>) - Method in class org.apache.empire.db.DBRecordData
Returns the value of a field as an object of a given (wrapper)type
getAlias() - Method in class org.apache.empire.db.DBColumn
returns the qualified alias name for this column
getAlias() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
Not applicable - returns null
getAlias() - Method in class org.apache.empire.db.DBQuery
not applicable - returns null
getAlias() - Method in class org.apache.empire.db.DBRowSet
 
getAlias() - Method in class org.apache.empire.db.DBTable
Returns the table alias name of this object.
getAlias() - Method in class org.apache.empire.db.DBView
Returns the alias name of this object.
getArray(ColumnExpr...) - Method in class org.apache.empire.data.list.DataListEntry
 
getArray(ColumnExpr...) - Method in class org.apache.empire.db.DBRecordData
Returns an array of values for the given column expressions
getAttribute(String) - Method in class org.apache.empire.data.bean.BeanProperty
Returns the value of a column attribute.
getAttribute(String) - Method in interface org.apache.empire.data.ColumnExpr
Returns a metadata attribute.
getAttribute(String) - Method in class org.apache.empire.db.DBColumn
 
getAttribute(String) - Method in class org.apache.empire.db.DBColumnExpr
Returns the value of a column attribute.
getAttribute(String) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
Get Attributes of underlying table column.
getAttribute(String) - Method in class org.apache.empire.db.DBQueryColumn
 
getAttribute(String) - Method in class org.apache.empire.db.DBView.DBViewColumn
 
getAttributes() - Method in class org.apache.empire.data.bean.BeanProperty
Returns all metadata attributes.
getAttributes() - Method in interface org.apache.empire.data.Column
Returns all metadata attributes.
getAttributes() - Method in class org.apache.empire.db.DBColumn
Returns all metadata attributes.
getBean() - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
getBeanClass() - Method in class org.apache.empire.data.bean.BeanProperty
returns the bean class of this property.
getBeanList(L, Class<T>, Object, int) - Method in class org.apache.empire.db.DBReader
Returns the result of a query as a list of objects restricted to a maximum number of objects (unless maxCount is -1).
getBeanList(Class<T>, int) - Method in class org.apache.empire.db.DBReader
Returns the result of a query as a list of objects.
getBeanList(Class<T>) - Method in class org.apache.empire.db.DBReader
Returns the result of a query as a list of objects.
getBeanProperty(Object, ColumnExpr) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
getBeanProperty(Object, String) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
getBeanPropertyName() - Method in class org.apache.empire.data.bean.BeanProperty
Gets the Java bean property name.
getBeanPropertyName() - Method in interface org.apache.empire.data.ColumnExpr
Returns the name of a Java bean property to which this column is mapped.
getBeanPropertyName() - Method in class org.apache.empire.db.DBColumnExpr
Gets the Java bean property name for this column i.e.
getBeanType() - Method in interface org.apache.empire.data.EntityType
 
getBeanType() - Method in class org.apache.empire.db.DBRowSet
returns the bean type for this rowset
getBoolean(Object) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an object value to a boolean.
getBoolean(int) - Method in class org.apache.empire.data.list.DataListEntry
 
getBoolean(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
 
getBoolean(int) - Method in class org.apache.empire.db.DBRecordData
Returns a data value identified by the column index.
getBoolean(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
Returns a data value for the desired column.
getBooleanType() - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
 
getCatalog() - Method in class org.apache.empire.db.validation.DBModelParser
 
getCharacterSet() - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
 
getCharLength() - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary.ColumnInfo
 
getChildText(Node, String) - Static method in class org.apache.empire.xml.XMLUtil
Returns the text value of a given child element.
getClasses() - Method in class org.apache.empire.data.bean.BeanDomain
 
getCmd() - Method in class org.apache.empire.db.DBCmdParam
Returns the command this parameter belongs to
getCmd() - Method in class org.apache.empire.db.DBSQLScript.SQLStmt
 
getCmdColumn(DBColumnExpr) - Method in class org.apache.empire.db.DBCommandExpr
wraps a column expression such that is specific for to this command and detached from its source.
getCmdParamValue(Object) - Method in class org.apache.empire.db.DBCmdParam
Returns the internal parameter value for a given "real" value.
getCmpOperator() - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
Gets the comparison operator
getColumn(int) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
getColumn(int) - Method in class org.apache.empire.data.list.DataListEntry
 
getColumn(int) - Method in interface org.apache.empire.data.Record
Overridden to change return type from ColumnExpr to Column
getColumn(int) - Method in interface org.apache.empire.data.RecordData
returns the column expression for a given column This is the reverse operation of getFieldIndex()
getColumn(int) - Method in class org.apache.empire.db.DBIndex
Returns the columns belonging to this index.
getColumn(int) - Method in class org.apache.empire.db.DBReader
Get the column Expression at position
getColumn(int) - Method in class org.apache.empire.db.DBRecordBase
Implements the Record Interface getColumn method.
getColumn(int) - Method in class org.apache.empire.db.DBRowSet
Returns a DBColumn object by a specified index value.
getColumn(String) - Method in class org.apache.empire.db.DBRowSet
Gets the column Expression with a particular name.
getColumn() - Method in exception org.apache.empire.db.exceptions.FieldValueException
 
getColumn() - Method in class org.apache.empire.db.expr.order.DBOrderByExpr
 
getColumn() - Method in class org.apache.empire.db.expr.set.DBSetExpr
 
getColumnAutoValue(DBDatabase, DBTableColumn, Connection) - Method in interface org.apache.empire.dbms.DBMSHandler
Returns an auto-generated value for a particular column
getColumnAutoValue(DBDatabase, DBTableColumn, Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Returns an auto-generated value for a particular column
getColumnAutoValue(DBDatabase, DBTableColumn, Connection) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
Returns an auto-generated value for a particular column
getColumnCount() - Method in class org.apache.empire.db.DBIndex
Returns the number of columns belonging to this index.
getColumnDefault(ResultSet) - Method in class org.apache.empire.db.validation.DBModelParser
 
getColumnDefault(ResultSet) - Method in class org.apache.empire.dbms.mysql.MySQLDBModelParser
 
getColumnExpr() - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
Gets the DBColumnExpr object
getColumnExprAt(int) - Method in class org.apache.empire.db.DBQuery
 
getColumnExprAt(int) - Method in class org.apache.empire.db.DBRowSet
Returns the column expression at a given column index Allow overrides in derived classes
getColumnExprList() - Method in class org.apache.empire.db.DBReader
Access the column expression list
getColumnIndex(ColumnExpr) - Method in class org.apache.empire.data.list.DataListHead
 
getColumnIndex(String) - Method in class org.apache.empire.data.list.DataListHead
 
getColumnIndex(ColumnExpr) - Method in class org.apache.empire.db.DBQuery
Gets the index of a particular column expression.
getColumnIndex(DBColumn) - Method in class org.apache.empire.db.DBQuery
 
getColumnIndex(DBColumn) - Method in class org.apache.empire.db.DBRowSet
Gets the index of a particular column expression.
getColumnIndex(ColumnExpr) - Method in class org.apache.empire.db.DBRowSet
Gets the index of a particular column expression.
getColumnJavaType(DBColumnExpr) - Method in class org.apache.empire.db.DBDatabase
Returns the java class type for a given dataType
getColumnPos(DBColumn) - Method in class org.apache.empire.db.DBExpressionIndex
Gets the position of a specified DBColumn object.
getColumnPos(DBColumn) - Method in class org.apache.empire.db.DBIndex
Gets the position of a specified DBColumn object.
getColumnReferences() - Method in class org.apache.empire.db.DBRowSet
Returns the a list of column references.
getColumns() - Method in class org.apache.empire.data.bean.BeanClass
returns the list of key columns (if any)
getColumns() - Method in interface org.apache.empire.data.EntityType
 
getColumns() - Method in class org.apache.empire.data.list.DataListHead
 
getColumns() - Method in class org.apache.empire.db.DBIndex
Returns the columns belonging to this index.
getColumns() - Method in class org.apache.empire.db.DBRowSet
Gets all columns of this rowset (e.g. for cmd.select()).
getColumnSequenceName(DBTableColumn) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Returns the sequence name of for a column of type AUTOINC The sequence name is usually provided as the default value If no Default value is provided the sequence name is generated from the table and the column name
getColumnSize(DataType, ResultSet) - Method in class org.apache.empire.db.validation.DBModelParser
 
getColumnSize(DataType, ResultSet) - Method in class org.apache.empire.dbms.mysql.MySQLDBModelParser
 
getColumnTitle(Column) - Static method in exception org.apache.empire.db.exceptions.FieldValueException
 
getCommand() - Method in class org.apache.empire.data.bean.BeanResult
Returns the current command Used to add constraints, order, grouping etc.
getCommandBeanListFactory(Class<T>, DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
gets or creates DBBeanListFactory for the given rowset
getCommandExpr() - Method in class org.apache.empire.db.DBQuery
returns the underlying command expression
getCommandFromExpression() - Method in class org.apache.empire.db.DBQuery
returns the command from the underlying command expression or throws an exception
getComment() - Method in class org.apache.empire.db.DBColumn
Returns a comment describing the column in the data scheme.
getComment() - Method in class org.apache.empire.db.DBRowSet
 
getConnection(boolean) - Method in class org.apache.empire.db.context.DBContextBase
 
getConnection() - Method in class org.apache.empire.db.context.DBContextBase
 
getConnection(boolean) - Method in class org.apache.empire.db.context.DBContextStatic
 
getConnection() - Method in interface org.apache.empire.db.DBContext
 
getContext() - Method in interface org.apache.empire.db.context.DBContextAware
 
getContext() - Method in class org.apache.empire.db.DBReader
Returns the current Context
getContext() - Method in class org.apache.empire.db.DBRecord
Returns the current Context
getContext() - Method in class org.apache.empire.db.DBRecordBean
Returns the current Context
getContext() - Method in class org.apache.empire.db.DBSQLScript
Returns the current Context
getContext() - Method in class org.apache.empire.db.DBUtils
Returns the current Context
getContext() - Method in class org.apache.empire.db.generic.TRecord
finally we know the Context class
getControlType() - Method in class org.apache.empire.data.bean.BeanProperty
Returns the columns control type.
getControlType() - Method in interface org.apache.empire.data.ColumnExpr
Returns the column's control type used for displaying and entering data.
getControlType() - Method in class org.apache.empire.db.DBColumnExpr
Returns the column control type.
getConvertPhrase(DataType, DataType, Object) - Method in interface org.apache.empire.dbms.DBMSHandler
Returns a data type convertion phrase template for this dbms
The returned template must contain a '?'
getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
 
getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
 
getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
 
getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
 
getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
 
getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
 
getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
 
getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
 
getCount() - Method in class org.apache.empire.db.DBSQLScript
Returns the number of statements in this script
getCreateDDLScript(DBSQLScript) - Method in class org.apache.empire.db.DBDatabase
Creates a DDL Script for creating all database objects on the target database.
getDatabase(Class<T>) - Method in class org.apache.empire.data.list.DataListHead
Returns the database instance associated with this DataList (if any) The database is extracted from the column list
getDatabase() - Method in class org.apache.empire.db.DBCmdParam
 
getDatabase() - Method in class org.apache.empire.db.DBColumn
 
getDatabase() - Method in class org.apache.empire.db.DBCombinedCmd
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.DBCommand
 
getDatabase() - Method in class org.apache.empire.db.DBDatabase
 
getDatabase() - Method in class org.apache.empire.db.DBExpressionIndex
 
getDatabase() - Method in class org.apache.empire.db.DBIndex
 
getDatabase() - Method in class org.apache.empire.db.DBObject
Returns the database object to which this object belongs to.
getDatabase() - Method in class org.apache.empire.db.DBReader
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.DBRecordBase
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.DBRelation
 
getDatabase() - Method in class org.apache.empire.db.DBRowSet
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.expr.column.DBCalcExpr
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.expr.column.DBCaseExpr
 
getDatabase() - Method in class org.apache.empire.db.expr.column.DBCaseWhenExpr
 
getDatabase() - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
 
getDatabase() - Method in class org.apache.empire.db.expr.column.DBConcatExpr
 
getDatabase() - Method in class org.apache.empire.db.expr.column.DBCountExpr
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.expr.column.DBValueExpr
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
 
getDatabase() - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.expr.compare.DBCompareNotExpr
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
 
getDatabase() - Method in class org.apache.empire.db.expr.compare.DBExistsExpr
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.expr.order.DBOrderByExpr
 
getDatabase() - Method in class org.apache.empire.db.expr.set.DBSetExpr
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.db.generic.TDatabase
finally we know the database type
getDatabase() - Method in class org.apache.empire.db.generic.TTable
finally we know the database type
getDatabase() - Method in class org.apache.empire.db.generic.TView
finally we know the database type
getDatabase() - Method in class org.apache.empire.db.validation.DBModelParser
Returns the RemoteDatabase Only available after parseModel() is called
getDatabase() - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
Returns the current DBDatabase object.
getDatabase() - Method in class org.apache.empire.dbms.postgresql.PostgresAtAt
 
getDatabase() - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
 
getDatabaseName() - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
returns the name for the database / schema
getDatabaseName() - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
returns the name for the database / schema
getDatabaseName() - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
returns the name for the database / schema
getDatabaseName() - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
returns the name for the database / schema
getDatabaseName() - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
 
getDataLength() - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary.ColumnInfo
 
getDataPrecision() - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary.ColumnInfo
 
getDataScale() - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary.ColumnInfo
 
getDataType() - Method in class org.apache.empire.data.bean.BeanProperty
Returns the data type of the bean property.
getDataType() - Method in interface org.apache.empire.data.ColumnExpr
Returns the column's data type.
getDataType() - Method in class org.apache.empire.db.DBCmdParam
Returns the data type of the command parameter
getDataType() - Method in class org.apache.empire.db.DBColumnExpr
Returns the data type of this column expression.
getDataType() - Method in class org.apache.empire.db.DBCombinedCmd
 
getDataType() - Method in class org.apache.empire.db.DBCommand
 
getDataType() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
Returns the data type of the DBColumnExpr object.
getDataType() - Method in class org.apache.empire.db.DBCommandExpr
Returns the DataType selected by this command if only one column is returned If the command has more than one select expression DataType.UNKNOWN will be returned
getDataType() - Method in class org.apache.empire.db.DBQueryColumn
 
getDataType() - Method in class org.apache.empire.db.DBTableColumn
Returns the data type.
getDataType() - Method in class org.apache.empire.db.DBView.DBViewColumn
 
getDataType() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
Returns the data type of the DBColumnExpr object.
getDataType() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
Returns the data type of the DBColumnExpr object.
getDataType() - Method in class org.apache.empire.db.expr.column.DBCalcExpr
Returns the data type: DBDataType.DECIMAL.
getDataType() - Method in class org.apache.empire.db.expr.column.DBCaseExpr
 
getDataType() - Method in class org.apache.empire.db.expr.column.DBCaseWhenExpr
 
getDataType() - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
 
getDataType() - Method in class org.apache.empire.db.expr.column.DBConcatExpr
Returns the data type: DataType.VARCHAR
getDataType() - Method in class org.apache.empire.db.expr.column.DBCountExpr
Returns the data type: DT_INTEGER.
getDataType() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
Returns the data type of the DBColumnExpr object.
getDataType() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
Returns the data type of the DBColumnExpr object.
getDataType() - Method in class org.apache.empire.db.expr.column.DBValueExpr
Returns the data type of the DBColumnExpr object.
getDataType() - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
 
getDataType() - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary.ColumnInfo
 
getDataType() - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
Returns the data type of the DBColumnExpr object.
getDataType() - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
 
getDate(int, int, int) - Static method in class org.apache.empire.commons.DateUtils
 
getDate(Object, Locale) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an object value to a Date.
getDate(Object) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an object value to a Date.
getDate(int) - Method in class org.apache.empire.data.list.DataListEntry
 
getDate(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
 
getDateNow() - Static method in class org.apache.empire.commons.DateUtils
Returns the current date without time
getDateOnly(Date) - Static method in class org.apache.empire.commons.DateUtils
 
getDateTime(int, int, int, int, int, int, int) - Static method in class org.apache.empire.commons.DateUtils
 
getDateTime(int, int, int, int, int, int) - Static method in class org.apache.empire.commons.DateUtils
 
getDateTime(int) - Method in class org.apache.empire.db.DBRecordData
Returns a data value identified by the column index.
getDateTime(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
Returns a data value for the desired column.
getDateTimeString(Object, DBSqlPhrase, DBSqlPhrase, DBSqlPhrase) - Method in class org.apache.empire.db.DBSQLBuilder
encodes a Date value for an SQL command string.
getDbms() - Method in class org.apache.empire.db.context.DBContextStatic
 
getDbms() - Method in class org.apache.empire.db.DBCommandExpr
returns the DBMSHandler this command belongs to
getDbms() - Method in interface org.apache.empire.db.DBContext
 
getDbms() - Method in class org.apache.empire.db.DBDatabase
Returns the DBMS Handler for this database.
getDbms() - Method in class org.apache.empire.db.DBSQLBuilder
 
getDbms() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
returns the Database dbms or null if the Expression is not attached to an open database
This function is intended for convenience only.
getDDLGenerator() - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
Returns the Postgres DDL Generator
getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
Appends the required DLL commands to create, drop or alter an object to the supplied DBDQLScript.
getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in interface org.apache.empire.dbms.DBMSHandler
Appends the required DLL commands to create, drop or alter an object to the supplied DBDQLScript.
getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
 
getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
 
getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
 
getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.hsql.HSqlDDLGenerator
 
getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
 
getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
 
getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.oracle.OracleDDLGenerator
 
getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
 
getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
 
getDDLScript(DBDDLGenerator.DDLActionType, DBObject, DBSQLScript) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
 
getDecimal(Object, BigDecimal) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an object value to a BigDecimal.
getDecimal(Object) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an object value to a BigDecimal.
getDecimal(int) - Method in class org.apache.empire.data.list.DataListEntry
 
getDecimal(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
 
getDecimal(int) - Method in class org.apache.empire.db.DBRecordData
Returns a data value identified by the column index.
getDecimal(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
Returns a data value for the desired column.
getDecimalScale() - Method in class org.apache.empire.db.DBTableColumn
Returns the scale of the Decimal or 0 if the DataType is not DataType.DECIMAL.
getDefaultCascadeDeleteAction() - Method in class org.apache.empire.db.DBTable
returns the default cascade action for deletes on this table.
getDefaultIdentifier() - Method in class org.apache.empire.db.DBDatabase
returns the default database identifier Override this to customize
getDefaultValue() - Method in class org.apache.empire.db.DBTableColumn
Returns the default column value.
getDelete(DBTable) - Method in class org.apache.empire.db.DBCommand
Creates a delete SQL-Statement
getDictionnary() - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary
 
getDocumentBuilder() - Static method in class org.apache.empire.xml.XMLUtil
Returns an initialzed, namespace aware DocumentBuilder.
getDomain() - Method in class org.apache.empire.data.bean.BeanClass
returns the domain this class belongs to (if any)
getDouble(Object, double) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an object value to a double.
getDouble(Object) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an object value to a double.
getDouble(int) - Method in class org.apache.empire.db.DBRecordData
Returns a data value identified by the column index.
getDouble(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
Returns a data value for the desired column.
getElementText(Node) - Static method in class org.apache.empire.xml.XMLUtil
Retrieves the text of a given element.
getEmpireDataType(int) - Method in class org.apache.empire.db.validation.DBModelParser
 
getEnableDisableStmt(boolean, DBContext) - Method in class org.apache.empire.db.DBRelation
Appends the required DLL command to enable or disable a foreign key constraint to the supplied DBDQLScript.
getEngine() - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
Get the table engine that is used when creating new tables
getEntityName() - Method in class org.apache.empire.data.bean.BeanClass
returns the name of this class
getEntityName() - Method in interface org.apache.empire.data.EntityType
 
getEntityName() - Method in class org.apache.empire.db.DBRowSet
Returns the entity name creating qualified names.
getEntityType() - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
getEntityType() - Method in interface org.apache.empire.data.Record
Returns the entity this Record belongs to
getEntityType() - Method in class org.apache.empire.db.DBRecordBase
returns true if this record is a new record.
getEntityType(Record) - Static method in exception org.apache.empire.db.exceptions.RecordException
 
getEntityType() - Method in exception org.apache.empire.db.exceptions.RecordException
 
getEntry(Object) - Method in class org.apache.empire.commons.Options
 
getEnum(Class<T>, Object) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an object to an enum of the given type
getEnum(int, Class<T>) - Method in class org.apache.empire.data.list.DataListEntry
 
getEnum(ColumnExpr, Class<T>) - Method in class org.apache.empire.data.list.DataListEntry
 
getEnum(Column) - Method in class org.apache.empire.data.list.DataListEntry
 
getEnum(int, Class<T>) - Method in class org.apache.empire.db.DBRecordData
Returns the value of a field as an enum For numeric columns the value is assumed to be an ordinal of the enumeration item For non numeric columns the value is assumed to be the name of the enumeration item
getEnum(ColumnExpr, Class<T>) - Method in class org.apache.empire.db.DBRecordData
Returns the value of a field as an enum For numeric columns the value is assumed to be an ordinal of the enumeration item For non numeric columns the value is assumed to be the name of the enumeration item
getEnum(Column) - Method in class org.apache.empire.db.DBRecordData
Returns the value of a field as an enum This assumes that the column attribute "enumType" has been set to an enum type
getEnumByName(Class<T>, String) - Static method in class org.apache.empire.commons.ObjectUtils
find by name
getEnumType() - Method in class org.apache.empire.data.bean.BeanProperty
Returns the enum type for this column
getEnumType() - Method in interface org.apache.empire.data.ColumnExpr
Returns the enum type for this column
getEnumType() - Method in class org.apache.empire.db.DBColumn
Returns the enum type for this column
getEnumType() - Method in class org.apache.empire.db.DBQueryColumn
 
getEnumType() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
Maybe an Enum...
getEnumType() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
Returns the enum type of this Expression (if any)
getEnumType() - Method in class org.apache.empire.db.expr.column.DBCalcExpr
Not an Enum.
getEnumType() - Method in class org.apache.empire.db.expr.column.DBCaseExpr
 
getEnumType() - Method in class org.apache.empire.db.expr.column.DBCaseWhenExpr
 
getEnumType() - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
 
getEnumType() - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
Returns the column enum type
getEnumType() - Method in class org.apache.empire.db.expr.column.DBConcatExpr
Not an Enum.
getEnumType() - Method in class org.apache.empire.db.expr.column.DBCountExpr
Not an Enum.
getEnumType() - Method in class org.apache.empire.db.expr.column.DBDecodeExpr
 
getEnumType() - Method in class org.apache.empire.db.expr.column.DBFuncExpr
 
getEnumType() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
Returns the enum type of this Expression (if any)
getEnumType() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
Returns null
getEnumType() - Method in class org.apache.empire.db.expr.column.DBValueExpr
Returns the EnumType if the value is an Enum
getEnumType() - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
 
getEnumType() - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
Not an Enum.
getEnumType() - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
 
getEnumValue(Enum<?>, boolean) - Static method in class org.apache.empire.commons.ObjectUtils
Convert Enum to Object
getErrorCount() - Method in class org.apache.empire.db.validation.DBModelErrorLogger
 
getErrorParams() - Method in exception org.apache.empire.exceptions.EmpireException
The message parameters for the message.
getErrorType() - Method in exception org.apache.empire.exceptions.EmpireException
The type of error that occurred
getExpr() - Method in class org.apache.empire.db.DBQueryColumn
 
getExpr() - Method in class org.apache.empire.db.expr.compare.DBCompareNotExpr
Returns the wrapped expression
getExpressions() - Method in class org.apache.empire.db.DBExpressionIndex
Returns the columnExpressions belonging to this index.
getExpressions() - Method in class org.apache.empire.db.DBIndex
Returns the columnExpressions belonging to this index.
getExprFromPhrase(DBSqlPhrase, Object[], DataType) - Method in class org.apache.empire.db.DBColumnExpr
Creates a new DBFuncExpr from a given SQL-PRHASE and optional additional parameters.
getExprFromPhrase(DBSqlPhrase, Object[]) - Method in class org.apache.empire.db.DBColumnExpr
 
getFactoryForType(Class<T>) - Static method in class org.apache.empire.db.list.DBBeanFactoryCache
Returns the DBRowSet instance assigned to a particular Java bean type
getFieldCount() - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
getFieldCount() - Method in class org.apache.empire.data.list.DataListEntry
 
getFieldCount() - Method in interface org.apache.empire.data.RecordData
returns the number of field available
getFieldCount() - Method in class org.apache.empire.db.DBReader
returns the number of the elements of the colList array
getFieldCount() - Method in class org.apache.empire.db.DBRecordBase
Returns the number of the columns.
getFieldCount() - Method in class org.apache.empire.db.DBRecordData
 
getFieldIndex(ColumnExpr) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
getFieldIndex(String) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
getFieldIndex(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
 
getFieldIndex(String) - Method in class org.apache.empire.data.list.DataListEntry
 
getFieldIndex(ColumnExpr) - Method in interface org.apache.empire.data.RecordData
returns the index of the given column expression Indexed operations provide better performance for bulk processing
getFieldIndex(String) - Method in interface org.apache.empire.data.RecordData
returns the index of the column expression with the given name
getFieldIndex(ColumnExpr) - Method in class org.apache.empire.db.DBReader
Returns the index value by a specified DBColumnExpr object.
getFieldIndex(String) - Method in class org.apache.empire.db.DBReader
Returns the index value by a specified column name.
getFieldIndex(ColumnExpr) - Method in class org.apache.empire.db.DBRecordBase
Returns the index value by a specified DBColumnExpr object.
getFieldIndex(String) - Method in class org.apache.empire.db.DBRecordBase
Returns the index value by a specified column name.
getFieldIndex(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
 
getFieldIndex(String) - Method in class org.apache.empire.db.DBRecordData
 
getFieldOptions(Column) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
getFieldOptions(Column) - Method in interface org.apache.empire.data.Record
returns the Options list for the given record field.
getFieldOptions(DBColumn) - Method in class org.apache.empire.db.DBRecordBase
Gets the possbile Options for a field in the context of the current record.
getFieldOptions(Column) - Method in class org.apache.empire.db.DBRecordBase
Gets the possbile Options for a field in the context of the current record.
getFields() - Method in class org.apache.empire.db.DBRecordBase
This function provides direct access to the record fields.
getFieldValue(Class<?>, Object, String, boolean) - Static method in class org.apache.empire.commons.ClassUtils
Retrieve a field value using reflection
getFieldValue(Object, String) - Static method in class org.apache.empire.commons.ClassUtils
Retrieve a field value using reflection The field accessor must be public
getFirstChild(Node) - Static method in class org.apache.empire.xml.XMLUtil
Gets the first (direct) child Element.
getForeignKeyRelations() - Method in class org.apache.empire.db.DBTable
Returns a list of all foreign key relations for this table
getForeignKeyTable() - Method in class org.apache.empire.db.DBRelation
Returns the table that is containing the foreign key (source table)
getFullName() - Method in class org.apache.empire.db.DBColumn
Returns the full qualified column name.
getFullName() - Method in class org.apache.empire.db.DBIndex
Returns the full qualified table name.
getFullName() - Method in class org.apache.empire.db.DBRelation
Returns the full qualified table name.
getFullName() - Method in class org.apache.empire.db.DBRowSet
Returns the full qualified name of the rowset.
getFullName() - Method in class org.apache.empire.db.DBView
Returns the full qualified table name.
getFuncName() - Method in enum org.apache.empire.dbms.DBSqlPhrase
 
getFunctionName() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
returns the name of the function
getFunctionName() - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
 
getFunctionName() - Method in class org.apache.empire.db.expr.column.DBConcatFuncExpr
 
getFunctionName() - Method in class org.apache.empire.db.expr.column.DBConvertExpr
 
getFunctionName() - Method in class org.apache.empire.db.expr.column.DBDecodeExpr
 
getFunctionName() - Method in class org.apache.empire.db.expr.column.DBFuncExpr
 
getFunctionName() - Method in class org.apache.empire.dbms.postgresql.PostgresFuncExpr
 
getGroupBy() - Method in class org.apache.empire.db.DBCommand
Returns a copy of the defined where clauses.
getHavingConstraints() - Method in class org.apache.empire.db.DBCommand
Returns a copy of the defined having clauses.
getHead() - Method in class org.apache.empire.data.list.DataListEntry
 
getIdentifier() - Method in class org.apache.empire.db.DBColumn
Gets an identifier for this RowSet Object
getIdentifier() - Method in class org.apache.empire.db.DBDatabase
Returns the database instance identifier
getIdentifier() - Method in class org.apache.empire.db.DBRowSet
Gets an identifier for this RowSet Object
getIdentity() - Method in class org.apache.empire.db.DBRecord
Returns the record identity for tables which have a single numeric primary key like AUTOINC This method is provided for convenience in addition to the the getKey() method
getIdentity() - Method in class org.apache.empire.db.DBRecordBean
Returns the record identity for tables which have a single numeric primary key like AUTOINC This method is provided for convenience in addition to the the getKey() method
getIndex(Object) - Method in class org.apache.empire.commons.Options
 
getIndexes() - Method in class org.apache.empire.db.DBTable
Returns the list of indexes (except the primary key).
getInputStream() - Method in class org.apache.empire.db.DBBlobData
Returns the inputStream with the binary data for the BLOB.
getInsert() - Method in class org.apache.empire.db.DBCommand
Creates an insert SQL-Statement
getInsertInto(DBTable, List<DBColumnExpr>) - Method in class org.apache.empire.db.DBCommandExpr
Create the insert into SQL-Command which copies data from a select statement to a destination table.
getInsertInto(DBTable) - Method in class org.apache.empire.db.DBCommandExpr
Create the insert into SQL-Command which copies data from a select statement to a destination table.
getInsertInto(DBTable, DBColumnExpr[], List<DBColumnExpr>) - Method in class org.apache.empire.db.DBCommandExpr
Create the insert into SQL-Command which copies data from a select statement to a destination table.
getInstance() - Static method in class org.apache.empire.db.DBXmlDictionary
 
getInt(int) - Method in class org.apache.empire.data.list.DataListEntry
 
getInt(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
 
getInt(int) - Method in class org.apache.empire.db.DBRecordData
Returns a data value identified by the column index.
getInt(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
Returns a data value for the desired column.
getInteger(Object, int) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an object value to an integer.
getInteger(Object) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an object value to an integer.
getJavaType() - Method in class org.apache.empire.db.DBColumn
 
getJavaType() - Method in class org.apache.empire.db.DBColumnExpr
returns a corresponding Java type for this expression
getJoinConstraint() - Method in class org.apache.empire.db.expr.join.DBCompareJoinExpr
 
getJoins() - Method in class org.apache.empire.db.DBCommand
Returns a copy of the defined joins.
getKey() - Method in class org.apache.empire.commons.ErrorType
Returns the error type key (might be used for internationalization).
getKey() - Method in class org.apache.empire.data.bean.BeanRecordProxy
Returns the array of primary key columns.
getKey() - Method in interface org.apache.empire.data.Record
returns an array of key values which uniquely identify the record.
getKey() - Method in class org.apache.empire.db.DBRecordBase
Returns a array of key columns by a specified DBRecord object.
getKey(Record) - Static method in exception org.apache.empire.db.exceptions.RecordException
 
getKey() - Method in exception org.apache.empire.db.exceptions.RecordException
 
getKeyColumns() - Method in class org.apache.empire.data.bean.BeanClass
returns the list of key columns (if any)
getKeyColumns() - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
getKeyColumns() - Method in interface org.apache.empire.data.EntityType
 
getKeyColumns() - Method in interface org.apache.empire.data.Record
returns an array of key columns which uniquely identify the record.
getKeyColumns() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
Prints the error message: ERR_NOTSUPPORTED.
getKeyColumns() - Method in class org.apache.empire.db.DBQuery
return query key columns
getKeyColumns() - Method in class org.apache.empire.db.DBRecordBase
returns an array of key columns which uniquely identify the record.
getKeyColumns() - Method in class org.apache.empire.db.DBRowSet
 
getKeyColumns() - Method in class org.apache.empire.db.DBTable
Returns an array of all primary key columns.
getKeyColumns() - Method in class org.apache.empire.db.DBView
Returns an array of all key columns.
getKeyConstraints(Object[]) - Method in class org.apache.empire.db.DBRowSet
Set the constraints for a single record from a supplied key
getLeft() - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
 
getLeft() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
returns the left join expression
getLeftTable() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
 
getLeftTable() - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
returns the RowSet on the left of the join
getLeftTable() - Method in class org.apache.empire.db.expr.join.DBJoinExpr
returns the RowSet on the left of the join
getLength() - Method in class org.apache.empire.db.DBBlobData
Returns the length of the BLOB data in bytes.
getLength() - Method in class org.apache.empire.db.DBClobData
Returns the length of the CLOB data in characters.
getLinkName() - Method in class org.apache.empire.db.DBDatabase
Returns the database link name.
getLocalDate(Object) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an object value to a Date.
getLocalDate(int) - Method in class org.apache.empire.db.DBRecordData
Returns a data value identified by the column index.
getLocalDate(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
Returns a data value for the desired column.
getLocalDateFormatter(Locale) - Static method in class org.apache.empire.commons.DateUtils
 
getLocalDateTime(Object) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an object value to a Date.
getLocalDateTime(int) - Method in class org.apache.empire.db.DBRecordData
Returns a data value identified by the column index.
getLocalDateTime(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
Returns a data value for the desired column.
getLocalDateTimeFormatter(Locale, boolean) - Static method in class org.apache.empire.commons.DateUtils
 
getLong(Object, long) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an object value to a long.
getLong(Object) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an object value to a long.
getLong(int) - Method in class org.apache.empire.data.list.DataListEntry
 
getLong(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
 
getLong(int) - Method in class org.apache.empire.db.DBRecordData
Returns a data value identified by the column index.
getLong(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
Returns a data value for the desired column.
getMessagePattern() - Method in class org.apache.empire.commons.ErrorType
Returns the message pattern.
getName() - Method in class org.apache.empire.commons.Attributes.Attribute
 
getName() - Method in class org.apache.empire.data.bean.BeanDomain
 
getName() - Method in class org.apache.empire.data.bean.BeanProperty
Returns the name of the property.
getName() - Method in interface org.apache.empire.data.ColumnExpr
Returns the physical column name.
getName() - Method in class org.apache.empire.db.DBColumn
Returns the column name.
getName() - Method in class org.apache.empire.db.DBColumnExpr
Returns the column name for this column expression.
getName() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
Not applicable - returns null
getName() - Method in class org.apache.empire.db.DBIndex
Returns the primary key name.
getName() - Method in class org.apache.empire.db.DBQuery
not applicable - returns null
getName() - Method in class org.apache.empire.db.DBRelation
Returns the name.
getName() - Method in class org.apache.empire.db.DBRowSet
 
getName() - Method in class org.apache.empire.db.DBTable
Returns the table name of this object.
getName() - Method in class org.apache.empire.db.DBView
Returns the view name of this object.
getName() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
Returns the column name.
getName() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
This helper function returns the alias name.
getName() - Method in class org.apache.empire.db.expr.column.DBCalcExpr
Returns the given expression name.
getName() - Method in class org.apache.empire.db.expr.column.DBCaseExpr
 
getName() - Method in class org.apache.empire.db.expr.column.DBCaseWhenExpr
 
getName() - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
 
getName() - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
Returns the column name.
getName() - Method in class org.apache.empire.db.expr.column.DBConcatExpr
 
getName() - Method in class org.apache.empire.db.expr.column.DBConcatFuncExpr
 
getName() - Method in class org.apache.empire.db.expr.column.DBCountExpr
Returns the String "count".
getName() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
This helper function returns the alias name.
getName() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
Returns the column name.
getName() - Method in class org.apache.empire.db.expr.column.DBValueExpr
Returns the column name.
getName() - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
 
getName() - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
Returns the column name.
getName() - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
 
getNamespace() - Method in class org.apache.empire.commons.Attributes.Attribute
 
getNamespaceURI(Document, String) - Static method in class org.apache.empire.xml.XMLUtil
 
getNativeErrorMessage() - Method in exception org.apache.empire.db.exceptions.EmpireSQLException
 
getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Returns the next value of a named sequence The numbers are used for fields of type DBExpr.DT_AUTOINC.
getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
 
getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
 
getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
 
getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
 
getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
 
getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
 
getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
 
getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
 
getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Returns an expression for creating a sequence value.
getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
 
getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
 
getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
 
getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
 
getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
 
getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
 
getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
 
getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
 
getNextSiblingElement(Element, boolean) - Static method in class org.apache.empire.xml.XMLUtil
Returns the next sibling Element for an element, optionally matching tag names.
getNextValue(String, long, Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase.DBSeqTable
 
getNullable() - Method in class org.apache.empire.dbms.oracle.OracleDataDictionnary.ColumnInfo
 
getNullExpr() - Method in class org.apache.empire.db.DBDatabase
Creates and returns a value expression for NULL
getNullType(DBCmpType) - Static method in enum org.apache.empire.db.DBCmpType
 
getNumberString(Object, DataType) - Method in class org.apache.empire.db.DBSQLBuilder
encodes a numeric value for an SQL command string.
getNumParams() - Method in class org.apache.empire.commons.ErrorType
Returns the number of parameters required for the message pattern.
getObject() - Method in interface org.apache.empire.db.context.DBRollbackHandler
 
getObject() - Method in class org.apache.empire.db.DBRecordBase.DBRecordRollbackHandler
 
getObjectInfo() - Method in interface org.apache.empire.db.context.DBRollbackHandler
 
getObjectInfo() - Method in class org.apache.empire.db.DBRecordBase.DBRecordRollbackHandler
 
getObjectOwner() - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
 
getOnDeleteAction() - Method in class org.apache.empire.db.DBRelation
return the action to perform when deleting affected records.
getOptimizerHint() - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
 
getOptions() - Method in class org.apache.empire.data.bean.BeanProperty
Returns the list of options for this column containing all allowed field values.
getOptions() - Method in interface org.apache.empire.data.ColumnExpr
Returns an option set with possible column values and their corresponding display text.
getOptions() - Method in class org.apache.empire.db.DBColumn
 
getOptions() - Method in class org.apache.empire.db.DBColumnExpr
Returns the list of options for this column containing all possible field values.
getOptions() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
Get Options of underlying table column.
getOptions() - Method in class org.apache.empire.db.DBQueryColumn
 
getOptions() - Method in class org.apache.empire.db.DBView.DBViewColumn
 
getOrderBy() - Method in class org.apache.empire.db.DBCommandExpr
Returns a copy of the defined order-bys.
getOuterTable() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
Returns the left table name if the data type= JOIN_LEFT and returns the right table if the data type= JOIN_RIGHT.
getOuterTable() - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
Returns the left table name if the data type= JOIN_LEFT and returns the right table if the data type= JOIN_RIGHT.
getOuterTable() - Method in class org.apache.empire.db.expr.join.DBJoinExpr
Returns the left table name if the data type= JOIN_LEFT and returns the right table if the data type= JOIN_RIGHT.
getParameterTypes(Constructor<?>) - Static method in class org.apache.empire.db.list.DBBeanListFactoryImpl
 
getParamExpr(DBCmdParam) - Method in class org.apache.empire.db.DBDatabase
Creates and returns a value expression for a command parameter
getParams() - Method in class org.apache.empire.db.DBCombinedCmd
 
getParams() - Method in class org.apache.empire.db.DBCommand
 
getParams() - Method in class org.apache.empire.db.DBCommandExpr
 
getParams() - Method in class org.apache.empire.db.DBSQLScript.SQLStmt
 
getParams() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
return the value associated with this value expression
getParams() - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
 
getParamValues() - Method in class org.apache.empire.db.DBCmdParamList
 
getParamValues() - Method in class org.apache.empire.db.DBCombinedCmd
Returns the list of parameter values for a prepared statement.
getParamValues() - Method in class org.apache.empire.db.DBCommand
Returns an array of parameter values for a prepared statement.
getParamValues() - Method in class org.apache.empire.db.DBCommandExpr
returns an array holding all parameter values in the order of their occurrence.
getParamValues() - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
 
getPhrase(DBSqlPhrase) - Method in class org.apache.empire.db.DBSQLBuilder
 
getPrimaryKey() - Method in class org.apache.empire.db.DBTable
Returns the primary key.
getPrivateFieldValue(Object, String) - Static method in class org.apache.empire.commons.ClassUtils
Retrieve a field value using reflection
getProperties() - Method in class org.apache.empire.data.bean.BeanClass
returns the list of properties for this class.
getQueryColumns() - Method in class org.apache.empire.db.DBQuery
Gets all columns of this rowset (e.g. for cmd.select()).
getReader() - Method in class org.apache.empire.db.DBClobData
Get the Reader for the large string
getRecordData(DBCommandExpr) - Method in class org.apache.empire.db.DBReader
Opens the reader by executing the given SQL command and moves to the first row.
getRecordDefaultValue(Connection) - Method in class org.apache.empire.db.DBTableColumn
Returns the default column value.
getRecordId(EntityType) - Method in class org.apache.empire.data.list.DataListEntry
Returns the record id for a type of entity which has a single numeric primary key
getRecordId(EntityType) - Method in class org.apache.empire.db.DBReader
Returns the record id for a type of entity which has a single numeric primary key
getRecordKey(EntityType) - Method in class org.apache.empire.data.list.DataListEntry
Returns the record key for a type of entity
getRecordKey(DBRecordBase) - Method in class org.apache.empire.db.DBQuery
Returns a array of primary key columns by a specified DBRecord object.
getRecordKey(EntityType) - Method in class org.apache.empire.db.DBReader
Returns the record key for a type of entity
getReferencedTable() - Method in class org.apache.empire.db.DBRelation
Returns the table that is referenced by this foreign key relation (target table)
getReferences() - Method in class org.apache.empire.db.DBRelation
Returns the references.
getRelation(String) - Method in class org.apache.empire.db.DBDatabase
Returns the relation of a given name
getRelations() - Method in class org.apache.empire.db.DBDatabase
Returns the relations which have been defined in the database.
getRemoteDatabase() - Method in class org.apache.empire.db.validation.DBModelChecker
Returns the RemoteDatabase Only available after parseModel() is called
getRenameTablePhrase() - Method in class org.apache.empire.db.DBRowSet
Returns the sql phrase for renaming tables.
getResultSet() - Method in class org.apache.empire.db.DBReader
Access the JDBC-ResultSet
getResultValue(ResultSet, int, DataType) - Method in interface org.apache.empire.dbms.DBMSHandler
Reads a single column value from the given JDBC ResultSet and returns a value object of desired data type.
getResultValue(ResultSet, int, DataType) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Reads a single column value from the given JDBC ResultSet and returns a value object of desired data type.
getResultValue(ResultSet, int, DataType) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
Gets the value of a sql ResultSet.
getResultValue(ResultSet, int, DataType) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
Postgre needs special handling for CLOBs and BLOB's
getResultValue(ResultSet, int, DataType) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
 
getRight() - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
 
getRight() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
returns the right join expression
getRightTable() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
returns the RowSet on the right of the join
getRightTable() - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
returns the RowSet on the right of the join
getRightTable() - Method in class org.apache.empire.db.expr.join.DBJoinExpr
returns the RowSet on the right of the join
getRollbackManager(boolean) - Method in class org.apache.empire.db.context.DBContextBase
 
getRollbackManager(boolean) - Method in class org.apache.empire.db.context.DBContextStatic
 
getRootNode() - Method in class org.apache.empire.xml.XMLConfiguration
returns the configuration root element or null if init() has not been called.
getRowElementName() - Method in class org.apache.empire.db.DBXmlDictionary
 
getRowIdColumnAttribute() - Method in class org.apache.empire.db.DBXmlDictionary
 
getRownum() - Method in class org.apache.empire.data.list.DataListEntry
 
getRowSet() - Method in class org.apache.empire.db.DBColumn
Returns DBTable, DBQuery or DBView object.
getRowSet(String) - Method in class org.apache.empire.db.DBDatabase
Finds a DBRowSet object (DBTable or DBView) by name.
getRowSet() - Method in class org.apache.empire.db.DBRecord
Returns the DBRowSet object.
getRowSet() - Method in class org.apache.empire.db.DBRecordBase
Returns the DBRowSet object.
getRowSet() - Method in class org.apache.empire.db.DBRecordBean
Returns the DBRowSet object.
getRowSet() - Method in class org.apache.empire.db.generic.TRecord
finally we know the RowSet class
getRowsetBeanListFactory(Class<T>, DBRowSet) - Method in class org.apache.empire.db.DBUtils
gets or creates DBBeanListFactory for the given rowset
getRowsetData(DBRecordBase) - Method in class org.apache.empire.db.DBRowSet
Returns additional data stored on a record by the RowSet
getRowSetElementName() - Method in class org.apache.empire.db.DBXmlDictionary
 
getRowSetList() - Method in class org.apache.empire.db.DBCommand
Gets a list of all tables referenced by the query.
getSchema() - Method in class org.apache.empire.db.DBDatabase
Returns the schema for SQL statements.
getSchema() - Method in class org.apache.empire.db.validation.DBModelParser
 
getSchemaName() - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
 
getSchemaName() - Method in class org.apache.empire.dbms.oracle.OracleDBModelParser
 
getSchemaPrefix() - Method in class org.apache.empire.db.DBDatabase
Returns the schema-prefix for SQL statements e.g.
getScrollable() - Method in class org.apache.empire.db.DBReader
 
getSelect(DBSQLBuilder) - Method in class org.apache.empire.db.DBCombinedCmd
Creates the SQL-Command.
getSelect(DBSQLBuilder) - Method in class org.apache.empire.db.DBCommand
Creates a select SQL-Statement
getSelect(DBSQLBuilder) - Method in class org.apache.empire.db.DBCommandExpr
returns an SQL select command
getSelect() - Method in class org.apache.empire.db.DBCommandExpr
returns an SQL select command for querying records.
getSelect(DBSQLBuilder) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2.DBCommandH2
 
getSelect(DBSQLBuilder) - Method in class org.apache.empire.dbms.hsql.DBCommandHSql
 
getSelect(DBSQLBuilder) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBCommandMySQL
 
getSelect(DBSQLBuilder) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
Creates an Oracle specific select statement that supports special features of the Oracle DBMS like e.g.
getSelect(DBSQLBuilder) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
 
getSelectExpressions() - Method in class org.apache.empire.db.DBCombinedCmd
Returns all select expressions as unmodifiable list
getSelectExpressions() - Method in class org.apache.empire.db.DBCommand
Returns all select expressions as unmodifiable list
getSelectExpressions() - Method in class org.apache.empire.db.DBCommandExpr
returns a list of expressions for the SELECT part of the sql statement
getSelectExprList() - Method in class org.apache.empire.db.DBCombinedCmd
Calls the method dbDBCommandExpr.getSelectExprList from the private variable 'left'.
getSelectExprList() - Method in class org.apache.empire.db.DBCommand
Returns an array of all select expressions
getSelectExprList() - Method in class org.apache.empire.db.DBCommandExpr
Returns the list of all select expressions as an array Used internally only
getSequenceTableName() - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
returns the name of the sequence table
getSequenceTableName() - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
returns the name of the sequence table
getSequenceTableName() - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
returns the name of the sequence table
getSequenceTableName() - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
returns the name of the sequence table
getSetExpressions() - Method in class org.apache.empire.db.DBCommand
Returns all set expressions as unmodifiable list
getSize() - Method in class org.apache.empire.data.bean.BeanProperty
 
getSize() - Method in interface org.apache.empire.data.Column
Returns the maximum size a value for this column is allowed to have.
getSize() - Method in class org.apache.empire.db.DBColumn
Returns the size of the column.
getSize() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
Not applicable - always returns 0.
getSize() - Method in class org.apache.empire.db.DBQueryColumn
 
getSize() - Method in class org.apache.empire.db.DBTableColumn
Gets the the column width.
getSize() - Method in class org.apache.empire.db.DBView.DBViewColumn
 
getSourceColumn() - Method in class org.apache.empire.data.bean.BeanProperty
Returns the column This function should return the same string as getName()
getSourceColumn() - Method in interface org.apache.empire.data.ColumnExpr
Returns the underlying source column (if any).
getSourceColumn() - Method in class org.apache.empire.db.DBColumn
Returns itself as the source column.
getSourceColumn() - Method in class org.apache.empire.db.DBColumnExpr
Returns the underlying physical column which was used for this expression For functions involving none or more than one physical column this function return the first one
getSourceColumn() - Method in class org.apache.empire.db.DBRelation.DBReference
 
getSourceColumn() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
Returns the expression the source column.
getSourceColumn() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
Returns the expression the source column.
getSourceColumn() - Method in class org.apache.empire.db.expr.column.DBCalcExpr
Returns the expression the source column.
getSourceColumn() - Method in class org.apache.empire.db.expr.column.DBCaseExpr
 
getSourceColumn() - Method in class org.apache.empire.db.expr.column.DBCaseWhenExpr
 
getSourceColumn() - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
 
getSourceColumn() - Method in class org.apache.empire.db.expr.column.DBConcatExpr
 
getSourceColumn() - Method in class org.apache.empire.db.expr.column.DBCountExpr
Returns the expression the source column.
getSourceColumn() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
Returns the expression the source column.
getSourceColumn() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
Returns the expression the source column.
getSourceColumn() - Method in class org.apache.empire.db.expr.column.DBValueExpr
Returns the expression the source column.
getSourceColumn() - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
 
getSourceColumn() - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
Returns null.
getSourceColumn() - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
 
getSourceColumnExpr() - Method in class org.apache.empire.db.DBView.DBViewColumn
 
getSQL() - Method in enum org.apache.empire.dbms.postgresql.PostgresSqlPhrase
 
getSqlDefault() - Method in enum org.apache.empire.dbms.DBSqlPhrase
 
getSQLPhrase(DBSqlPhrase) - Method in interface org.apache.empire.dbms.DBMSHandler
Returns an sql phrase template for this database system.
getSQLPhrase(DBSqlPhrase) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
Gets an sql phrase template for this database system.
getSQLPhrase(DBSqlPhrase) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
Gets an sql phrase template for this database system.
getSQLPhrase(DBSqlPhrase) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
Gets an sql phrase template for this database system.
getSQLPhrase(DBSqlPhrase) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
Gets an sql phrase template for this database system.
getSQLPhrase(DBSqlPhrase) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
Gets an sql phrase template for this database system.
getSQLPhrase(DBSqlPhrase) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
Gets an sql phrase template for this database system.
getSQLPhrase(DBSqlPhrase) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
Gets an sql phrase template for this database system.
getSQLPhrase(DBSqlPhrase) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
Gets an sql phrase template for this database system.
getState() - Method in class org.apache.empire.db.DBRecordBase
Returns the record state.
getStmt(int) - Method in class org.apache.empire.db.DBSQLScript
Returns the statement command at the given index
getStmtParams(int) - Method in class org.apache.empire.db.DBSQLScript
Returns the statement command at the given index
getString(Enum<?>) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an Enum to a String
getString(Object) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an Object to a String
getString(int) - Method in class org.apache.empire.data.list.DataListEntry
 
getString(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
 
getString(int) - Method in class org.apache.empire.db.DBRecordData
Returns a data value identified by the column index.
getString(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
Returns a data value for the desired column.
getSystemDateExpr() - Method in class org.apache.empire.db.DBDatabase
Creates and returns a value object for the database systems current date and time.
getTable(String) - Method in class org.apache.empire.db.DBDatabase
Finds a DBTable object by name.
getTable() - Method in class org.apache.empire.db.DBIndex
returns the table this index belongs to.
getTable() - Method in class org.apache.empire.db.expr.set.DBSetExpr
Returns the current Table object.
getTable(String) - Method in class org.apache.empire.db.validation.DBModelParser
 
getTables() - Method in class org.apache.empire.db.DBDatabase
Returns the tables which have been defined in the database.
getTables() - Method in class org.apache.empire.db.validation.DBModelParser
 
getTargetColumn() - Method in class org.apache.empire.db.DBRelation.DBReference
 
getText() - Method in class org.apache.empire.commons.OptionEntry
 
getText(String) - Method in class org.apache.empire.data.list.DataListEntry
 
getText(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
 
getText(int, Object) - Method in class org.apache.empire.data.list.DataListHead
Returns the value of a column as a formatted text This converts the value to a string if necessary and performs an options lookup To customize conversion please override convertToString()
getText(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
Returns the value of a column as a formatted text This converts the value to a string if necessary and performs an options lookup To customize conversion please override convertToString()
getTextAt(int) - Method in class org.apache.empire.commons.Options
Gets the text of the entry at index i
getTimeNow() - Static method in class org.apache.empire.commons.DateUtils
Returns the current date and time
getTimeOnly(Date) - Static method in class org.apache.empire.commons.DateUtils
 
getTimestampColumn() - Method in class org.apache.empire.db.DBRowSet
 
getTitle() - Method in class org.apache.empire.data.bean.BeanProperty
Returns the title attribute.
getTitle() - Method in interface org.apache.empire.data.ColumnExpr
Returns the column's display title.
getTitle() - Method in class org.apache.empire.db.DBColumnExpr
Returns the title attribute.
getType() - Method in class org.apache.empire.db.DBIndex
Returns the index type.
getType() - Method in class org.apache.empire.db.expr.join.DBJoinExpr
returns the join type for this join
getUpdate() - Method in class org.apache.empire.db.DBCommand
Creates an update SQL-Statement
getUpdateColumn() - Method in class org.apache.empire.db.DBColumn
Returns itself as the update column.
getUpdateColumn() - Method in class org.apache.empire.db.DBColumnExpr
Returns the underlying physical column which may be used for updates.
getUpdateColumn() - Method in class org.apache.empire.db.DBQuery.DBQueryExprColumn
 
getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
Returns the DBColunm object.
getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
Returns the DBColunm object.
getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBCalcExpr
returns null
getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBCaseExpr
 
getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBCaseWhenExpr
 
getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
 
getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBConcatExpr
 
getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBConcatFuncExpr
 
getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBCountExpr
Returns null.
getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBDecodeExpr
 
getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
Returns the DBColunm object.
getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
Returns null.
getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBValueExpr
Returns the expression the update column.
getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
 
getUpdateColumn() - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
Returns null.
getUpdateColumn() - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
 
getUpdateTimestamp(Connection) - Method in interface org.apache.empire.dbms.DBMSHandler
Returns a DMBS-Timestamp that is used for record updates.
getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Returns a timestamp that is used for record updates.
getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
Overridden.
getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
Overridden.
getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
Overridden.
getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
Overridden.
getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
Overridden.
getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
Overridden.
getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
Overridden.
getUpdateTimestamp(Connection) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
Overridden.
getUtils() - Method in class org.apache.empire.db.context.DBContextBase
 
getUtils() - Method in interface org.apache.empire.db.DBContext
 
getValue() - Method in class org.apache.empire.commons.Attributes.Attribute
 
getValue() - Method in class org.apache.empire.commons.OptionEntry
 
getValue(int) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
getValue(int) - Method in class org.apache.empire.data.list.DataListEntry
 
getValue(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
Deprecated.
getValue(int) - Method in interface org.apache.empire.data.RecordData
returns the value of the field at the given index position Indexed operations provide better performance for bulk processing compared to getValue(ColumnExpr)
getValue() - Method in class org.apache.empire.db.DBCmdParam
Returns the current value of the parameter.
getValue(int) - Method in class org.apache.empire.db.DBReader
Returns a data value identified by the column index.
getValue(int) - Method in class org.apache.empire.db.DBRecordBase
Returns the value for the given column or null if either the index is out of range or the value is not valid (see DBRecordBase.isValueValid(int))
getValue(int) - Method in class org.apache.empire.db.DBRecordData
Returns a value based on an index.
getValue(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
Deprecated.
getValue(Column, Class<T>) - Method in class org.apache.empire.db.DBRecordData
Deprecated.
getValue() - Method in class org.apache.empire.db.expr.column.DBValueExpr
return the value associated with this value expression
getValue() - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
Gets the value to compare the column expression with
getValue() - Method in class org.apache.empire.db.expr.set.DBSetExpr
 
getValueAt(int) - Method in class org.apache.empire.commons.Options
Gets the value of the entry at index i
getValueExpr(String) - Method in class org.apache.empire.db.DBDatabase
Creates and returns a value object for the given string value.
getValueExpr(boolean) - Method in class org.apache.empire.db.DBDatabase
Creates and returns a value object for the given boolean value.
getValueExpr(int) - Method in class org.apache.empire.db.DBDatabase
Creates and returns a value object for the given integer value.
getValueExpr(long) - Method in class org.apache.empire.db.DBDatabase
Creates and returns a value object for the given long value.
getValueExpr(Object, DataType) - Method in class org.apache.empire.db.DBDatabase
Creates and returns a value object for the given scalar value.
getValues() - Method in class org.apache.empire.commons.Options
 
getValues(ColumnExpr...) - Method in class org.apache.empire.db.DBRecordData
Deprecated.
getValueString() - Method in class org.apache.empire.commons.OptionEntry
Gets the value as string
getView(String) - Method in class org.apache.empire.db.DBDatabase
Finds a DBView object by name.
getView() - Method in class org.apache.empire.db.DBView.DBViewColumn
 
getViews() - Method in class org.apache.empire.db.DBDatabase
Returns the views which have been defined in the database.
getWarnCount() - Method in class org.apache.empire.db.validation.DBModelErrorLogger
 
getWeekOfYear(Date, Locale) - Static method in class org.apache.empire.commons.DateUtils
 
getWhere() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
Returns any additional constraints to the join
getWhereConstraints() - Method in class org.apache.empire.db.DBCommand
Returns a copy of the defined where clauses.
getXmlDictionary() - Method in class org.apache.empire.db.DBReader
returns the DBXmlDictionary that should used to generate XMLDocuments
getXmlDictionary() - Method in class org.apache.empire.db.DBRecordBase
returns the DBXmlDictionary that should used to generate XMLDocuments
getXmlDocument() - Method in class org.apache.empire.db.DBReader
Returns a XML document with the field description an values of this record.
getXmlDocument() - Method in class org.apache.empire.db.DBRecordBase
Returns a XML document with the field description an values of this record.
getXmlDocument() - Method in class org.apache.empire.db.DBRecordData
 
groupAll() - Method in class org.apache.empire.db.DBCommand
Adds all select expressions which are not aggregates to the Group By clause
groupBy - Variable in class org.apache.empire.db.DBCommand
 
groupBy(DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
Adds a column expression to the Group By clause of an sql statement.
groupBy(DBColumnExpr...) - Method in class org.apache.empire.db.DBCommand
Adds a list of columns to the Group By clause of an sql statement.
groupBy(Collection<? extends DBColumnExpr>) - Method in class org.apache.empire.db.DBCommand
Adds a collection of columns to the Group By clause of an sql statement.

H

H2DDLGenerator - Class in org.apache.empire.dbms.h2
 
H2DDLGenerator(DBMSHandlerH2) - Constructor for class org.apache.empire.dbms.h2.H2DDLGenerator
 
handlerFromObject(DBObject) - Static method in exception org.apache.empire.db.exceptions.EmpireSQLException
 
has(int, int) - Static method in class org.apache.empire.commons.ClassUtils.Copy
 
has(Object) - Method in class org.apache.empire.commons.Options
same as contains(), but IDE may not issue warning
hasAggegation() - Method in class org.apache.empire.db.DBCommand
Checks whether or not there are any aggregate functions in the Select
hasConstraintOn(DBRowSet) - Method in class org.apache.empire.db.DBCommand
Returns true if the command has a constraint on the given table or false otherwise.
hasField(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
 
hasGroupBy() - Method in class org.apache.empire.db.DBCommand
Returns whether or not the command has group by set
hasHavingConstraintOn(DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
Checks whether the command has a constraint on a particular column expression
hasHavingConstraints() - Method in class org.apache.empire.db.DBCommand
Returns true if the command has having-constraints or false if not.
hashCode() - Method in class org.apache.empire.db.DBColumn
 
hashCode() - Method in class org.apache.empire.db.DBRowSet
Custom serialization for transient database.
hasJoinOn(DBRowSet) - Method in class org.apache.empire.db.DBCommand
Returns true if the command has a join on the given table or false otherwise.
hasJoinOn(DBColumn) - Method in class org.apache.empire.db.DBCommand
Returns true if the command has a join on the given column or false otherwise.
hasNext() - Method in class org.apache.empire.db.DBReader.DBReaderForwardIterator
Implements the Iterator Interface.
hasNext() - Method in class org.apache.empire.db.DBReader.DBReaderScrollableIterator
Implements the Iterator Interface.
hasOrderBy() - Method in class org.apache.empire.db.DBCommandExpr
Returns whether or not the command has order by set
hasSelectExpr() - Method in class org.apache.empire.db.DBCombinedCmd
returns whether or not the command has any select expression
hasSelectExpr(DBColumnExpr) - Method in class org.apache.empire.db.DBCombinedCmd
returns whether or not the command has a specific select expression
hasSelectExpr() - Method in class org.apache.empire.db.DBCommand
returns whether or not the command has any select expression
hasSelectExpr(DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
returns whether or not the command has a specific select expression
hasSelectExpr() - Method in class org.apache.empire.db.DBCommandExpr
returns whether or not the command has any select expression
hasSelectExpr(DBColumnExpr) - Method in class org.apache.empire.db.DBCommandExpr
returns whether or not the command has a specific select expression
hasSetExpr() - Method in class org.apache.empire.db.DBCommand
Returns whether or not the command has group by set
hasSetExprOn(DBColumn) - Method in class org.apache.empire.db.DBCommand
Checks whether a column is in the list of set expressions
hasWhereConstraintOn(DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
Checks whether the command has a constraint on a particular column expression
hasWhereConstraints() - Method in class org.apache.empire.db.DBCommand
Returns true if the command has constraints or false if not.
having - Variable in class org.apache.empire.db.DBCommand
 
having(DBCompareExpr) - Method in class org.apache.empire.db.DBCommand
adds a constraint to the having clause.
head - Variable in class org.apache.empire.data.list.DataListEntry
 
head - Variable in class org.apache.empire.data.list.DataListFactoryImpl
 
HSqlDDLGenerator - Class in org.apache.empire.dbms.hsql
 
HSqlDDLGenerator(DBMSHandlerHSql) - Constructor for class org.apache.empire.dbms.hsql.HSqlDDLGenerator
 

I

ILLEGAL_NAME_CHARS - Static variable in class org.apache.empire.dbms.DBMSHandlerBase
 
in(Collection<?>) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an expression for the SQL "in" operator.
in(T...) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an expression for the SQL "in" operator.
in(DBExpr) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an expression for the SQL "not in" operator.
indexOf(String) - Method in class org.apache.empire.commons.Attributes
 
indexOf(T[], T) - Static method in class org.apache.empire.commons.ObjectUtils
returns whether or not a array contains a certain item performs a simple (==) comparison (fast)
indexOf(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
 
indexOf(Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a sql-expression that returns the position of a string in the current column expression.
indexOf(Object, DBExpr) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a sql-expression that returns the position of a string in the current column expression.
indexOf(Object, int) - Method in class org.apache.empire.db.DBColumnExpr
Overloaded.
init(DBDatabase, DBColumnExpr[], ResultSet) - Method in class org.apache.empire.db.DBReader
Initialize the reader from an open JDBC-ResultSet
init(String, boolean) - Method in class org.apache.empire.xml.XMLConfiguration
Initialize the configuration.
initClonedFields(T) - Method in class org.apache.empire.db.DBTable
 
initData(boolean) - Method in class org.apache.empire.db.DBRecordBase
This method is used internally by the RowSet to initialize the record's properties
initDataTypes(DBMSHandlerMSSQL) - Method in class org.apache.empire.dbms.sqlserver.MSSqlDDLGenerator
sets Oracle specific data types
initialize(DB, DBContext, int, Object) - Method in interface org.apache.empire.db.list.DataBean
 
initRecord(DBRecordBase, DBRecordData) - Method in class org.apache.empire.db.DBQuery
Add rowset data
initRecord(DBRecordBase) - Method in class org.apache.empire.db.DBReader
initializes a DBRecord object with the values of the current row.
initRecord(DBRecordBase, Object[], DBRowSet.FieldInitMode, boolean) - Method in class org.apache.empire.db.DBRowSet
Initializes a DBRecord for this RowSet and sets primary key values.
initRecord(DBRecordBase, DBRecordData) - Method in class org.apache.empire.db.DBRowSet
Initializes a DBRecord for this rowset using the record data provided (i.e. from a DBReader)
The record may then be modified and updated.
initRecordDefaultValues(DBRecordBase, DBRowSet.FieldInitMode) - Method in class org.apache.empire.db.DBRowSet
initializes the Record Default Values
initRecordDefaultValues(DBRecordBase, DBRowSet.FieldInitMode) - Method in class org.apache.empire.db.DBTable
initializes the Record Default Values
initSerialSequenceNames(DBDatabase, Connection) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
Initializes the Sequence names of SERIAL and BIGSERIAL columns
insertElement(Node, String, String, Element) - Static method in class org.apache.empire.xml.XMLUtil
Inserts a new child element to a parent.
insertElement(Node, String, Element) - Static method in class org.apache.empire.xml.XMLUtil
 
insertElementNS(Node, String, String, String, Element) - Static method in class org.apache.empire.xml.XMLUtil
Inserts a new child element to a parent.
insertElementNS(Node, String, String, Element) - Static method in class org.apache.empire.xml.XMLUtil
 
insertStmt(int, String, Object[]) - Method in class org.apache.empire.db.DBSQLScript
Inserts an entry in the list
insertStmt(int, String) - Method in class org.apache.empire.db.DBSQLScript
Inserts an entry in the list
INT_SIZE_BIG - Static variable in class org.apache.empire.db.DBTable
 
INT_SIZE_DEFAULT - Static variable in class org.apache.empire.db.DBTable
 
INT_SIZE_MEDIUM - Static variable in class org.apache.empire.db.DBTable
 
INT_SIZE_SMALL - Static variable in class org.apache.empire.db.DBTable
 
InternalException - Exception in org.apache.empire.exceptions
 
InternalException(Throwable) - Constructor for exception org.apache.empire.exceptions.InternalException
 
InternalException(EmpireException) - Constructor for exception org.apache.empire.exceptions.InternalException
 
intersect(DBCommandExpr) - Method in class org.apache.empire.db.DBCommandExpr
Constructs a new DBCombinedCmd object with this object, the key word= "INTERSECT" and the selected DBCommandExpr.
InvalidArgumentException - Exception in org.apache.empire.exceptions
 
InvalidArgumentException(ErrorType, String[]) - Constructor for exception org.apache.empire.exceptions.InvalidArgumentException
 
InvalidArgumentException(String, Object) - Constructor for exception org.apache.empire.exceptions.InvalidArgumentException
 
InvalidArgumentException(String, Object[]) - Constructor for exception org.apache.empire.exceptions.InvalidArgumentException
 
InvalidKeyException - Exception in org.apache.empire.db.exceptions
 
InvalidKeyException(DBRowSet, Object[]) - Constructor for exception org.apache.empire.db.exceptions.InvalidKeyException
 
InvalidPropertyException - Exception in org.apache.empire.exceptions
 
InvalidPropertyException(String, Object, Exception) - Constructor for exception org.apache.empire.exceptions.InvalidPropertyException
 
InvalidPropertyException(String, Object) - Constructor for exception org.apache.empire.exceptions.InvalidPropertyException
 
InvalidValueException - Exception in org.apache.empire.exceptions
 
InvalidValueException(Object) - Constructor for exception org.apache.empire.exceptions.InvalidValueException
 
InvalidValueException(Object[]) - Constructor for exception org.apache.empire.exceptions.InvalidValueException
 
invokeSimpleMethod(Class<?>, Object, String, boolean) - Static method in class org.apache.empire.commons.ClassUtils
Invoke a simple method (without parameters) on an object using reflection
invokeSimpleMethod(Object, String) - Static method in class org.apache.empire.commons.ClassUtils
Invoke a simple method (without parameters) on an object using reflection
invokeSimplePrivateMethod(Object, String) - Static method in class org.apache.empire.commons.ClassUtils
Invoke a simple method (without parameters) on an object using reflection
is(Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new comparison object for the SQL "=" (equal) operator.
isActive() - Method in class org.apache.empire.commons.OptionEntry
 
isActive(Object) - Method in class org.apache.empire.commons.Options
 
isAggregate() - Method in class org.apache.empire.db.DBColumn
Always returns false since DBColumns cannot be aggregates.
isAggregate() - Method in class org.apache.empire.db.DBColumnExpr
Indicates whether this function is an aggregate (sum, min, max, avg, ...) or not
isAggregate - Variable in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
 
isAggregate() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
Returns whether the function is an aggegation function
that combines multiple rows to one result row.
isAggregate() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
Forward to expression
isAggregate() - Method in class org.apache.empire.db.expr.column.DBCalcExpr
Always returns false since CalcExpressions cannot be aggregates.
isAggregate() - Method in class org.apache.empire.db.expr.column.DBCaseExpr
 
isAggregate() - Method in class org.apache.empire.db.expr.column.DBCaseWhenExpr
 
isAggregate() - Method in class org.apache.empire.db.expr.column.DBCmdResultExpr
 
isAggregate() - Method in class org.apache.empire.db.expr.column.DBConcatExpr
Always returns false since a concat expression cannot be an aggregate.
isAggregate() - Method in class org.apache.empire.db.expr.column.DBCountExpr
Returns true since the count function is an aggregate function.
isAggregate() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
Forward to expression
isAggregate() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
Always returns false since value expressions cannot be an aggregate.
isAggregate() - Method in class org.apache.empire.db.expr.column.DBValueExpr
Always returns false since value expressions cannot be an aggregate.
isAggregate() - Method in class org.apache.empire.db.expr.column.DBVarArgsFuncExpr
 
isAggregate() - Method in enum org.apache.empire.dbms.DBSqlPhrase
 
isAggregate() - Method in class org.apache.empire.dbms.oracle.OracleRowNumExpr
Always returns false
isAggregate() - Method in class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
 
isAggregate() - Method in enum org.apache.empire.dbms.postgresql.PostgresSqlPhrase
 
isAssignmentCompatible(Class<?>, Class<?>) - Static method in class org.apache.empire.commons.ObjectUtils
Checks if a class is assignment compatible with another class
isAutoGenerated() - Method in class org.apache.empire.data.bean.BeanProperty
 
isAutoGenerated() - Method in interface org.apache.empire.data.Column
Returns whether or not the value for this column is auto-generated
isAutoGenerated() - Method in class org.apache.empire.db.DBColumn
Returns true if column is a columns value is an automatically generated value
isAutoGenerated() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
Not applicable - always returns false
isAutoGenerated() - Method in class org.apache.empire.db.DBQueryColumn
 
isAutoGenerated() - Method in class org.apache.empire.db.DBTableColumn
Returns true if column is a numeric sequence or otherwise generated value
isAutoGenerated() - Method in class org.apache.empire.db.DBView.DBViewColumn
 
isAutoPrepareStmt() - Method in class org.apache.empire.db.DBCommand
 
isBetween(Object, Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new comparison object for the SQL "between" operator.
isBoolean() - Method in enum org.apache.empire.data.DataType
Returns true if the data type is a boolean type
isCharBetween(char, char, char) - Static method in class org.apache.empire.commons.StringUtils
returns true if the character c is between the characters beg and end
isColumn(int, DBColumn...) - Method in class org.apache.empire.db.DBRecordBase
helper function to check if a given field index corresponds to one of the given columns
isColumnReadOnly(DBColumn) - Method in class org.apache.empire.db.DBRowSet
Checks whether a column is read only or writable.
isColumnRequired(ResultSet) - Method in class org.apache.empire.db.validation.DBModelParser
 
isCompatible(DataType) - Method in enum org.apache.empire.data.DataType
Returns whether or not two DataTypes are compatible
isCreateReverseFunction() - Method in class org.apache.empire.dbms.postgresql.PostgresDDLGenerator
Returns whether the reverse function should be created with the database
isDate() - Method in enum org.apache.empire.data.DataType
Returns true if the data type is a date based data type (date or datetime)
isDDLColumnDefaults() - Method in class org.apache.empire.db.DBDDLGenerator
 
isDescending() - Method in class org.apache.empire.db.expr.order.DBOrderByExpr
 
isEmpty(Object) - Static method in class org.apache.empire.commons.ObjectUtils
Checks whether an object has no value.
isEmpty() - Method in class org.apache.empire.commons.Options
 
isEmpty(String) - Static method in class org.apache.empire.commons.StringUtils
Checks if a string is empty
isEmpty() - Method in class org.apache.empire.db.DBCmdParamList
 
isEmpty() - Method in interface org.apache.empire.db.DBCmdParams
 
isEnum() - Method in class org.apache.empire.db.DBColumn
Returns true if an enum type has been set for this column
isExists() - Method in class org.apache.empire.db.DBRecordBase
Returns true if this record is a existing record (valid but not new).
isFieldReadOnly(Column) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
isFieldReadOnly(Column) - Method in interface org.apache.empire.data.Record
returns true if the field is read-only.
isFieldReadOnly(Column) - Method in class org.apache.empire.db.DBRecordBase
returns whether a field is read only or not
isFieldRequired(Column) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
isFieldRequired(Column) - Method in interface org.apache.empire.data.Record
returns true if the field is required.
isFieldRequired(Column) - Method in class org.apache.empire.db.DBRecordBase
returns whether a field is required or not
isFieldVisible(Column) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
isFieldVisible(Column) - Method in interface org.apache.empire.data.Record
returns true if the field is visible to the client.
isFieldVisible(Column) - Method in class org.apache.empire.db.DBRecordBase
returns whether a field is visible to the client or not May be overridden to implement context specific logic.
isGreaterThan(Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new comparison object for the SQL ">" (greater than) operator.
isIdentityColumn(ResultSet) - Method in class org.apache.empire.db.validation.DBModelParser
 
isIdentityColumn(ResultSet) - Method in class org.apache.empire.dbms.mysql.MySQLDBModelParser
 
isIdentityColumn(ResultSet) - Method in class org.apache.empire.dbms.sqlserver.MSSqlDBModelParser
 
isJoinOn(DBRowSet) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
returns true if this join is using the given table or view or false otherwise
isJoinOn(DBColumn) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
returns true if this join is using the given column or false otherwise
isJoinOn(DBRowSet) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
returns true if this join is using the given table or view or false otherwise
isJoinOn(DBColumn) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
returns true if this join is using the given column or false otherwise
isJoinOn(DBRowSet) - Method in class org.apache.empire.db.expr.join.DBJoinExpr
returns true if this join is using the given table or view or false otherwise
isJoinOn(DBColumn) - Method in class org.apache.empire.db.expr.join.DBJoinExpr
returns true if this join is using the given column or false otherwise
isKeyColumn(DBColumn) - Method in class org.apache.empire.db.DBRowSet
Checks whether a given column is part of the primary key for this RowSet
isLessOrEqual(Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new comparison object for the SQL "<=" (less or equal) operator.
isLower(char) - Static method in class org.apache.empire.commons.StringUtils
returns true if the character c is an upper case character ('a'-'z')
isLower(String, int) - Static method in class org.apache.empire.commons.StringUtils
returns true if the first count characters of s are all lower case (or other non-case sensitive characters)
isModified() - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
isModified() - Method in interface org.apache.empire.data.Record
returns true if the record has been modified.
isModified() - Method in class org.apache.empire.db.DBRecordBase
Returns true if the record is modified.
isMoreOrEqual(Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new comparison object for the SQL ">=" (greater or equal) operator.
isMutuallyExclusive(DBCompareExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
Returns whether the constraint should replace another one or not.
isMutuallyExclusive(DBCompareExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
Returns whether the constraint should replace another one or not.
isMutuallyExclusive(DBCompareExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareExpr
 
isMutuallyExclusive(DBCompareExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareNotExpr
Returns whether the constraint should replace another one or not.
isMutuallyExclusive(DBCompareExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
 
isMutuallyExclusive(DBCompareExpr) - Method in class org.apache.empire.db.expr.compare.DBExistsExpr
Returns wheter the constraint should replace another one or not.
isMutuallyExclusive(DBCompareExpr) - Method in class org.apache.empire.dbms.postgresql.PostgresAtAt
 
isNew() - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
isNew() - Method in interface org.apache.empire.data.Record
returns true if this record is a new record.
isNew() - Method in class org.apache.empire.db.DBRecordBase
Returns true if this record is a new record.
isNonZero(Number) - Static method in class org.apache.empire.commons.ObjectUtils
Checks whether a number is NOT null or zero
isNot(Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new comparison object for the SQL "<>" (not equal) operator.
isNotBetween(Object, Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new comparison object for the SQL "not between" operator.
isNotEmpty(Object) - Static method in class org.apache.empire.commons.ObjectUtils
Checks whether an object has a value.
isNotEmpty(String) - Static method in class org.apache.empire.commons.StringUtils
Checks if a string is not null or empty
isNull(ColumnExpr) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
isNull(int) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
isNull(int) - Method in class org.apache.empire.data.list.DataListEntry
 
isNull(ColumnExpr) - Method in class org.apache.empire.data.list.DataListEntry
 
isNull(int) - Method in interface org.apache.empire.data.RecordData
checks if the field at the given index position contains no value (null) Indexed operations provide better performance for bulk processing compared to isNull(ColumnExpr)
isNull(ColumnExpr) - Method in interface org.apache.empire.data.RecordData
checks if the record contains no value (null) for the given column
isNull(int) - Method in class org.apache.empire.db.DBReader
Checks wehter a column value is null Unlike the base class implementation, this class directly check the value fromt the resultset.
isNull(int) - Method in class org.apache.empire.db.DBRecordData
Checks whether or not the value for the given column is null.
isNull(ColumnExpr) - Method in class org.apache.empire.db.DBRecordData
Checks whether or not the value for the given column is null.
isNumber(char) - Static method in class org.apache.empire.commons.StringUtils
returns true if the character c is a number digit ('0'-'9')
isNumber(String) - Static method in class org.apache.empire.commons.StringUtils
returns true if the string s is a number (contains only the characters 0 to 9)
isNumeric(char, boolean) - Static method in class org.apache.empire.commons.StringUtils
returns true if the character c is a numeric digit ('+' || '-' || '.' || ',' || '0'-'9')
isNumeric(String, boolean) - Static method in class org.apache.empire.commons.StringUtils
returns true if the string s contains only numeric digits ('+' || '-' || '.' || ',' || '0'-'9')
isNumeric() - Method in enum org.apache.empire.data.DataType
Returns true if the data type is a numeric data type (integer, decimal, float)
isOpen() - Method in class org.apache.empire.db.DBDatabase
Indicates whether the database has been opened.
isOpen() - Method in class org.apache.empire.db.DBReader
Checks if the rowset is open
isOr() - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
 
isOracle8Compatibilty() - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
 
isPreparedStatementsEnabled() - Method in class org.apache.empire.db.context.DBContextBase
returns whether DBCommmand should automatically create a prepared statement with command params (?)
isPreparedStatementsEnabled() - Method in class org.apache.empire.db.context.DBContextStatic
 
isPreparedStatementsEnabled() - Method in class org.apache.empire.db.DBCommand
returns true if prepared statements are enabled for this command
isPreparedStatementsEnabled() - Method in class org.apache.empire.db.DBDatabase
Returns whether Prepared Statements are enabled for the read and update operations in DBRecord.
isProperty(Node) - Method in class org.apache.empire.xml.XMLConfiguration
 
isPropertyAcessible(Method[], String, DataType) - Method in class org.apache.empire.data.bean.BeanResult
Checks if the property is accessible i.e. has a getter method on the beanType
isReadOnly() - Method in class org.apache.empire.data.bean.BeanProperty
 
isReadOnly() - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
isReadOnly() - Method in interface org.apache.empire.data.Column
Returns true if the values for this column are generally read only (like i.e. for sequence generated values).
isReadOnly() - Method in interface org.apache.empire.data.Record
returns true if this record is readOnly.
isReadOnly() - Method in class org.apache.empire.db.DBColumn
Returns true if the column is read-only.
isReadOnly() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
Not applicable - always returns true
isReadOnly() - Method in class org.apache.empire.db.DBQueryColumn
 
isReadOnly() - Method in class org.apache.empire.db.DBRecordBase
Returns true if the record is valid.
isReadOnly() - Method in class org.apache.empire.db.DBTableColumn
Checks whether the column is read only.
isReadOnly() - Method in class org.apache.empire.db.DBView.DBViewColumn
 
isRequired() - Method in class org.apache.empire.data.bean.BeanProperty
 
isRequired() - Method in interface org.apache.empire.data.Column
Returns whether or not the value for this column must be supplied (i.e. it is mandatory) or not.
isRequired() - Method in class org.apache.empire.db.DBColumn
Returns true if the column is required.
isRequired() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
Checks whether the column is mandatory.
isRequired() - Method in class org.apache.empire.db.DBQueryColumn
 
isRequired() - Method in class org.apache.empire.db.DBTableColumn
Returns true if column is mandatory.
isRequired() - Method in class org.apache.empire.db.DBView.DBViewColumn
 
isRollbackHandlingEnabled() - Method in class org.apache.empire.db.context.DBContextStatic
 
isRollbackHandlingEnabled() - Method in interface org.apache.empire.db.DBContext
 
isRollbackHandlingEnabled() - Method in class org.apache.empire.db.DBRecord
Returns whether or not RollbackHandling is enabled for this record
isRollbackHandlingEnabled() - Method in class org.apache.empire.db.DBRecordBase
Returns whether or not RollbackHandling is enabled for this record
isRollbackHandlingEnabled() - Method in class org.apache.empire.db.DBRecordBean
Returns whether or not RollbackHandling is enabled for this record
isSame(DBRecordBase) - Method in class org.apache.empire.db.DBRecordBase
Compares the record to another one
isSame(DBRowSet) - Method in class org.apache.empire.db.DBRowSet
Compares the rowset to another one
isSelectDistinct() - Method in class org.apache.empire.db.DBCommand
Returns whether or not the select statement will be distinct or not.
isSingleByteChars() - Method in class org.apache.empire.db.DBTableColumn
Returns true if column the column is a single byte text or character column or false otherwise
isSmallerThan(Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new comparison object for the SQL "<" (less than) operator.
isSupported(DBMSFeature) - Method in interface org.apache.empire.dbms.DBMSHandler
Returns whether or not a particular feature is supported by this dbms
isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Returns whether or not a particular feature is supported by this dbms
isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
Returns whether or not a particular feature is supported by this dbms
isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
Returns whether or not a particular feature is supported by this dmbs
isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.hsql.DBMSHandlerHSql
Returns whether or not a particular feature is supported by this dbms
isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
Returns whether or not a particular feature is supported by this dbms
isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
Returns whether or not a particular feature is supported by this dbms
isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
Returns whether or not a particular feature is supported by this dbms
isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite
Returns whether or not a particular feature is supported by this dbms
isSupported(DBMSFeature) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
Returns whether or not a particular feature is supported by this dbms
isSystemTable(String, ResultSet) - Method in class org.apache.empire.db.validation.DBModelParser
Checks if the tableName belongs to a system or hidden table
isText() - Method in enum org.apache.empire.data.DataType
Returns true if the data type is a text based data type (char, text or clob)
isTimestampColumn(ResultSet) - Method in class org.apache.empire.db.validation.DBModelParser
 
isTimestampColumn(ResultSet) - Method in class org.apache.empire.dbms.mysql.MySQLDBModelParser
 
isUnique() - Method in enum org.apache.empire.db.DBIndex.DBIndexType
 
isUpdateable() - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
Not applicable - returns false
isUpdateable() - Method in class org.apache.empire.db.DBQuery
Returns whether or not the table supports record updates.
isUpdateable() - Method in class org.apache.empire.db.DBRowSet
 
isUpdateable() - Method in class org.apache.empire.db.DBTable
Returns whether or not the table supports record updates.
isUpdateable() - Method in class org.apache.empire.db.DBView
Returns whether or not the view is updateable
isUpper(char) - Static method in class org.apache.empire.commons.StringUtils
returns true if the character c is an upper case character ('A'-'Z')
isUpper(String, int) - Static method in class org.apache.empire.commons.StringUtils
returns true if the first count characters of s are all upper case (or other non-case sensitive characters)
isUseDateTime2() - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
returns whether the DATETIME2 datatype is used for timestamps (instead of DATETIME)
isUsePostgresSerialType() - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
Returns whether or not the Postgres Serial Type is used for Identity columns
isUseSequenceTable() - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
returns whether a sequence table is used for record identiy management.
isUseSequenceTable() - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
returns whether a sequence table is used for record identiy management.
isUseSequenceTable() - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
returns whether a sequence table is used for record identity management.
isUseSequenceTable() - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
returns whether a sequence table is used for record identiy management.
isUseUnicodePrefix() - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
Indicates whether or not a Unicode Prefix (N) is prepended to all text values
isValid() - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
isValid() - Method in interface org.apache.empire.data.Record
returns true if the record is valid.
isValid() - Method in class org.apache.empire.db.DBCombinedCmd
 
isValid() - Method in class org.apache.empire.db.DBCommand
Returns true if the this command has either Select or Set expressions
isValid() - Method in class org.apache.empire.db.DBCommandExpr
 
isValid() - Method in class org.apache.empire.db.DBRecordBase
Returns true if the record is valid.
isValidateFieldValues() - Method in class org.apache.empire.db.DBRecordBase
Returns whether or not values are checked for validity when calling setValue().
isValueValid(int) - Method in class org.apache.empire.db.DBRecordBase
Returns whether a field value is provided i.e. the value is not DBRowSet.NO_VALUE
This function is only useful in cases where records are partially loaded.
isWrapper(Object) - Static method in class org.apache.empire.commons.ObjectUtils
Checks whether a object implements the Unwrappable interface and is also a wrapper If the object does not Implement the Interface or is not a wrapper then false is returned
isWrapper() - Method in interface org.apache.empire.commons.Unwrappable
Returns true if the object is a wrapper for another object
isWrapper() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
Indicates that we are actually an expression wrapper
isWrapper() - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
This is a transparent wrapper
isWrapper() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
Indicates that we are actually an expression wrapper
isWrapper() - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
 
isZero(Number) - Static method in class org.apache.empire.commons.ObjectUtils
Checks whether a number is null or zero
ItemExistsException - Exception in org.apache.empire.exceptions
 
ItemExistsException(Object) - Constructor for exception org.apache.empire.exceptions.ItemExistsException
 
itemNotFound(DBObject) - Method in interface org.apache.empire.db.validation.DBModelErrorHandler
This method is called when an object (e. g. table or column) is missing in the database.
itemNotFound(DBObject) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
handle itemNotFound errors
ItemNotFoundException - Exception in org.apache.empire.exceptions
 
ItemNotFoundException(Object) - Constructor for exception org.apache.empire.exceptions.ItemNotFoundException
 
iterator() - Method in class org.apache.empire.commons.Attributes
 
iterator() - Method in class org.apache.empire.commons.Options
 
iterator() - Method in class org.apache.empire.db.DBCmdParamList
 
iterator(int) - Method in class org.apache.empire.db.DBReader
Returns an row iterator for this reader.
iterator() - Method in class org.apache.empire.db.DBReader
Returns an row iterator for this reader.
iterator() - Method in class org.apache.empire.db.DBSQLScript
Returns an iterator

J

join(DBJoinExpr) - Method in class org.apache.empire.db.DBCommand
Adds a join to the list of join expressions.
join(DBColumnExpr, DBColumn, DBCompareExpr...) - Method in class org.apache.empire.db.DBCommand
Adds an inner join based on two columns to the list of join expressions.
join(DBColumnExpr, DBColumn, DBJoinType, DBCompareExpr...) - Method in class org.apache.empire.db.DBCommand
Adds a join based on two columns to the list of join expressions.
join(DBColumn[], DBColumn[], DBJoinType, DBCompareExpr...) - Method in class org.apache.empire.db.DBCommand
Multi-Column version of column based join expression
join(DBRowSet, DBRowSet) - Method in class org.apache.empire.db.DBCommand
Adds a cross join for two tables or views New in release 3.1: Use left.on(right)) instead
join(DBRowSet, DBCompareExpr, DBJoinType) - Method in class org.apache.empire.db.DBCommand
Adds a join based on a compare expression to the command.
join(DBRowSet, DBCompareExpr) - Method in class org.apache.empire.db.DBCommand
Adds an inner join based on a compare expression to the command.
join(DBJoinExpr) - Method in class org.apache.empire.dbms.sqlite.DBMSHandlerSQLite.DBCommandSQLite
 
joinLeft(DBJoinExpr) - Method in class org.apache.empire.db.DBCommand
Adds a left join to the list of join expressions.
joinLeft(DBColumnExpr, DBColumn, DBCompareExpr...) - Method in class org.apache.empire.db.DBCommand
Adds a left join based on two columns to the list of join expressions.
joinRight(DBJoinExpr) - Method in class org.apache.empire.db.DBCommand
Adds a left join to the list of join expressions.
joinRight(DBColumnExpr, DBColumn, DBCompareExpr...) - Method in class org.apache.empire.db.DBCommand
Adds a right join based on two columns to the list of join expressions.
joins - Variable in class org.apache.empire.db.DBCommand
 

K

key(Object...) - Static method in interface org.apache.empire.data.Record
varArgs to Array
key(Object...) - Static method in class org.apache.empire.db.DBRecord
varArgs to Array
key(Object...) - Static method in class org.apache.empire.db.DBRecordBean
varArgs to Array
key(DBColumn...) - Static method in class org.apache.empire.db.DBRowSet
varArgs to Array
keyColumns - Variable in class org.apache.empire.data.bean.BeanRecordProxy
 
keyColumns - Variable in class org.apache.empire.db.DBQuery
 
keyToString(Object[]) - Static method in exception org.apache.empire.db.exceptions.RecordException
 
keyWord - Variable in class org.apache.empire.db.DBCombinedCmd
 

L

left - Variable in class org.apache.empire.db.DBCombinedCmd
 
left - Variable in class org.apache.empire.db.expr.column.DBConcatExpr
 
left - Variable in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
 
left - Variable in class org.apache.empire.db.expr.join.DBColumnJoinExpr
 
left - Variable in class org.apache.empire.db.expr.join.DBCrossJoinExpr
 
legacyDate - Variable in class org.apache.empire.db.DBDatabase
Flag indicating whether Bean getters / setters use java.util.Date or Java types (LocalDate, LocalDateTime) True (default) when java.util.Date is used
length() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a sql-expression that returns the string length of this expression.
length() - Method in class org.apache.empire.db.DBSQLBuilder
 
lengthOf(Object) - Static method in class org.apache.empire.commons.ObjectUtils
returns the string length of an object
like(Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new comparison object for the SQL "like" operator.
like(String, char) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new comparison object for the SQL "like" operator.
likeLower(String) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new comparison object for the SQL "like" operator.
likeUpper(String) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new comparison object for the SQL "like" operator.
limit - Variable in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBCommandMySQL
 
limit - Variable in class org.apache.empire.dbms.postgresql.DBCommandPostgres
 
limit - Variable in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBCommandMSSQL
 
limitRows(int) - Method in class org.apache.empire.db.DBCommand
Overridden to change return type from DBCommandExpr to DBCommand
limitRows(int) - Method in class org.apache.empire.db.DBCommandExpr
set the maximum number of rows to return when executing a query command A negative value will remove the limit.
limitRows - Variable in class org.apache.empire.dbms.h2.DBMSHandlerH2.DBCommandH2
 
limitRows(int) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2.DBCommandH2
 
limitRows - Variable in class org.apache.empire.dbms.hsql.DBCommandHSql
 
limitRows(int) - Method in class org.apache.empire.dbms.hsql.DBCommandHSql
 
limitRows(int) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBCommandMySQL
 
limitRows - Variable in class org.apache.empire.dbms.oracle.DBCommandOracle
 
limitRows(int) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
 
limitRows(int) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
 
limitRows(int) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL.DBCommandMSSQL
 
list() - Method in class org.apache.empire.commons.Attributes
 
log - Static variable in class org.apache.empire.data.bean.BeanRecordProxy
 
log - Static variable in class org.apache.empire.db.DBCmdParamList
 
log - Static variable in class org.apache.empire.db.DBCommand
 
log - Static variable in class org.apache.empire.db.DBReader
 
log - Static variable in class org.apache.empire.db.DBRowSet
 
log - Static variable in class org.apache.empire.db.DBUtils
 
log() - Method in exception org.apache.empire.db.exceptions.ConstraintViolationException
log the error
log() - Method in exception org.apache.empire.db.exceptions.QueryFailedException
log the error
log() - Method in exception org.apache.empire.db.exceptions.StatementFailedException
log the error
log - Static variable in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
 
log - Static variable in class org.apache.empire.db.expr.column.DBScalarExpr
 
log - Static variable in class org.apache.empire.db.list.DBBeanFactoryCache
 
log - Static variable in class org.apache.empire.db.list.DBRecordListFactoryImpl
 
log - Static variable in class org.apache.empire.db.validation.DBModelParser
 
log - Static variable in class org.apache.empire.dbms.oracle.OracleDataDictionnary
 
log() - Method in exception org.apache.empire.exceptions.BeanInstantiationException
log the error
log() - Method in exception org.apache.empire.exceptions.BeanPropertyGetException
log the error
log() - Method in exception org.apache.empire.exceptions.BeanPropertySetException
log the error
log() - Method in exception org.apache.empire.exceptions.EmpireException
log the error (info must be enabled)
log - Static variable in class org.apache.empire.xml.XMLUtil
 
log - Static variable in class org.apache.empire.xml.XMLWriter
 
LOG_MAX_STRING_LENGTH - Variable in class org.apache.empire.db.DBUtils
 
LOG_NEW_LINE - Variable in class org.apache.empire.db.DBUtils
 
logError(String, Object...) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
 
logQueryStatement(String, Object[]) - Method in class org.apache.empire.db.DBUtils
Log Query Statement
logUpdateStatement(String, Object[]) - Method in class org.apache.empire.db.DBUtils
Log Update Statement
logWarn(String, Object...) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
 
longRunndingStmtThreshold - Variable in class org.apache.empire.db.DBUtils
 
lower() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a function object which converts the current expression to lower case.

M

max() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an aggregation function object which returns the maximum value for the current expression over a group of rows.
MAX_QUERY_ROWS - Variable in class org.apache.empire.db.DBUtils
 
maxCount - Variable in class org.apache.empire.db.DBReader.DBReaderIterator
 
mergeSubqueryParams(DBCmdParams) - Method in class org.apache.empire.db.DBCmdParamList
Used to merge CmdParams from a subquery with the current command params list
messageFromSQLException(DBMSHandler, SQLException) - Static method in exception org.apache.empire.db.exceptions.EmpireSQLException
 
MILLIS_IN_DAY - Static variable in class org.apache.empire.commons.DateUtils
 
min() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an aggregation function object which returns the minimum value for the current expression over a group of rows.
minus(Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new calculation object for the SQL "-" (minus) operator.
minus(int) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new calculation object for either the SQL "+" (plus) or "-" (minus) operator depending on whether the supplied integer value is negative or positive.
MiscellaneousErrorException - Exception in org.apache.empire.exceptions
Deprecated.
use UnspecifiedErrorException
MiscellaneousErrorException(String) - Constructor for exception org.apache.empire.exceptions.MiscellaneousErrorException
Deprecated.
 
modelParser - Variable in class org.apache.empire.db.validation.DBModelChecker
 
modified - Variable in class org.apache.empire.data.bean.BeanRecordProxy
 
modifyValue(ColumnExpr, Object) - Method in class org.apache.empire.data.list.DataListEntry
 
modifyValue(int, Object, boolean) - Method in class org.apache.empire.db.DBRecordBase
Modifies a column value bypassing all checks made by setValue.
modulo(Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates a sql-expression for the modulo or mod() function.
month() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an function object that calculates the month of a date value.
moveNext() - Method in class org.apache.empire.db.DBReader
Moves the cursor down one row from its current position.
MSSQL_SQL_KEYWORDS - Static variable in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
 
MSSqlDBModelParser - Class in org.apache.empire.dbms.sqlserver
MSSqlDBModelChecker DataModel checker implementation for Microsoft SQLServer
MSSqlDBModelParser(String, String) - Constructor for class org.apache.empire.dbms.sqlserver.MSSqlDBModelParser
create a MSSqlDBModelChecker
MSSqlDDLGenerator - Class in org.apache.empire.dbms.sqlserver
 
MSSqlDDLGenerator(DBMSHandlerMSSQL) - Constructor for class org.apache.empire.dbms.sqlserver.MSSqlDDLGenerator
 
multiplyWith(Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new calculation object for the SQL "*" (multiply) operator.
MySQLDBModelParser - Class in org.apache.empire.dbms.mysql
 
MySQLDBModelParser(String, String) - Constructor for class org.apache.empire.dbms.mysql.MySQLDBModelParser
 
MySQLDDLGenerator - Class in org.apache.empire.dbms.mysql
 
MySQLDDLGenerator(DBMSHandlerMySQL) - Constructor for class org.apache.empire.dbms.mysql.MySQLDDLGenerator
 

N

name - Variable in class org.apache.empire.db.DBColumn
 
namePrimaryKeyConstraint - Variable in class org.apache.empire.db.DBDDLGenerator
 
newCommand() - Method in class org.apache.empire.db.DBView
Use this to create a new View command inside the createCommand() method!
newEntry(int, RecordData) - Method in interface org.apache.empire.data.list.DataListFactory
 
newEntry(int, RecordData) - Method in class org.apache.empire.data.list.DataListFactoryImpl
 
newEntry(int, Object[]) - Method in class org.apache.empire.data.list.DataListFactoryImpl
 
newItem(int, DBRecordData) - Method in interface org.apache.empire.db.list.DBBeanListFactory
 
newItem(int, DBRecordData) - Method in class org.apache.empire.db.list.DBBeanListFactoryImpl
 
newList(int) - Method in interface org.apache.empire.data.list.DataListFactory
 
newList(int) - Method in class org.apache.empire.data.list.DataListFactoryImpl
 
newList(int) - Method in interface org.apache.empire.db.list.DBBeanListFactory
 
newList(int) - Method in class org.apache.empire.db.list.DBBeanListFactoryImpl
 
newList(int) - Method in interface org.apache.empire.db.list.DBRecordListFactory
 
newList(int) - Method in class org.apache.empire.db.list.DBRecordListFactoryImpl
 
newRecord(int, DBRecordData) - Method in interface org.apache.empire.db.list.DBRecordListFactory
 
newRecord(int, DBRecordData) - Method in class org.apache.empire.db.list.DBRecordListFactoryImpl
 
next() - Method in class org.apache.empire.db.DBReader.DBReaderForwardIterator
Implements the Iterator Interface.
next() - Method in class org.apache.empire.db.DBReader.DBReaderScrollableIterator
Implements the Iterator Interface.
NO_VALUE - Static variable in class org.apache.empire.commons.ObjectUtils
Constant that defines a object of type NoValue.
NoPrimaryKeyException - Exception in org.apache.empire.db.exceptions
 
NoPrimaryKeyException(DBRowSet) - Constructor for exception org.apache.empire.db.exceptions.NoPrimaryKeyException
 
NoPrimaryKeyException(EntityType) - Constructor for exception org.apache.empire.db.exceptions.NoPrimaryKeyException
 
normalize(String) - Method in class org.apache.empire.xml.XMLWriter
Converts a string to valid XML-Syntax replacing XML entities.
normalize(String, boolean) - Static method in class org.apache.empire.xml.XMLWriter
 
not() - Method in class org.apache.empire.db.expr.compare.DBCompareExpr
Creates a sql-expression for the not() function.
notContains(String, String) - Static method in class org.apache.empire.commons.StringUtils
Returns true if the given substring is part of the string provided by value
notifyParamUsage(DBCmdParam) - Method in class org.apache.empire.db.DBCmdParamList
internally used to reorder the command params to match their order of occurance
NotImplementedException - Exception in org.apache.empire.exceptions
 
NotImplementedException(Class<?>, String) - Constructor for exception org.apache.empire.exceptions.NotImplementedException
 
NotImplementedException(Object, String) - Constructor for exception org.apache.empire.exceptions.NotImplementedException
 
notIn(Collection<?>) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an expression for the SQL "not in" operator.
notIn(T...) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an expression for the SQL "not in" operator.
notIn(DBExpr) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an expression for the SQL "not in" operator.
notInRangeErrorType - Static variable in exception org.apache.empire.db.exceptions.FieldValueOutOfRangeException
 
notLike(Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new comparison object for the SQL "not like" operator.
NotSupportedException - Exception in org.apache.empire.exceptions
 
NotSupportedException(Object, String, Exception) - Constructor for exception org.apache.empire.exceptions.NotSupportedException
 
NotSupportedException(Object, String) - Constructor for exception org.apache.empire.exceptions.NotSupportedException
 
nullIf(String, char) - Static method in class org.apache.empire.commons.StringUtils
Returns null if the string supplied is null, an empty String or a specific character
nullIfEmpty(Object) - Static method in class org.apache.empire.commons.StringUtils
Returns null if the value supplied is null or an empty String.
nvl(Object) - Method in class org.apache.empire.db.DBColumnExpr
Deprecated.
Outdated oracle syntax - use coalesce instead

O

ObjectNotValidException - Exception in org.apache.empire.exceptions
 
ObjectNotValidException(Class<?>, String) - Constructor for exception org.apache.empire.exceptions.ObjectNotValidException
 
ObjectNotValidException(Object, String) - Constructor for exception org.apache.empire.exceptions.ObjectNotValidException
 
ObjectNotValidException(Object) - Constructor for exception org.apache.empire.exceptions.ObjectNotValidException
 
objectTypeMismatch(DBObject, String, Class<?>) - Method in interface org.apache.empire.db.validation.DBModelErrorHandler
This method is called when an object (e. g. table or column) is missing in the database.
objectTypeMismatch(DBObject, String, Class<?>) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
handle objectTypeMismatch errors
ObjectUtils - Class in org.apache.empire.commons
This class contains common functions for comparing and converting values of type Object.
on(DBColumnExpr) - Method in class org.apache.empire.db.DBColumnExpr
create a join expression for DBCommand.join()
on(DBCompareExpr) - Method in class org.apache.empire.db.DBRowSet
Creates a join expression based on a compare expression
on(DBRowSet) - Method in class org.apache.empire.db.DBRowSet
Creates a cross join expression
onDeleteCascade() - Method in class org.apache.empire.db.DBRelation
short for setOnDeleteAction(DBCascadeAction.CASCADE); See DBCascadeAction enum for details.
onDeleteCascadeRecords() - Method in class org.apache.empire.db.DBRelation
short for setOnDeleteAction(DBCascadeAction.CASCADE); See DBCascadeAction enum for details.
onFieldChanged(int) - Method in class org.apache.empire.db.DBRecordBase
Override this to get notified when a field value changes
onRecordChanged() - Method in class org.apache.empire.db.DBRecordBase
Override this to do extra handling when the record changes
open(DBContext) - Method in class org.apache.empire.db.DBDatabase
Attaches the Database to the DBMS Handler provided with the context and allows the Database and the Handler to perform initialization tasks
open(DBCommandExpr, boolean) - Method in class org.apache.empire.db.DBReader
Opens the reader by executing the given SQL command.
open(DBCommandExpr) - Method in class org.apache.empire.db.DBReader
Opens the reader by executing the given SQL command.
optimizerHint - Variable in class org.apache.empire.dbms.oracle.DBCommandOracle
 
OptionEntry - Class in org.apache.empire.commons
This class defines one possible value of a field and it's description
This class is used by the Options class to implement a set of options where the option value us used as the key for the set.
OptionEntry(Object, String, boolean) - Constructor for class org.apache.empire.commons.OptionEntry
 
OptionEntry(Object, String) - Constructor for class org.apache.empire.commons.OptionEntry
 
Options - Class in org.apache.empire.commons
This class represents a list of possible values that are valid for a particular field.
Options() - Constructor for class org.apache.empire.commons.Options
 
Options(Options) - Constructor for class org.apache.empire.commons.Options
 
Options(OptionEntry[]) - Constructor for class org.apache.empire.commons.Options
 
Options(Class<?>) - Constructor for class org.apache.empire.commons.Options
 
options - Variable in class org.apache.empire.db.DBColumnExpr
 
Options.InsertPos - Enum in org.apache.empire.commons
 
or - Variable in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
 
or(DBCompareExpr) - Method in class org.apache.empire.db.expr.compare.DBCompareExpr
Create a new DBCompareAndOrExpr object.
OracleDataDictionnary - Class in org.apache.empire.dbms.oracle
 
OracleDataDictionnary() - Constructor for class org.apache.empire.dbms.oracle.OracleDataDictionnary
Defines mapping of the Empire-db data types with the oracle data types.
OracleDataDictionnary.ColumnInfo - Class in org.apache.empire.dbms.oracle
Immutable column info helper class
OracleDBModelChecker - Class in org.apache.empire.dbms.oracle
This implementation is used to check Oracle Databases
OracleDBModelChecker(OracleDBModelParser, DBMSHandlerOracle.BooleanType) - Constructor for class org.apache.empire.dbms.oracle.OracleDBModelChecker
 
OracleDBModelParser - Class in org.apache.empire.dbms.oracle
 
OracleDBModelParser(String) - Constructor for class org.apache.empire.dbms.oracle.OracleDBModelParser
 
OracleDDLGenerator - Class in org.apache.empire.dbms.oracle
 
OracleDDLGenerator(DBMSHandlerOracle) - Constructor for class org.apache.empire.dbms.oracle.OracleDDLGenerator
 
OracleRowNumExpr - Class in org.apache.empire.dbms.oracle
implements a column expression for the Oracle rownum function
OracleRowNumExpr(DBDatabase) - Constructor for class org.apache.empire.dbms.oracle.OracleRowNumExpr
Constructs a new OracleRowNumExpr object.
OracleSYSDatabase - Class in org.apache.empire.dbms.oracle
Represents the data model of the system tables.
OracleSYSDatabase(DBMSHandlerOracle) - Constructor for class org.apache.empire.dbms.oracle.OracleSYSDatabase
 
OracleSYSDatabase.DBColComments - Class in org.apache.empire.dbms.oracle
 
OracleSYSDatabase.DBColInfo - Class in org.apache.empire.dbms.oracle
 
OracleSYSDatabase.DBConstraints - Class in org.apache.empire.dbms.oracle
 
OracleSYSDatabase.DBTabComments - Class in org.apache.empire.dbms.oracle
 
OracleSYSDatabase.DBUserConCol - Class in org.apache.empire.dbms.oracle
 
orderBy(DBOrderByExpr...) - Method in class org.apache.empire.db.DBCombinedCmd
 
orderBy(DBOrderByExpr...) - Method in class org.apache.empire.db.DBCommand
Overridden to change return type from DBCommandExpr to DBCommand
orderBy(DBColumnExpr...) - Method in class org.apache.empire.db.DBCommand
Overridden to change return type from DBCommandExpr to DBCommand
orderBy(DBColumnExpr, boolean) - Method in class org.apache.empire.db.DBCommand
Overridden to change return type from DBCommandExpr to DBCommand
orderBy - Variable in class org.apache.empire.db.DBCommandExpr
 
orderBy(DBOrderByExpr...) - Method in class org.apache.empire.db.DBCommandExpr
Adds an order by expression the command
orderBy(DBColumnExpr...) - Method in class org.apache.empire.db.DBCommandExpr
Adds a list of columns to the orderBy clause in ascending order
orderBy(DBColumnExpr, boolean) - Method in class org.apache.empire.db.DBCommandExpr
Adds an order by with ascending or descending order
org.apache.empire.commons - package org.apache.empire.commons
This package contains various common classes for error handling, specific data types and data type conversion.
org.apache.empire.data - package org.apache.empire.data
This package contains interfaces for data and metadata handling.
org.apache.empire.data.bean - package org.apache.empire.data.bean
This package contains implmentations of Empire's data and metadata interfaces for JavaBeans of Data Tranfer Objects (DTO's).
org.apache.empire.data.list - package org.apache.empire.data.list
 
org.apache.empire.db - package org.apache.empire.db
This package contains the core Empire-DB implementation classes.
org.apache.empire.db.context - package org.apache.empire.db.context
 
org.apache.empire.db.exceptions - package org.apache.empire.db.exceptions
This package contains classes for exception handling of database related errors.
org.apache.empire.db.expr.column - package org.apache.empire.db.expr.column
This package contains SQL-generator classes for column expressions.
org.apache.empire.db.expr.compare - package org.apache.empire.db.expr.compare
This package contains SQL-generator classes for compare expressions used in the where and having clause.
org.apache.empire.db.expr.join - package org.apache.empire.db.expr.join
This package contains SQL-generator classes for join expressions used in the from clause.
org.apache.empire.db.expr.order - package org.apache.empire.db.expr.order
 
org.apache.empire.db.expr.set - package org.apache.empire.db.expr.set
This package contains SQL-generator classes for set expressions used in the set clause.
org.apache.empire.db.generic - package org.apache.empire.db.generic
 
org.apache.empire.db.list - package org.apache.empire.db.list
 
org.apache.empire.db.validation - package org.apache.empire.db.validation
 
org.apache.empire.dbms - package org.apache.empire.dbms
 
org.apache.empire.dbms.derby - package org.apache.empire.dbms.derby
This package contains classes necessary to support the Apache Derby database system.
org.apache.empire.dbms.h2 - package org.apache.empire.dbms.h2
This package contains classes necessary to support the H2 database system.
org.apache.empire.dbms.hsql - package org.apache.empire.dbms.hsql
This package contains classes necessary to support the HSQLDB database system.
org.apache.empire.dbms.mysql - package org.apache.empire.dbms.mysql
This package contains classes necessary to support the MySQL database system.
org.apache.empire.dbms.oracle - package org.apache.empire.dbms.oracle
This package contains classes necessary to support the Oracle database system.
org.apache.empire.dbms.postgresql - package org.apache.empire.dbms.postgresql
This package contains classes necessary to support the PostgreSQL database system.
org.apache.empire.dbms.sqlite - package org.apache.empire.dbms.sqlite
 
org.apache.empire.dbms.sqlserver - package org.apache.empire.dbms.sqlserver
This package contains classes necessary to support the Microsoft SQL-Server database system.
org.apache.empire.exceptions - package org.apache.empire.exceptions
This package contains classes for exception handling of general errors.
org.apache.empire.xml - package org.apache.empire.xml
This package contains classes for XML generation and configuration.
out - Variable in class org.apache.empire.xml.XMLWriter
Print writer.
outOfRangeErrorType - Static variable in exception org.apache.empire.db.exceptions.FieldValueOutOfRangeException
 

P

parameterTypes - Variable in class org.apache.empire.db.list.DBBeanListFactoryImpl
 
params - Variable in class org.apache.empire.db.expr.column.DBFuncExpr
 
params - Variable in class org.apache.empire.db.expr.column.DBScalarExpr
 
params - Variable in class org.apache.empire.dbms.postgresql.PostgresFuncExpr
 
paramsToString(Object[]) - Method in class org.apache.empire.db.DBUtils
Get all parameters as string (for logging only)
paramValueToString(Object) - Method in class org.apache.empire.db.DBUtils
Get single parameter as string (for logging only)
parenthesis() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a function object which encloses the current expression in parenthesis.
parenthesis() - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
wraps the current expression with parenthesis.
parentTables - Variable in class org.apache.empire.db.DBCommand
 
parseDate(String, Locale) - Static method in class org.apache.empire.commons.DateUtils
 
parseLocalDate(String) - Static method in class org.apache.empire.commons.DateUtils
 
parseLocalDate(String, DateTimeFormatter) - Static method in class org.apache.empire.commons.DateUtils
 
parseLocalDateTime(String) - Static method in class org.apache.empire.commons.DateUtils
 
parseLocalDateTime(String, DateTimeFormatter) - Static method in class org.apache.empire.commons.DateUtils
 
parseModel(Connection) - Method in class org.apache.empire.db.validation.DBModelParser
This method is used to parse the populate the remote database
pgAge(DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
See https://www.postgresql.org/docs/current/functions-datetime.html
pgAge(DBColumnExpr, DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
See https://www.postgresql.org/docs/current/functions-datetime.html
pgBoolAnd(DBCompareExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
See https://www.postgresql.org/docs/current/textsearch-controls.html
pgBoolOr(DBCompareExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
See https://www.postgresql.org/docs/current/textsearch-controls.html
pgCompareAtAt(DBColumnExpr, DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
See https://www.postgresql.org/docs/current/textsearch-controls.html
pgExtract(PostgresExtractField, DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
See https://www.postgresql.org/docs/current/functions-datetime.html
pgPlaintoTsquery(DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
See https://www.postgresql.org/docs/current/textsearch-controls.html
pgToTsquery(DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
See https://www.postgresql.org/docs/current/textsearch-controls.html
pgToTsvector(DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
See https://www.postgresql.org/docs/current/textsearch-controls.html
pgWebsearchToTsquery(DBColumnExpr) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
See https://www.postgresql.org/docs/current/textsearch-controls.html
phrase - Variable in class org.apache.empire.db.expr.column.DBFuncExpr
 
phrase - Variable in class org.apache.empire.dbms.postgresql.PostgresFuncExpr
 
plus(Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new calculation object for the SQL "+" (plus) operator.
plus(int) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a new calculation object for either the SQL "+" (plus) or "-" (minus) operator depending on whether the supplied integer value is positive or negative.
populateRemoteDatabase(DatabaseMetaData) - Method in class org.apache.empire.db.validation.DBModelParser
 
PostgresAtAt - Class in org.apache.empire.dbms.postgresql
PostgresAtAt create a Postgres @@ comparator
PostgresAtAt(DBColumnExpr, DBColumnExpr) - Constructor for class org.apache.empire.dbms.postgresql.PostgresAtAt
 
PostgresBoolAndOrExpr - Class in org.apache.empire.dbms.postgresql
 
PostgresBoolAndOrExpr(DBCompareExpr, boolean) - Constructor for class org.apache.empire.dbms.postgresql.PostgresBoolAndOrExpr
 
PostgresDDLGenerator - Class in org.apache.empire.dbms.postgresql
 
PostgresDDLGenerator(DBMSHandlerPostgreSQL) - Constructor for class org.apache.empire.dbms.postgresql.PostgresDDLGenerator
 
PostgresExtractField - Enum in org.apache.empire.dbms.postgresql
 
PostgresFuncExpr - Class in org.apache.empire.dbms.postgresql
 
PostgresFuncExpr(DBColumnExpr, PostgresSqlPhrase, Object[], DataType) - Constructor for class org.apache.empire.dbms.postgresql.PostgresFuncExpr
 
PostgresSqlPhrase - Enum in org.apache.empire.dbms.postgresql
Enum for all SQL phrases that may be supplied by the dbms
prepareCommand(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
Prepare function
prepareCommand(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
Prepare function
prepareCommand(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBCompareExpr
internally used for preapred statement generation
prepareCommand(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBCompareNotExpr
Prepare function
prepareCommand(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
 
prepareCommand(DBCommand) - Method in class org.apache.empire.db.expr.compare.DBExistsExpr
Prepare function
prepareCommand(DBCommand) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
prepareCommand
prepareCommand(DBCommand) - Method in class org.apache.empire.db.expr.join.DBCompareJoinExpr
prepareCommand
prepareCommand(DBCommand) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
prepareCommand Nothing to do here
prepareCommand(DBCommand) - Method in class org.apache.empire.db.expr.join.DBJoinExpr
internally used for preapred statement generation
prepareCommand(DBCommand) - Method in class org.apache.empire.dbms.postgresql.PostgresAtAt
 
prepareInitRecord(DBRecordBase, boolean) - Method in class org.apache.empire.db.DBRowSet
Initialize this DBRowSet object and sets it's initial state.
prepareQuery(Object, Object) - Method in interface org.apache.empire.data.list.DataListFactory
 
prepareQuery(Object, Object) - Method in class org.apache.empire.data.list.DataListFactoryImpl
 
prepareQuery(DBCommandExpr, DBContext) - Method in interface org.apache.empire.db.list.DBBeanListFactory
 
prepareQuery(DBCommandExpr, DBContext) - Method in class org.apache.empire.db.list.DBBeanListFactoryImpl
 
prepareQuery(DBCommand, DBContext) - Method in interface org.apache.empire.db.list.DBRecordListFactory
 
prepareQuery(DBCommand, DBContext) - Method in class org.apache.empire.db.list.DBRecordListFactoryImpl
 
prepareStatement(PreparedStatement, Object[]) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Prepares an sql statement by setting the supplied objects as parameters.
primaryKeyColumnMissing(DBIndex, DBColumn) - Method in interface org.apache.empire.db.validation.DBModelErrorHandler
This method is called when a column in a primary key of the Empire-db definition is missing in the database
primaryKeyColumnMissing(DBIndex, DBColumn) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
handle primaryKeyColumnMissing errors
primaryKeyMismatch(DBIndex, DBColumn[]) - Method in interface org.apache.empire.db.validation.DBModelErrorHandler
This method is called when the primary key of the Empire-db definition does not match the primary key of the existing table
primaryKeyMismatch(DBIndex, DBColumn[]) - Method in class org.apache.empire.db.validation.DBModelErrorLogger
 
print(Node, int) - Method in class org.apache.empire.xml.XMLWriter
Prints the specified node recursively
print(Document) - Method in class org.apache.empire.xml.XMLWriter
Prints the specified document.
print(Document, String) - Method in class org.apache.empire.xml.XMLWriter
Prints the specified document.
PropertyReadOnlyException - Exception in org.apache.empire.exceptions
 
PropertyReadOnlyException(String) - Constructor for exception org.apache.empire.exceptions.PropertyReadOnlyException
 

Q

qualified() - Method in class org.apache.empire.db.DBColumn
returns an expression that renames the column with its alias name
qualified() - Method in class org.apache.empire.db.DBColumnExpr
returns an expression that renames the column with its alias name
qualifyAll() - Method in class org.apache.empire.db.DBCommand
Makes sure all selected columns are identified by their proper names (qualified)
queryBean(DBCommandExpr, DBBeanListFactory<T>) - Method in class org.apache.empire.db.DBUtils
queries a single Java Bean for a given command
queryBean(DBCommandExpr, Class<T>) - Method in class org.apache.empire.db.DBUtils
Queries a single Java Bean for a given command
queryBean(Class<T>, DBRowSet, DBCompareExpr) - Method in class org.apache.empire.db.DBUtils
Queries a single bean based on a where constraint
queryBean(Class<T>, DBCompareExpr) - Method in class org.apache.empire.db.DBUtils
Queries a single bean based on a where constraint
queryBean(Class<T>, DBRowSet, Object[]) - Method in class org.apache.empire.db.DBUtils
Queries a single bean based on primary key values
queryBeanList(DBCommandExpr, DBBeanListFactory<T>, Object, int, int) - Method in class org.apache.empire.db.DBUtils
Query a list of simple Java objects (beans)
queryBeanList(DBCommandExpr, DBBeanListFactory<T>, Object) - Method in class org.apache.empire.db.DBUtils
Queries a list of Java beans for a given command
queryBeanList(DBCommandExpr, Class<T>, DBRowSet, Object) - Method in class org.apache.empire.db.DBUtils
Queries a list of Java beans for a given command
queryBeanList(DBCommandExpr, Class<T>, Object) - Method in class org.apache.empire.db.DBUtils
Queries a list of Java beans for a given command
queryColumns - Variable in class org.apache.empire.db.DBQuery
 
queryDataEntry(DBCommandExpr, Class<T>, boolean) - Method in class org.apache.empire.db.DBUtils
Queries a single DataListEntry item
queryDataEntry(DBCommandExpr, Class<T>) - Method in class org.apache.empire.db.DBUtils
Queries a single DataListEntry item
queryDataEntry(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
Queries a single DataListEntry item
queryDataList(DBCommandExpr, DataListFactory<T>, int, int) - Method in class org.apache.empire.db.DBUtils
Executes a query and returns a list of DataListEntry items
queryDataList(DBCommandExpr, Class<T>, DataListHead) - Method in class org.apache.empire.db.DBUtils
Queries a list of DataListEntry items
queryDataList(DBCommandExpr, Class<T>) - Method in class org.apache.empire.db.DBUtils
Queries a list of DataListEntry items
queryDataList(DBCommandExpr, Class<T>, int, int) - Method in class org.apache.empire.db.DBUtils
Queries a list of DataListEntry items
queryDataList(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
Queries a list of DataListEntry items
queryDataList(DBCommandExpr, int, int) - Method in class org.apache.empire.db.DBUtils
Queries a list of DataListEntry items
QueryFailedException - Exception in org.apache.empire.db.exceptions
 
QueryFailedException(DBMSHandler, String, SQLException) - Constructor for exception org.apache.empire.db.exceptions.QueryFailedException
 
QueryFailedException(DBObject, String, SQLException) - Constructor for exception org.apache.empire.db.exceptions.QueryFailedException
 
QueryNoResultException - Exception in org.apache.empire.db.exceptions
 
QueryNoResultException(String) - Constructor for exception org.apache.empire.db.exceptions.QueryNoResultException
 
queryObjectList(String, Object[], Collection<Object[]>, int) - Method in class org.apache.empire.db.DBUtils
Adds the result of a query to a given collection.
queryObjectList(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
Returns the result of a query as a list Object-Arrays This function should only be used for small lists.
queryOptionList(String, Object[], Options) - Method in class org.apache.empire.db.DBUtils
Fills an option list provided with the result from a query.
queryOptionList(DBCommandExpr, Options) - Method in class org.apache.empire.db.DBUtils
Fills an option list provided with the result from a query.
queryOptionList(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
Returns a list of key value pairs from an sql query.
queryRecordList(DBCommand, DBRecordListFactory<R>, int, int) - Method in class org.apache.empire.db.DBUtils
Executes a query and returns a list of DBRecord items
queryRecordList(DBCommand, DBRowSet, Class<R>) - Method in class org.apache.empire.db.DBUtils
Executes a query and returns a list of DBRecord items
queryRecordList(DBCommand, DBRowSet) - Method in class org.apache.empire.db.DBUtils
Executes a query and returns a list of DBRecord items
queryRowCount(DBCommand) - Method in class org.apache.empire.db.DBUtils
Returns the number of rows returned by executing the select statement
queryRowLimitExeeded() - Method in class org.apache.empire.db.DBUtils
Called to inform that the limit for DataList, Record and Bean queries has exceeded the maximum value
querySimpleList(Class<T>, String, Object[], DataType, Collection<T>, int) - Method in class org.apache.empire.db.DBUtils
Adds the first column of a query result to a collection.
querySimpleList(Class<T>, DBCommandExpr, Collection<T>) - Method in class org.apache.empire.db.DBUtils
Adds the first column of a query result to a collection.
querySimpleList(Class<T>, DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
Returns a one dimensional array from an sql query.
querySimpleList(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
Returns a one dimensional array from an sql query.
querySingleInt(String, Object[], int) - Method in class org.apache.empire.db.DBUtils
Returns the value of the first row/column of a sql-query as an int.
querySingleInt(DBCommandExpr, int) - Method in class org.apache.empire.db.DBUtils
Returns the value of the first row/column of a sql-query as an int.
querySingleInt(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
Returns the value of the first row/column of a sql-query as an int.
querySingleLong(String, Object[], long) - Method in class org.apache.empire.db.DBUtils
Returns the value of the first row/column of a sql-query as an int.
querySingleLong(DBCommandExpr, long) - Method in class org.apache.empire.db.DBUtils
Returns the value of the first row/column of a sql-query as a long.
querySingleLong(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
Returns the value of the first row/column of a sql-query as a long.
querySingleRow(String, Object[]) - Method in class org.apache.empire.db.DBUtils
Returns all values of the first row of a sql-query as an array.
querySingleRow(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
Returns all values of the first row of a sql-query as an array.
querySingleString(DBCommandExpr, String) - Method in class org.apache.empire.db.DBUtils
Returns the value of the first row/column of a sql-query as a string.
querySingleString(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
Returns the value of the first row/column of a sql-query as a string.
querySingleValue(String, Object[], DataType, boolean) - Method in class org.apache.empire.db.DBUtils
Returns the value of the first row/column of a sql-query as an object.
querySingleValue(DBCommandExpr, Class<T>, boolean) - Method in class org.apache.empire.db.DBUtils
Returns the value of the first row/column of a sql-query as an object.
querySingleValue(DBCommandExpr, boolean) - Method in class org.apache.empire.db.DBUtils
Returns the value of the first row/column of a sql-query as an object.
querySingleValue(DBCommandExpr) - Method in class org.apache.empire.db.DBUtils
Returns the value of the first row/column of a sql-query as an object.
querySingleValue(String, Object[], DataType, Connection) - Method in interface org.apache.empire.dbms.DBMSHandler
Executes an select SQL-command that returns only one scalar value if no row are returned by the query then ObjectUtils.NO_VALUE is returned
querySingleValue(String, Object[], DataType, Connection) - Method in class org.apache.empire.dbms.DBMSHandlerBase
Query a single value

R

read(Object[]) - Method in class org.apache.empire.db.DBRecord
Reads a record from the database
read(Object) - Method in class org.apache.empire.db.DBRecord
Reads a record from the database This method can only be used for tables with a single primary key
read(DBCompareExpr) - Method in class org.apache.empire.db.DBRecord
Reads a record from the database
read(Object[], DBRowSet.PartialMode, DBColumn...) - Method in class org.apache.empire.db.DBRecord
Reads a record partially i.e. not with all but just some selected fields There are two modes: 1.
read(DBContext, DBRowSet, Object[]) - Method in class org.apache.empire.db.DBRecordBean
Reads a record from the database
read(DBContext, DBRowSet, Object) - Method in class org.apache.empire.db.DBRecordBean
Reads a record from the database This method can only be used for tables with a single primary key
read(DBContext, DBRowSet, DBCompareExpr) - Method in class org.apache.empire.db.DBRecordBean
Reads a record from the database
read(DBContext, DBRowSet, Object[], DBRowSet.PartialMode, DBColumn...) - Method in class org.apache.empire.db.DBRecordBean
Reads a record partially i.e. not with all but just some selected fields There are two modes: 1.
readConfiguration(String, boolean) - Method in class org.apache.empire.xml.XMLConfiguration
Reads the configuration file and parses the XML Configuration.
readContext(ObjectInputStream) - Method in class org.apache.empire.db.DBRecord
 
readOnly - Variable in class org.apache.empire.db.DBTableColumn
 
readProperties(Object, String...) - Method in class org.apache.empire.xml.XMLConfiguration
reads all properties from a given properties node and applies them to the given bean
readProperties(Object, Element) - Method in class org.apache.empire.xml.XMLConfiguration
reads all properties from a given properties node and applies them to the given bean
readRecord(DBRecordBase, DBCompareExpr) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
throws ERR_NOTSUPPORTED
readRecord(DBRecordBase, DBCompareExpr) - Method in class org.apache.empire.db.DBQuery
Creates a select SQL-Command of the query call the InitRecord method to execute the SQL-Command.
readRecord(DBRecordBase, DBCommand) - Method in class org.apache.empire.db.DBRowSet
Reads a single record from the database using the given command object.
readRecord(DBRecordBase, DBCompareExpr) - Method in class org.apache.empire.db.DBRowSet
Reads a record from the database
readRecord(DBRecordBase, DBCompareExpr, DBRowSet.PartialMode, DBColumn...) - Method in class org.apache.empire.db.DBRowSet
Reads the partial record for a given primary key from the database
readRowSet(ObjectInputStream) - Method in class org.apache.empire.db.DBRecord
 
Record - Interface in org.apache.empire.data
The record interface provides methods used for updating data.
record - Variable in class org.apache.empire.db.DBRecordBase.DBRecordRollbackHandler
 
RecordData - Interface in org.apache.empire.data
The RecordData interface provides methods for accessing data and context specific metadata.
RecordDeleteFailedException - Exception in org.apache.empire.db.exceptions
 
RecordDeleteFailedException(DBRowSet, Object[]) - Constructor for exception org.apache.empire.db.exceptions.RecordDeleteFailedException
 
RecordException - Exception in org.apache.empire.db.exceptions
 
RecordException(EntityType, Object[], ErrorType, String[], Throwable) - Constructor for exception org.apache.empire.db.exceptions.RecordException
 
RecordException(EntityType, Object[], ErrorType, String[]) - Constructor for exception org.apache.empire.db.exceptions.RecordException
 
RecordException(Record, ErrorType, String[]) - Constructor for exception org.apache.empire.db.exceptions.RecordException
 
recordExists(Object[], DBContext) - Method in class org.apache.empire.db.DBRowSet
Returns true if the record exists in the database or false otherwise.
recordExists(Object, DBContext) - Method in class org.apache.empire.db.DBRowSet
Returns true if the record exists in the database or false otherwise.
RecordNotFoundException - Exception in org.apache.empire.db.exceptions
 
RecordNotFoundException(DBRowSet, Object[]) - Constructor for exception org.apache.empire.db.exceptions.RecordNotFoundException
 
RecordReadOnlyException - Exception in org.apache.empire.db.exceptions
 
RecordReadOnlyException(DBRecordBase) - Constructor for exception org.apache.empire.db.exceptions.RecordReadOnlyException
 
RecordUpdateAmbiguousException - Exception in org.apache.empire.db.exceptions
 
RecordUpdateAmbiguousException(DBRowSet, Object[]) - Constructor for exception org.apache.empire.db.exceptions.RecordUpdateAmbiguousException
 
RecordUpdateFailedException - Exception in org.apache.empire.db.exceptions
 
RecordUpdateFailedException(DBRowSet, Object[]) - Constructor for exception org.apache.empire.db.exceptions.RecordUpdateFailedException
 
RECURSE_SHALLOW - Static variable in class org.apache.empire.commons.ClassUtils.Copy
 
reference() - Method in class org.apache.empire.db.DBColumn
Returns a reference expression for this column This can be used to reference a parent column in a subquery
referenceOn(DBTableColumn) - Method in class org.apache.empire.db.DBTableColumn
Creates a foreign key relation for this column.
register(String) - Method in class org.apache.empire.db.DBDatabase
registers the database in the global list of databases
relations - Variable in class org.apache.empire.db.DBDatabase
 
releaseConnection(Connection, DBRollbackManager.ReleaseAction) - Method in class org.apache.empire.db.context.DBRollbackManager
releaseConnection from handler and perform
remoteDb - Variable in class org.apache.empire.db.validation.DBModelChecker
 
remoteDb - Variable in class org.apache.empire.db.validation.DBModelParser
 
remoteName - Variable in class org.apache.empire.db.validation.DBModelParser
 
remove(Object) - Method in class org.apache.empire.commons.Attributes
 
remove(String) - Method in class org.apache.empire.commons.Attributes
 
remove(Object) - Method in class org.apache.empire.commons.Options
 
remove(String, String) - Static method in class org.apache.empire.commons.StringUtils
Removes all occurrences of remove from s
remove(String, char) - Static method in class org.apache.empire.commons.StringUtils
Removes all occurrences of c from s
remove(DBCmdParam) - Method in class org.apache.empire.db.DBCmdParamList
 
remove() - Method in class org.apache.empire.db.DBReader.DBReaderIterator
Implements the Iterator Interface Method remove not implemented and not applicable.
removeAllCommandParams(List<DBCompareExpr>) - Method in class org.apache.empire.db.DBCommand
internally used to remove all command params used in a list of constraints
removeBlanks(String) - Static method in class org.apache.empire.commons.StringUtils
removes all blanks from s
removeCommandParams(DBCompareExpr) - Method in class org.apache.empire.db.DBCommand
internally used to remove the command param used in a constraint
removeConstraint(List<DBCompareExpr>, DBCompareExpr) - Method in class org.apache.empire.db.DBCommand
removes a constraint on a particular column to the 'where' or 'having' collections
removeConstraintOn(List<DBCompareExpr>, DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
removes a constraint on a particular column to the 'where' or 'having' collections
removeHandler(Connection, DBObject) - Method in class org.apache.empire.db.context.DBRollbackManager
Remove the rollback handler for a particular Connection and Object
removeHavingConstraint(DBCompareExpr) - Method in class org.apache.empire.db.DBCommand
removes a constraint on a particular column from the where clause
removeHavingConstraintOn(DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
removes a constraint on a particular column from the having clause
removeIndex(DBIndex) - Method in class org.apache.empire.db.DBTable
removes an index.
removeJoinsOn(DBRowSet) - Method in class org.apache.empire.db.DBCommand
removes all joins to a given table or view
removeJoinsOn(DBColumn) - Method in class org.apache.empire.db.DBCommand
removes all joins to a given column
removeRelation(DBRelation) - Method in class org.apache.empire.db.DBDatabase
removes a relation from the list of relations
removeRollbackHandler(DBObject) - Method in class org.apache.empire.db.context.DBContextBase
 
removeRollbackHandler(DBObject) - Method in interface org.apache.empire.db.DBContext
 
removeSelect(DBColumnExpr...) - Method in class org.apache.empire.db.DBCommand
removes one or more expressions from the Select expression list
removeStmt(int) - Method in class org.apache.empire.db.DBSQLScript
Removes a statement from the list
removeTable(DBTable) - Method in class org.apache.empire.db.DBDatabase
Removes a table from the list of database tables
removeView(DBView) - Method in class org.apache.empire.db.DBDatabase
Removes a view from the list of database views
removeWhereConstraint(DBCompareExpr) - Method in class org.apache.empire.db.DBCommand
removes a constraint on a particular column from the where clause
removeWhereConstraintOn(DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
removes a constraint on a particular column from the where clause
replace(String, String, String) - Static method in class org.apache.empire.commons.StringUtils
Replaces all occurrences of find in source by replace.
replace(Object, Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a sql-expression for the replace(...) function.
replaceAll(String, String, String) - Static method in class org.apache.empire.commons.StringUtils
Returns a String with all occurrences of from within orig replaced with to.
replaceSelect(DBColumnExpr, DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
replaces a select expression with another or removes a select expression In order to remove the expression, set the replWith parameter to null If the replace expression is not found, an ItemNotFoundException is thrown
replaceStmt(int, String, Object[]) - Method in class org.apache.empire.db.DBSQLScript
Replaces an entry in the list
replaceStmt(int, String) - Method in class org.apache.empire.db.DBSQLScript
Replaces an entry in the list
required - Variable in class org.apache.empire.db.DBTableColumn
 
reservedSQLKeywords - Variable in class org.apache.empire.dbms.DBMSHandlerBase
 
reset(int) - Method in class org.apache.empire.db.DBSQLBuilder
 
resetParamUsage(DBCommand) - Method in class org.apache.empire.db.DBCmdParamList
internally used to reset the command param usage count.
resetParamUsage() - Method in class org.apache.empire.db.DBCommand
internally used to reset the command param usage count.
result() - Method in class org.apache.empire.db.DBCommandExpr
Returns a ColumnExpr for the result of the query If the command must have exactly one select column otherwise a NotSupportedException is thrown;
RET_NULL - Static variable in class org.apache.empire.commons.ClassUtils.Copy
 
RET_SELF - Static variable in class org.apache.empire.commons.ClassUtils.Copy
 
reverse() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a sql-expression for the reverse(...) function.
reverse() - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
This function swaps the left and the right statements of the join expression.
reverse() - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
This function swaps the left and the right statements of the join expression.
reverse() - Method in class org.apache.empire.db.expr.join.DBJoinExpr
This function swaps the left and the right statements of the join expression.
reversed(DBJoinType) - Static method in enum org.apache.empire.db.DBJoinType
 
right - Variable in class org.apache.empire.db.DBCombinedCmd
 
right - Variable in class org.apache.empire.db.expr.column.DBConcatExpr
 
right - Variable in class org.apache.empire.db.expr.compare.DBCompareAndOrExpr
 
right - Variable in class org.apache.empire.db.expr.join.DBColumnJoinExpr
 
right - Variable in class org.apache.empire.db.expr.join.DBCrossJoinExpr
 
rollback() - Method in class org.apache.empire.db.context.DBContextBase
Discards all changes made since the previous commit/rollback and releases any database locks currently held by this Connection.
rollback(Connection) - Method in interface org.apache.empire.db.context.DBRollbackHandler
 
rollback() - Method in interface org.apache.empire.db.DBContext
 
rollback(Connection) - Method in class org.apache.empire.db.DBRecordBase.DBRecordRollbackHandler
 
round(int) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an function object that rounds a number espression with the given decimals.
rownum - Variable in class org.apache.empire.data.list.DataListEntry
 
rowset - Variable in class org.apache.empire.db.DBColumn
 
rowset - Variable in class org.apache.empire.db.DBRecord
 
rowset - Variable in class org.apache.empire.db.DBRecordBean
 
rowset - Variable in class org.apache.empire.db.list.DBRecordListFactoryImpl
 
rowsetName(DBRowSet) - Static method in exception org.apache.empire.db.exceptions.RecordException
 

S

saveAsFile(Document, String) - Static method in class org.apache.empire.xml.XMLWriter
Saves an XML-Document as file.
schema - Variable in class org.apache.empire.db.validation.DBModelParser
 
select - Variable in class org.apache.empire.db.DBCommand
 
select(DBColumnExpr) - Method in class org.apache.empire.db.DBCommand
Adds a DBColumnExpr object to the Select collection
select(DBColumnExpr...) - Method in class org.apache.empire.db.DBCommand
Adds a list of columns to the select phrase of an sql statement.
select(Collection<? extends DBColumnExpr>) - Method in class org.apache.empire.db.DBCommand
Adds a collection of columns to the select phrase of an sql statement.
selectDistinct - Variable in class org.apache.empire.db.DBCommand
 
selectDistinct() - Method in class org.apache.empire.db.DBCommand
Sets whether or not the select statement should contain the distinct directive .
selectQualified(DBColumnExpr...) - Method in class org.apache.empire.db.DBCommand
Adds a list of columns with their qualified name to the select phrase of an sql statement.
selectQualified(Collection<? extends DBColumnExpr>) - Method in class org.apache.empire.db.DBCommand
Adds a collection of columns to the select phrase of an sql statement.
SEQUENCE_NAME_SUFFIX - Variable in class org.apache.empire.dbms.DBMSHandlerBase
 
set(String, Object) - Method in class org.apache.empire.commons.Attributes
 
set(Object, String, boolean, Options.InsertPos) - Method in class org.apache.empire.commons.Options
Sets or Adds an option at a certain position
set(Object, String, Options.InsertPos) - Method in class org.apache.empire.commons.Options
Sets or Adds an option at a certain position
set(Object, String) - Method in class org.apache.empire.commons.Options
Sets or adds Adds an option at the bottom
set(Column, Object) - Method in class org.apache.empire.data.bean.BeanRecordProxy
sets the value of a field.
set(Column, Object) - Method in interface org.apache.empire.data.Record
sets a record value based on a column.
set - Variable in class org.apache.empire.db.DBCommand
 
set(DBSetExpr) - Method in class org.apache.empire.db.DBCommand
Adds a single set expressions to this command Use column.to(...) to create a set expression
set(DBSetExpr...) - Method in class org.apache.empire.db.DBCommand
Adds a list of set expressions to this command Use column.to(...) to create a set expression
set(Column, Object) - Method in class org.apache.empire.db.DBRecord
Overridden to change return type from DBCommandExpr to DBCommand
set(Column, Object) - Method in class org.apache.empire.db.DBRecordBase
Sets the value of a column in the record.
set(Column, Object) - Method in class org.apache.empire.db.DBRecordBean
Overridden to change return type from DBCommandExpr to DBCommand
set(DBXmlDictionary) - Static method in class org.apache.empire.db.DBXmlDictionary
 
set(int, Object) - Method in interface org.apache.empire.dbms.DBMSHandler.DBSetGenKeys
 
setActive(boolean) - Method in class org.apache.empire.commons.OptionEntry
 
setAttribute(String, Object) - Method in class org.apache.empire.data.bean.BeanProperty
 
setAttribute(String, Object) - Method in class org.apache.empire.db.DBColumnExpr
Sets the value of a column attribute.
setBean(T) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
setBeanProperties(Object) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
setBeanProperties(Object, Collection<? extends ColumnExpr>) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
setBeanProperties(Object, Collection<? extends ColumnExpr>) - Method in class org.apache.empire.data.list.DataListEntry
 
setBeanProperties(Object) - Method in class org.apache.empire.data.list.DataListEntry
 
setBeanProperties(Object, Collection<? extends ColumnExpr>) - Method in interface org.apache.empire.data.RecordData
copies all field values into a static Java Bean.
setBeanProperties(Object, Collection<? extends ColumnExpr>) - Method in class org.apache.empire.db.DBRecordData
Injects the current field values into a java bean.
setBeanProperties(Object) - Method in class org.apache.empire.db.DBRecordData
Injects the current field values into a java bean.
setBeanProperty(Object, Column, Object) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
setBeanProperty(ColumnExpr, Object, String, Object) - Method in class org.apache.empire.db.DBRecordData
Set a single property value of a java bean object used by readProperties.
setBeanPropertyName(String) - Method in class org.apache.empire.db.DBColumnExpr
Sets the Java bean property name for this column.
setBeanType(Class<?>) - Method in class org.apache.empire.db.DBRowSet
sets the bean type for this rowset
setBeanType(Class<T>, DBBeanListFactory<T>) - Method in class org.apache.empire.db.DBRowSet
sets the bean type for this rowset
setBooleanType(DBMSHandlerOracle.BooleanType) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
 
setCharacterSet(String) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
 
setCmd(String) - Method in class org.apache.empire.db.DBSQLScript.SQLStmt
 
setCmdParams(DBCmdParamList) - Method in class org.apache.empire.db.DBSQLBuilder
 
setComment(String) - Method in class org.apache.empire.db.DBColumn
Sets a comment describing the current column.
setComment(String) - Method in class org.apache.empire.db.DBRowSet
 
setConstraint(List<DBCompareExpr>, DBCompareExpr) - Method in class org.apache.empire.db.DBCommand
adds a constraint to the 'where' or 'having' collections
setControlType(String) - Method in class org.apache.empire.data.bean.BeanProperty
 
setControlType(String) - Method in class org.apache.empire.db.DBColumnExpr
Sets the controlType attribute.
setCreateReverseFunction(boolean) - Method in class org.apache.empire.dbms.postgresql.PostgresDDLGenerator
Set whether to create the reverse function with the database
setDatabaseName(String) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
Sets the name for the database / schema
This names is required for creating a database.
setDatabaseName(String) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
Sets the name for the database / schema
This names is required for creating a database.
setDatabaseName(String) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
Sets the name for the database / schema
This names is required for creating a database.
setDatabaseName(String) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
Sets the name for the database / schema
This names is required for creating a database.
setDatabaseName(String) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
 
setDate(Date, int, int, int) - Static method in class org.apache.empire.commons.DateUtils
 
setDDLColumnDefaults(boolean) - Method in class org.apache.empire.db.DBDDLGenerator
Set true if column default values should be included in DDL Statements
setDecimalScale(int) - Method in class org.apache.empire.db.DBTableColumn
Sets the scale of a decimal.
setDefaultCascadeDeleteAction(DBRelation.DBCascadeAction) - Method in class org.apache.empire.db.DBTable
sets the default cascade action for deletes on foreign key relations.
setDefaultEncoding(String) - Static method in class org.apache.empire.db.DBBlobData
Sets the defaultEncoding used in a constructor.
setDefaultValue(Object) - Method in class org.apache.empire.db.DBTableColumn
Sets the default column value.
setDescending(boolean) - Method in class org.apache.empire.db.expr.order.DBOrderByExpr
 
setElementText(Node, Object) - Static method in class org.apache.empire.xml.XMLUtil
Sets the text value of an Element. if current text of the element is replaced with the new text if text is null any current text value is deleted.
setEngine(String) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
Set the table engine that is used when creating new tables
setEntityName(String) - Method in class org.apache.empire.db.DBRowSet
sets the entity name for creating qualified names.
setEnumOptions(Class<?>) - Method in class org.apache.empire.db.DBTableColumn
sets the options from an enum class
setFactoryForType(Class<?>, DBBeanListFactory<T>) - Static method in class org.apache.empire.db.list.DBBeanFactoryCache
sets the DBRowSet instance assigned to a particular Java bean type
setKeyColumn(Column) - Method in class org.apache.empire.data.bean.BeanClass
Sets the key to a single column
setKeyColumn(DBView.DBViewColumn) - Method in class org.apache.empire.db.DBView
identifies the column that uniquely identifies a row in the view
setKeyColumns(Column[]) - Method in class org.apache.empire.data.bean.BeanClass
Sets the list of key columns.
setKeyColumns(DBView.DBViewColumn...) - Method in class org.apache.empire.db.DBView
identifies the columns that uniquely identify a row in the view
setLinkName(String) - Method in class org.apache.empire.db.DBDatabase
Sets the name of the database link used to identify objects.
setMapImplementation(Map<Class<?>, DBBeanListFactory<?>>) - Static method in class org.apache.empire.db.list.DBBeanFactoryCache
Allows to provide a different implementation of the bean factory map
setObjectOwner(String) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
 
setOnDeleteAction(DBRelation.DBCascadeAction) - Method in class org.apache.empire.db.DBRelation
sets the action taken when deleting records that affect this foreign key relation See DBCascadeAction enum for details.
setOptimizerHint(String) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
 
setOptimizerIndexHint(DBIndex) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
 
setOptions(Options) - Method in class org.apache.empire.data.bean.BeanProperty
 
setOptions(Options) - Method in class org.apache.empire.db.DBColumnExpr
Sets the options for this column indicating all valid values.
setOracle8Compatibilty(boolean) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
 
setParams(Object[]) - Method in class org.apache.empire.db.DBSQLScript.SQLStmt
 
setParams(Object[]) - Method in class org.apache.empire.db.expr.column.DBScalarExpr
set the value associated with this value expression
setParentRecord(DBColumn, DBRecordBase) - Method in class org.apache.empire.db.DBRecordBase
For DBMS with IDENTITY-columns defer setting the parent-id until the record is inserted The parent record must have a one-column primary key
setParentTables(DBRowSet...) - Method in class org.apache.empire.db.DBCommand
Set parent tables for subquery command generation.
setPreparedStatementsEnabled(boolean) - Method in class org.apache.empire.db.context.DBContextStatic
Enables or disables the use of prepared statements for update and insert commands as well as for read operations on a DBRecord.
setPreparedStatementsEnabled(boolean) - Method in class org.apache.empire.db.DBDatabase
Enables or Disables the use of Prepared Statements only for the read and update operations in DBRecord.
setPrimaryKey(DBColumn...) - Method in class org.apache.empire.db.DBTable
Sets the primary key.
setPrivateFieldValue(Class<?>, Object, String, Object) - Static method in class org.apache.empire.commons.ClassUtils
Retrieve a field value using reflection
setPropertyValue(Object, Node) - Method in class org.apache.empire.xml.XMLConfiguration
 
setReadOnly(boolean) - Method in class org.apache.empire.db.DBTableColumn
Sets the read only attribute of the column.
setRecordValue(Column, Object, String) - Method in class org.apache.empire.db.DBRecordBase
set a record value from a particular bean property.
setRecordValues(Object, Collection<Column>) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
setRecordValues(Object) - Method in class org.apache.empire.data.bean.BeanRecordProxy
 
setRecordValues(Object, Collection<Column>) - Method in interface org.apache.empire.data.Record
sets all record values from a particular bean.
setRecordValues(Object) - Method in interface org.apache.empire.data.Record
sets all record values from a particular bean.
setRecordValues(Object, Collection<Column>) - Method in class org.apache.empire.db.DBRecordBase
Sets record values from the supplied java bean.
setRecordValues(Object) - Method in class org.apache.empire.db.DBRecordBase
Sets record values from the suppied java bean.
setRequired(boolean) - Method in class org.apache.empire.db.DBTableColumn
Changes the required property of the table column
Use for dynamic data model changes only.
setReservedKeywords() - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
 
setRollbackHandlingEnabled(boolean) - Method in class org.apache.empire.db.context.DBContextStatic
Enables or disables rollback handling
setRollbackHandlingEnabled(boolean) - Method in class org.apache.empire.db.DBRecord
Set whether or not RollbackHandling will be performed for this record Since Rollback handling requires additional resources it should only be used if necessary Especially for bulk operations it should be disabled
setRollbackHandlingEnabled(boolean) - Method in class org.apache.empire.db.DBRecordBean
Set whether or not RollbackHandling will be performed for this record Since Rollback handling requires additional resources it should only be used if necessary Especially for bulk operations it should be disabled
setRowsetData(DBRecordBase, Object) - Method in class org.apache.empire.db.DBRowSet
May be used by a Rowset to store additional data on a record
setSchema(String) - Method in class org.apache.empire.db.DBDatabase
Sets the schema for SQL statements.
setSchemaName(String) - Method in class org.apache.empire.dbms.oracle.DBMSHandlerOracle
 
setSequenceTableName(String) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
Sets the name of the sequence table.
setSequenceTableName(String) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
Sets the name of the sequence table.
setSequenceTableName(String) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
Sets the name of the sequence table.
setSequenceTableName(String) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
Sets the name of the sequence table.
setSingleByteChars(boolean) - Method in class org.apache.empire.db.DBTableColumn
sets whether this column is a single byte character or text column
setSize(double) - Method in class org.apache.empire.db.DBTableColumn
Changes the size of the table column
Use for dynamic data model changes only.
setStandardIdentityColumnName(String) - Method in class org.apache.empire.db.validation.DBModelParser
 
setStandardTimestampColumnName(String) - Method in class org.apache.empire.db.validation.DBModelParser
 
setterColumns - Variable in class org.apache.empire.db.list.DBBeanListFactoryImpl
 
setText(String) - Method in class org.apache.empire.commons.OptionEntry
 
setTime(Date, int, int, int, int) - Static method in class org.apache.empire.commons.DateUtils
 
setTimestampColumn(DBColumn) - Method in class org.apache.empire.db.DBRowSet
 
setTitle(String) - Method in class org.apache.empire.data.bean.BeanProperty
 
setTitle(String) - Method in class org.apache.empire.db.DBColumnExpr
Sets the title attribute.
setType(DBJoinType) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
alters the join type for this join
setType(DBJoinType) - Method in class org.apache.empire.db.expr.join.DBJoinExpr
alters the join type for this join
setUseDateTime2(boolean) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
Sets whether or not to use the DATETIME2 datatype instead of DATETIME for timestamps Default is true (set to false for existing databases using DATETIME!)
setUsePostgresSerialType(boolean) - Method in class org.apache.empire.dbms.postgresql.DBMSHandlerPostgreSQL
Sets whether or not the Postgres Serial Type is used for Identity columns
setUseSequenceTable(boolean) - Method in class org.apache.empire.dbms.derby.DBMSHandlerDerby
If set to true a special table is used for sequence number generation.
setUseSequenceTable(boolean) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2
If set to true a special table is used for sequence number generation.
setUseSequenceTable(boolean) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL
If set to true a special table is used for sequence number generation.
setUseSequenceTable(boolean) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
If set to true a special table is used for sequence number generation.
setUseUnicodePrefix(boolean) - Method in class org.apache.empire.dbms.sqlserver.DBMSHandlerMSSQL
Sets whether or not to use a Unicode Prefix (N) for all text values Default is true
setValidateFieldValues(boolean) - Method in class org.apache.empire.db.DBRecordBase
Set whether or not values are checked for validity when calling setValue().
setValue(Object) - Method in class org.apache.empire.commons.Attributes.Attribute
 
setValue(int, Object) - Method in class org.apache.empire.data.bean.BeanRecordProxy
sets the value of a field.
setValue(int, Object) - Method in interface org.apache.empire.data.Record
sets a record value based on the field index.
setValue(Object) - Method in class org.apache.empire.db.DBCmdParam
Sets the current value of the parameter
setValue(int, Object) - Method in class org.apache.empire.db.DBRecordBase
Sets the value of a column in the record.
setValue(Column, Object) - Method in class org.apache.empire.db.DBRecordBase
Deprecated.
setValue(Object) - Method in class org.apache.empire.db.expr.column.DBValueExpr
set the value associated with this value expression
setValue(Object) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
The value to compare the column expression with
setValue(Object) - Method in class org.apache.empire.db.expr.set.DBSetExpr
The value to which to set the column
setXmlWriterDebugPath(String) - Static method in class org.apache.empire.xml.XMLWriter
 
size() - Method in class org.apache.empire.commons.Attributes
 
size() - Method in class org.apache.empire.commons.Options
 
size() - Method in class org.apache.empire.db.DBCmdParamList
 
size() - Method in interface org.apache.empire.db.DBCmdParams
 
size - Variable in class org.apache.empire.db.DBTableColumn
 
size - Variable in class org.apache.empire.db.DBView.DBViewColumn
 
skip - Variable in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBCommandMySQL
 
skip - Variable in class org.apache.empire.dbms.postgresql.DBCommandPostgres
 
SKIP_CLONE - Static variable in class org.apache.empire.commons.ClassUtils.Copy
 
SKIP_INST - Static variable in class org.apache.empire.commons.ClassUtils.Copy
 
SKIP_SERIAL - Static variable in class org.apache.empire.commons.ClassUtils.Copy
 
skipRows(int) - Method in class org.apache.empire.db.DBCommand
Overridden to change return type from DBCommandExpr to DBCommand
skipRows(int) - Method in class org.apache.empire.db.DBCommandExpr
sets the offset of the first row to return when executing a query command.
skipRows(int) - Method in class org.apache.empire.db.DBReader
Moves the cursor down the given number of rows.
skipRows - Variable in class org.apache.empire.dbms.h2.DBMSHandlerH2.DBCommandH2
 
skipRows(int) - Method in class org.apache.empire.dbms.h2.DBMSHandlerH2.DBCommandH2
 
skipRows - Variable in class org.apache.empire.dbms.hsql.DBCommandHSql
 
skipRows(int) - Method in class org.apache.empire.dbms.hsql.DBCommandHSql
 
skipRows(int) - Method in class org.apache.empire.dbms.mysql.DBMSHandlerMySQL.DBCommandMySQL
 
skipRows - Variable in class org.apache.empire.dbms.oracle.DBCommandOracle
 
skipRows(int) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
 
skipRows(int) - Method in class org.apache.empire.dbms.postgresql.DBCommandPostgres
 
sortAttributes(NamedNodeMap) - Method in class org.apache.empire.xml.XMLWriter
Sorts attributes by name.
sourceColumn - Variable in class org.apache.empire.db.DBView.DBViewColumn
 
SPACE - Static variable in class org.apache.empire.commons.StringUtils
Single Space
sql - Variable in class org.apache.empire.db.DBSQLBuilder
 
SQLiteDDLGenerator - Class in org.apache.empire.dbms.sqlite
 
SQLiteDDLGenerator(DBMSHandlerSQLite) - Constructor for class org.apache.empire.dbms.sqlite.SQLiteDDLGenerator
 
SQLStmt(String, Object[]) - Constructor for class org.apache.empire.db.DBSQLScript.SQLStmt
 
sqlStmtList - Variable in class org.apache.empire.db.DBSQLScript
 
startWith - Variable in class org.apache.empire.dbms.oracle.DBCommandOracle
 
startWith(DBCompareExpr) - Method in class org.apache.empire.dbms.oracle.DBCommandOracle
 
StatementFailedException - Exception in org.apache.empire.db.exceptions
 
StatementFailedException(DBMSHandler, String, SQLException) - Constructor for exception org.apache.empire.db.exceptions.StatementFailedException
 
stringAgg(String, DBOrderByExpr) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns string aggregation expression
stringAgg(String) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns string aggregation expression
stringToBoolean(String) - Method in class org.apache.empire.db.DBSQLBuilder
this function converts a string containing a boolean expression to a boolean.
StringUtils - Class in org.apache.empire.commons
This class contains common functions for comparing and converting values of type String.
substring(DBExpr) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a sql-expression for the substring(...) function.
substring(int) - Method in class org.apache.empire.db.DBColumnExpr
Overloaded.
substring(DBExpr, DBExpr) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a sql-expression for the substring(...) function.
substring(DBExpr, int) - Method in class org.apache.empire.db.DBColumnExpr
Overloaded.
substring(int, DBExpr) - Method in class org.apache.empire.db.DBColumnExpr
Overloaded.
substring(int, int) - Method in class org.apache.empire.db.DBColumnExpr
Overloaded.
sum() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an aggregation function object which calculates the sum for the current expression over a group of rows.
SYSDATE - Static variable in class org.apache.empire.db.DBDatabase
 

T

T - Variable in class org.apache.empire.db.generic.TRecord
 
tableMap - Variable in class org.apache.empire.db.validation.DBModelParser
 
tables - Variable in class org.apache.empire.db.DBDatabase
 
TC - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase
 
TDatabase<DB extends TDatabase<DB>> - Class in org.apache.empire.db.generic
 
TDatabase(String, String) - Constructor for class org.apache.empire.db.generic.TDatabase
Constructs a new DBDatabase object and sets the specified schema object.
TDatabase(String) - Constructor for class org.apache.empire.db.generic.TDatabase
Constructs a new DBDatabase object and sets the specified schema object.
TDatabase() - Constructor for class org.apache.empire.db.generic.TDatabase
Constructs a new DBDatabase object set the variable 'schema' = null.
tempContext - Variable in class org.apache.empire.db.DBRecordBean
 
template - Variable in class org.apache.empire.db.expr.column.DBFuncExpr
 
template - Variable in class org.apache.empire.db.expr.column.DBScalarExpr
 
testSerialization(Class<T>, T) - Static method in class org.apache.empire.commons.ClassUtils
Used to test Serialization
TEXT_DELIMITER - Static variable in class org.apache.empire.db.DBSQLBuilder
 
timestampColumn - Variable in class org.apache.empire.db.DBRowSet
 
to(Object) - Method in class org.apache.empire.db.DBColumn
Creates and returns a new DBSetExpr object.
toArray() - Method in class org.apache.empire.commons.Attributes
 
toArray(Class<T>, T...) - Static method in class org.apache.empire.commons.ObjectUtils
Converts varArgs to an array
toArray() - Method in class org.apache.empire.commons.Options
 
toChar() - Method in class org.apache.empire.db.DBColumnExpr
Creates a new DBFuncExpr object (to_char SQL statement) with the parameters prefix = "to_char(" and postfix = ")"
toChar(String) - Method in class org.apache.empire.db.DBColumnExpr
Creates a new DBFuncExpr object (to_char SQL statement) with the parameters prefix = "to_char(" and postfix = ", * '"+format+"')"
toDate(LocalDate) - Static method in class org.apache.empire.commons.DateUtils
 
toDate(LocalDateTime) - Static method in class org.apache.empire.commons.DateUtils
 
toDate(Object) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an object value to a Date.
toDecimal(Object) - Static method in class org.apache.empire.commons.ObjectUtils
converts an object to a decimal.
toDouble(Object) - Static method in class org.apache.empire.commons.ObjectUtils
converts an object to a double.
toInteger(Object) - Static method in class org.apache.empire.commons.ObjectUtils
converts an object to an integer.
toLocalDate(Date) - Static method in class org.apache.empire.commons.DateUtils
 
toLocalDate(Timestamp) - Static method in class org.apache.empire.commons.DateUtils
 
toLocalDate(Date) - Static method in class org.apache.empire.commons.DateUtils
 
toLocalDateTime(Date) - Static method in class org.apache.empire.commons.DateUtils
 
toLocalDateTime(Timestamp) - Static method in class org.apache.empire.commons.DateUtils
 
toLocalDateTime(Date) - Static method in class org.apache.empire.commons.DateUtils
 
toLong(Object) - Static method in class org.apache.empire.commons.ObjectUtils
converts an object to a long.
toLower(String, int) - Static method in class org.apache.empire.commons.StringUtils
makes the first n characters of s lower case
toString() - Method in class org.apache.empire.commons.Attributes
 
toString() - Method in class org.apache.empire.commons.Options
 
toString(Object, String) - Static method in class org.apache.empire.commons.StringUtils
Converts a value to a string.
toString(Object) - Static method in class org.apache.empire.commons.StringUtils
Converts a value to a string.
toString(Object[], String) - Static method in class org.apache.empire.commons.StringUtils
Converts an array of objects to a string.
toString(Object[]) - Static method in class org.apache.empire.commons.StringUtils
Converts an array of objects to a string.
toString() - Method in class org.apache.empire.data.list.DataListEntry
 
toString() - Method in class org.apache.empire.db.DBClobData
Returns a CLOB String.
toString() - Method in class org.apache.empire.db.DBColumn
Override the toString method.
toString() - Method in class org.apache.empire.db.DBColumnExpr
For Debugging
toString() - Method in class org.apache.empire.db.DBDatabase.DBSystemDate
 
toString() - Method in class org.apache.empire.db.DBRelation
 
toString() - Method in class org.apache.empire.db.DBSQLBuilder
returns the SQL as a String
toString() - Method in class org.apache.empire.db.DBSQLScript
Returns the sql script as a string
toString() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
Overrides the toString method.
toString() - Method in class org.apache.empire.db.expr.column.DBCalcExpr
 
toStringArray(Object[], String) - Static method in class org.apache.empire.commons.ObjectUtils
Converts an Object array to a String array.
toUpper(String, int) - Static method in class org.apache.empire.commons.StringUtils
makes the first n characters of s upper case
toValue(boolean) - Method in interface org.apache.empire.commons.EnumValue
 
trackThisResultSet() - Method in class org.apache.empire.db.DBReader
Support for finding code errors where a DBRecordSet is opened but not closed.
TRecord<CTX extends DBContext,T extends DBRowSet> - Class in org.apache.empire.db.generic
 
TRecord(CTX, T, boolean) - Constructor for class org.apache.empire.db.generic.TRecord
Internal constructor for TRecord May be used by derived classes to provide special behaviour
TRecord(CTX, T) - Constructor for class org.apache.empire.db.generic.TRecord
Constructs a new TRecord.
trim() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a sql-expression for the trim() function.
trimLeft() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a sql-expression for the ltrim() function.
trimRight() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a sql-expression for the rtrim() function.
trunc(int) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an function object that truncates a number espression with the given decimals.
truncate(String, int) - Static method in class org.apache.empire.commons.StringUtils
truncates a string to a maximum number of chars
TTable<DB extends TDatabase<DB>> - Class in org.apache.empire.db.generic
 
TTable(String, DB, String) - Constructor for class org.apache.empire.db.generic.TTable
 
TTable(String, DB) - Constructor for class org.apache.empire.db.generic.TTable
 
TView<DB extends TDatabase<DB>> - Class in org.apache.empire.db.generic
 
TView(String, DB, boolean) - Constructor for class org.apache.empire.db.generic.TView
 
TView(String, DB) - Constructor for class org.apache.empire.db.generic.TView
 
type - Variable in class org.apache.empire.db.DBCmdParam
 
type - Variable in class org.apache.empire.db.DBTableColumn
 
type - Variable in class org.apache.empire.db.expr.column.DBValueExpr
 
type - Variable in class org.apache.empire.db.expr.join.DBJoinExpr
 

U

UC - Variable in class org.apache.empire.dbms.oracle.OracleSYSDatabase
 
UnexpectedReturnValueException - Exception in org.apache.empire.exceptions
 
UnexpectedReturnValueException(Object, String) - Constructor for exception org.apache.empire.exceptions.UnexpectedReturnValueException
 
union(DBCommandExpr) - Method in class org.apache.empire.db.DBCommandExpr
Constructs a new DBCombinedCmd object with this object, the key word= "UNION" and the selected DBCommandExpr.
unionAll(DBCommandExpr) - Method in class org.apache.empire.db.DBCommandExpr
Constructs a new DBCombinedCmd object with this object, the key word= "UNION ALL" and the selected DBCommandExpr.
UnknownBeanTypeException - Exception in org.apache.empire.db.exceptions
 
UnknownBeanTypeException(Class<?>) - Constructor for exception org.apache.empire.db.exceptions.UnknownBeanTypeException
 
UnspecifiedErrorException - Exception in org.apache.empire.exceptions
 
UnspecifiedErrorException(String) - Constructor for exception org.apache.empire.exceptions.UnspecifiedErrorException
 
UnsupportedTypeException - Exception in org.apache.empire.exceptions
 
UnsupportedTypeException(Class<?>) - Constructor for exception org.apache.empire.exceptions.UnsupportedTypeException
 
unwrap(T) - Static method in class org.apache.empire.commons.ObjectUtils
Unwraps an object implementing the Unwrappable interface If the object does not Implement the Interface or is not a wrapper then the object itself is returned
unwrap() - Method in interface org.apache.empire.commons.Unwrappable
Unwrapps am object that is wrapped by this object If the object is not a wrapper then it must return itself (this)!
unwrap() - Method in class org.apache.empire.db.expr.column.DBAliasExpr
Returns the underlying column expression.
unwrap() - Method in class org.apache.empire.db.expr.column.DBCoalesceExpr
 
unwrap() - Method in class org.apache.empire.db.expr.column.DBParenthesisExpr
Returns the underlying column expression.
unwrap() - Method in class org.apache.empire.db.expr.compare.DBCompareParenthesisExpr
 
Unwrappable<T> - Interface in org.apache.empire.commons
 
update() - Method in class org.apache.empire.db.DBRecord
Updates the record and saves all changes in the database.
update(DBContext) - Method in class org.apache.empire.db.DBRecordBean
Updates the record in the database
updateComplete() - Method in class org.apache.empire.db.DBRecordBase
This method is used internally to indicate that the record update has completed
This will set change the record's state to Valid
updateData(RecordData) - Method in class org.apache.empire.data.list.DataListEntry
Updates the fields of the entry with the corresponding fields of a record.
updateRecord(DBRecordBase) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
throws ERR_NOTSUPPORTED
updateRecord(DBRecordBase) - Method in class org.apache.empire.db.DBQuery
Updates a query record by creating individual update commands for each table.
updateRecord(R) - Method in class org.apache.empire.db.DBRowSet
Updates or Inserts a record in the database.
updateRecord(DBRecordBase) - Method in class org.apache.empire.db.DBView
 
upper() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a function object which converts the current expression to upper case.
useCmdParam(DBColumnExpr, Object) - Method in class org.apache.empire.db.DBCommand
returns true if a cmdParam should be used for the given column or false otherwise

V

validate(String) - Static method in class org.apache.empire.commons.StringUtils
Validates a given string.
validateAllValues() - Method in class org.apache.empire.db.DBRecordBase
validates all modified values of a record
validateFieldValues - Variable in class org.apache.empire.db.DBRecordBase
 
validateNumber(DBTableColumn, DataType, Number) - Method in class org.apache.empire.db.DBDatabase
 
validateValue(Object) - Method in class org.apache.empire.data.bean.BeanProperty
 
validateValue(Column, Object) - Method in class org.apache.empire.data.bean.BeanRecordProxy
Validates a value before it is set in the record.
validateValue(Object) - Method in interface org.apache.empire.data.Column
Checks if the given value is a valid value for this column If not, an exception is thrown
validateValue(Column, Object) - Method in interface org.apache.empire.data.Record
Validates a value before it is set in the record.
validateValue(Object) - Method in class org.apache.empire.db.DBColumn
Checks if the given value is a valid value for this column If not, an exception is thrown
validateValue(Object) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
Not applicable - always return the value.
validateValue(DBTableColumn, Object) - Method in class org.apache.empire.db.DBDatabase
Checks whether the supplied value is valid for the given column.
validateValue(Object) - Method in class org.apache.empire.db.DBQueryColumn
 
validateValue(Column, Object) - Method in class org.apache.empire.db.DBRecordBase
Validates a value before it is set in the record.
validateValue(DBTableColumn, Object) - Method in class org.apache.empire.db.DBTable
validates a column value
validateValue(Object) - Method in class org.apache.empire.db.DBTableColumn
Checks whether the supplied value is valid for this column.
validateValue(Object) - Method in class org.apache.empire.db.DBView.DBViewColumn
 
value - Variable in class org.apache.empire.db.DBCmdParam
 
value - Variable in class org.apache.empire.db.expr.column.DBValueExpr
 
value - Variable in class org.apache.empire.db.expr.compare.DBCompareColExpr
 
value - Variable in class org.apache.empire.db.expr.set.DBSetExpr
 
valueEquals(Object) - Method in class org.apache.empire.commons.OptionEntry
 
valueOf(String) - Static method in enum org.apache.empire.commons.Options.InsertPos
Returns the enum constant of this type with the specified name.
valueOf(Object) - Static method in class org.apache.empire.commons.StringUtils
Converts a value to a string.
valueOf(Object[]) - Static method in class org.apache.empire.commons.StringUtils
Converts an objects to a string.
valueOf(String) - Static method in enum org.apache.empire.data.DataType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.empire.db.context.DBRollbackManager.ReleaseAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.empire.db.DBCmpType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.empire.db.DBDDLGenerator.DDLActionType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.empire.db.DBIndex.DBIndexType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.empire.db.DBJoinType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.empire.db.DBRecordBase.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.empire.db.DBRelation.DBCascadeAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.empire.db.DBRowSet.FieldInitMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.empire.db.DBRowSet.PartialMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.empire.dbms.DBMSFeature
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.empire.dbms.DBSqlPhrase
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.empire.dbms.oracle.DBMSHandlerOracle.BooleanType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.empire.dbms.postgresql.PostgresExtractField
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.empire.dbms.postgresql.PostgresSqlPhrase
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.empire.commons.Options.InsertPos
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.empire.data.DataType
Returns an array containing the constants of this enum type, in the order they are declared.
values - Variable in class org.apache.empire.data.list.DataListEntry
 
values() - Static method in enum org.apache.empire.db.context.DBRollbackManager.ReleaseAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.empire.db.DBCmpType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.empire.db.DBDDLGenerator.DDLActionType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.empire.db.DBIndex.DBIndexType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.empire.db.DBJoinType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.empire.db.DBRecordBase.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.empire.db.DBRelation.DBCascadeAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.empire.db.DBRowSet.FieldInitMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.empire.db.DBRowSet.PartialMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.empire.dbms.DBMSFeature
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.empire.dbms.DBSqlPhrase
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.empire.dbms.oracle.DBMSHandlerOracle.BooleanType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.empire.dbms.postgresql.PostgresExtractField
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.empire.dbms.postgresql.PostgresSqlPhrase
Returns an array containing the constants of this enum type, in the order they are declared.
valueTooBigErrorType - Static variable in exception org.apache.empire.db.exceptions.FieldValueOutOfRangeException
 
valueTooSmallErrorType - Static variable in exception org.apache.empire.db.exceptions.FieldValueOutOfRangeException
 
views - Variable in class org.apache.empire.db.DBDatabase
 

W

warnCount - Variable in class org.apache.empire.db.validation.DBModelErrorLogger
 
wasAnyModified(Column...) - Method in class org.apache.empire.db.DBRecordBase
Returns true if any of the given fields was modified.
wasModified(Column) - Method in class org.apache.empire.data.bean.BeanRecordProxy
Detects whether or not a particular field has been modified.
wasModified(Column) - Method in interface org.apache.empire.data.Record
checks whether or not the field for the given column has been modified since it has been loaded.
wasModified(int) - Method in class org.apache.empire.db.DBRecordBase
Returns true if the field was modified.
wasModified(Column) - Method in class org.apache.empire.db.DBRecordBase
Returns true if the field was modified.
when(DBCompareExpr, Object) - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns a sql-expression for the SQL case-phrase.
where - Variable in class org.apache.empire.db.DBCommand
 
where(DBCompareExpr) - Method in class org.apache.empire.db.DBCommand
Adds a constraint to the where phrase of the sql statement If another restriction already exists for the same column it will be replaced.
where(DBCompareExpr...) - Method in class org.apache.empire.db.DBCommand
Adds a list of constraints to the where phrase of the sql statement If another restriction already exists for the same column it will be replaced.
where(DBCompareExpr) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
This function adds an additional constraint to the join.
writeContext(ObjectOutputStream) - Method in class org.apache.empire.db.DBRecord
 
writeRowSet(ObjectOutputStream) - Method in class org.apache.empire.db.DBRecord
 

X

XMLConfiguration - Class in org.apache.empire.xml
This class manages the configuration of a Java Bean by an xml configuration file.
XMLConfiguration() - Constructor for class org.apache.empire.xml.XMLConfiguration
 
XMLUtil - Class in org.apache.empire.xml
This class provides a collection of static helper functions for common XML tasks.
XMLWriter - Class in org.apache.empire.xml
This class prints out a XML-DOM-Tree to an output stream.
XMLWriter(Writer, String) - Constructor for class org.apache.empire.xml.XMLWriter
Creates a XML Writer object.
XMLWriter(OutputStream, String) - Constructor for class org.apache.empire.xml.XMLWriter
Creates a XML Writer object.
XMLWriter(OutputStream) - Constructor for class org.apache.empire.xml.XMLWriter
Constructor

Y

year() - Method in class org.apache.empire.db.DBColumnExpr
Creates and returns an function object that calculates the year of a date value.
A B C D E F G H I J K L M N O P Q R S T U V W X Y 
Skip navigation links

Copyright © 2008–2023 Apache Software Foundation. All rights reserved.