- 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
-
- addAlterTableStmt(DBColumn, StringBuilder, 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, DataMode, 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, DataMode) - 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, 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 DBTableColumn object and adds it to the column collection.
- addColumn(DBView.DBViewColumn) - 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.
- addColumnDesc(Element) - Method in class org.apache.empire.db.DBReader
-
Moves the cursor down one row from its current position.
- addColumnDesc(Element) - Method in class org.apache.empire.db.DBRecord
-
This function set the field descriptions to the the XML tag.
- addColumnDesc(Element) - Method in class org.apache.empire.db.DBRecordData
-
- addColumnReference(DBColumn, DBColumn) - Method in class org.apache.empire.db.DBRowSet
-
Adds a column reference to the list of table references.
- addCompareExpr(StringBuilder, long) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
-
Add the comparison operator and value to the SQL-Command.
- addCreateIndexStmt(DBIndex, StringBuilder, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
-
- addCreateRelationStmt(DBRelation, StringBuilder, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
-
- addCreateTableStmt(DBTable, StringBuilder, DBSQLScript) - Method in class org.apache.empire.db.DBDDLGenerator
-
- addCreateViewStmt(DBView, StringBuilder, 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.
- addDelete(DBCommand, DBTable) - Method in class org.apache.empire.db.DBSQLScript
-
Adds an delete statement
- 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
-
- addEnableRelationStmt(DBRelation, boolean, DBSQLScript) - Method in class org.apache.empire.db.DBDatabaseDriver
-
Appends a statement to enable or disable a foreign key relation.
- addEnableRelationStmt(DBRelation, boolean, DBSQLScript) - Method in class org.apache.empire.db.oracle.DBDatabaseDriverOracle
-
- addEnableRelationStmt(DBRelation, boolean, DBSQLScript) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
- addFrom(StringBuilder) - Method in class org.apache.empire.db.DBCommand
-
- addGrouping(StringBuilder) - Method in class org.apache.empire.db.DBCommand
-
- addIndex(DBIndex) - 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[], DBRecord) - 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.db.sqlite.DBDatabaseDriverSQLite.DBCommandSQLite
-
- addListExpr(StringBuilder, 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(StringBuilder) - 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, DataMode, String) - Method in class org.apache.empire.data.bean.BeanClass
-
- addProp(String, DataType, double, DataMode) - 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) - 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.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.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.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.DBExistsExpr
-
- addReferencedColumns(Set<DBColumn>) - Method in class org.apache.empire.db.expr.compare.DBParenthesisExpr
-
- 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.db.oracle.OracleRowNumExpr
-
- 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.
- addRows(Element) - Method in class org.apache.empire.db.DBReader
-
Adds all children to a parent.
- addRowValues(Element) - Method in class org.apache.empire.db.DBReader
-
Adds all children to a parent.
- addRowValues(Element) - Method in class org.apache.empire.db.DBRecord
-
Add the values of this record to the specified XML Element object.
- addRowValues(Element) - Method in class org.apache.empire.db.DBRecordData
-
- addSelect(StringBuilder) - Method in class org.apache.empire.db.DBCommand
-
- addSelect(StringBuilder) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL.DBCommandMSSQL
-
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.DBCmdParam
-
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.DBColumn
-
Adds the colunm name to the SQL-Command.
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.DBCommandExpr
-
Creates the SQL-Command.
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdColumn
-
create the SQL-Command set the expression name to the SQL-Command
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
Creates the SQL-Command adds the select statement into the SQL-Command.
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.DBExpr
-
Used to build the SQL command.
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.DBQuery
-
Adds the select SQL Command of this object to the specified StringBuilder object.
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.DBTable
-
Adds the table's name to the supplied sql command buffer.
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.DBView
-
Creates the SQL-Command adds the alias name to the SQL-Command.
- addSQL(StringBuilder, 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(StringBuilder, long) - Method in class org.apache.empire.db.expr.column.DBAliasExpr
-
Creates the SQL-Command adds the alias name to the SQL-Command.
- addSQL(StringBuilder, 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(StringBuilder, long) - Method in class org.apache.empire.db.expr.column.DBCaseExpr
-
- addSQL(StringBuilder, 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(StringBuilder, long) - Method in class org.apache.empire.db.expr.column.DBConvertExpr
-
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.expr.column.DBCountExpr
-
Creates the SQL-Command adds the String "count(*)" to the SQL-Command.
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.expr.column.DBDecodeExpr
-
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.expr.column.DBFuncExpr
-
Creates the SQL-Command adds a function to the SQL-Command.
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.expr.column.DBScalarExpr
-
Creates the SQL-Command.
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.expr.column.DBValueExpr
-
Creates the SQL-Command.
- addSQL(StringBuilder, 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(StringBuilder, long) - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
-
Creates the SQL-Command.
- addSQL(StringBuilder, 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(StringBuilder, long) - Method in class org.apache.empire.db.expr.compare.DBExistsExpr
-
Creates the SQL-Command.
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.expr.compare.DBParenthesisExpr
-
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
Not allowed, this operation have to be done in the DBCommand object.
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.expr.join.DBCompareJoinExpr
-
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.expr.join.DBCrossJoinExpr
-
Not allowed, this operation have to be done in the DBCommand object.
- addSQL(StringBuilder, 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(StringBuilder, long) - Method in class org.apache.empire.db.expr.set.DBSetExpr
-
Creates the SQL-Command.
- addSQL(StringBuilder, long) - Method in class org.apache.empire.db.oracle.OracleRowNumExpr
-
Creates the SQL-Command.
- addStatementParam(PreparedStatement, int, Object) - Method in class org.apache.empire.db.DBDatabaseDriver
-
Adds a statement parameter to a prepared statement
- 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(StringBuilder) - 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.
- addTimestampColumn(String) - Method in class org.apache.empire.db.DBTable
-
Adds a timestamp column to the table used for optimistic locking.
- addUpdate(DBCommand) - Method in class org.apache.empire.db.DBSQLScript
-
Adds an update statement
- addView(DBView) - Method in class org.apache.empire.db.DBDatabase
-
Adds a DBView object to list of database views.
- addWhere(StringBuilder, long) - Method in class org.apache.empire.db.DBCommand
-
- addWhere(StringBuilder) - 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, long) - 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
-
- 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.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.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.oracle.OracleRowNumExpr
-
this helper function calls the DBColumnExpr.addXML(Element, long) method
- alias - Variable in class org.apache.empire.db.DBQuery
-
- allowFieldChange(DBColumn) - Method in class org.apache.empire.db.DBRecord
-
Checks whether or not this field can be changed at all.
- alterColumnPhrase - Variable in class org.apache.empire.db.DBDDLGenerator
-
- alterTable(DBTableColumn, DBCmdType, 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(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.
- appendColumnDataType(DataType, double, DBTableColumn, StringBuilder) - Method in class org.apache.empire.db.DBDDLGenerator
-
appends the data type of a column
- appendColumnDataType(DataType, double, DBTableColumn, StringBuilder) - Method in class org.apache.empire.db.derby.DerbyDDLGenerator
-
- appendColumnDataType(DataType, double, DBTableColumn, StringBuilder) - Method in class org.apache.empire.db.h2.H2DDLGenerator
-
- appendColumnDataType(DataType, double, DBTableColumn, StringBuilder) - Method in class org.apache.empire.db.mysql.MySQLDDLGenerator
-
- appendColumnDataType(DataType, double, DBTableColumn, StringBuilder) - Method in class org.apache.empire.db.oracle.OracleDDLGenerator
-
- appendColumnDataType(DataType, double, DBTableColumn, StringBuilder) - Method in class org.apache.empire.db.postgresql.PostgreDDLGenerator
-
- appendColumnDataType(DataType, double, DBTableColumn, StringBuilder) - Method in class org.apache.empire.db.sqlserver.MSSqlDDLGenerator
-
- appendColumnDesc(DBTableColumn, boolean, StringBuilder) - Method in class org.apache.empire.db.DBDDLGenerator
-
Appends a table column definition to a ddl statement
- appendColumnDesc(DBTableColumn, boolean, StringBuilder) - Method in class org.apache.empire.db.derby.DerbyDDLGenerator
-
- appendColumnDesc(DBTableColumn, boolean, StringBuilder) - Method in class org.apache.empire.db.postgresql.PostgreDDLGenerator
-
- appendElementName(StringBuilder, String, boolean) - Method in class org.apache.empire.db.DBDatabaseDriver
-
Appends a table, view or column name to an SQL phrase.
- appendElementName(StringBuilder, String) - Method in class org.apache.empire.db.DBDatabaseDriver
-
Appends a table, view or column name to an SQL phrase.
- appendElementName(StringBuilder, String) - Method in class org.apache.empire.db.DBDDLGenerator
-
- appendQualifiedName(StringBuilder, 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).
- appendSQLTextValue(StringBuilder, String) - Method in class org.apache.empire.db.DBDatabaseDriver
-
this helper function doubles up single quotes for SQL
- appendSQLTextValue(StringBuilder, String) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
this helper function doubles up single quotes for SQL
- 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
- attachDatabase(DBDatabase, Connection) - Method in class org.apache.empire.db.DBDatabaseDriver
-
Called when a database is opened
- attachDatabase(DBDatabase, Connection) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
- attachDatabase(DBDatabase, Connection) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
Called when a database is opened
- 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
-
- Attributes.Attribute(String, Object, String) - Constructor for class org.apache.empire.commons.Attributes.Attribute
-
- Attributes.Attribute(String, Object) - Constructor for class org.apache.empire.commons.Attributes.Attribute
-
- 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.
- C_CHAR_LENGTH - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBColInfo
-
- C_COLUMN_NAME - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBColComments
-
- C_COLUMN_NAME - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBColInfo
-
- C_COLUMN_NAME - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBUserConCol
-
- C_COMMENTS - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBColComments
-
- C_COMMENTS - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBTabComments
-
- C_CONSTRAINT_NAME - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBConstraints
-
- C_CONSTRAINT_NAME - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBUserConCol
-
- C_CONSTRAINT_TYPE - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBConstraints
-
- C_DATA_LENGTH - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBColInfo
-
- C_DATA_PRECISION - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBColInfo
-
- C_DATA_SCALE - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBColInfo
-
- C_DATA_TYPE - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBColInfo
-
- C_DATA_TYPE_MOD - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBColInfo
-
- C_DATA_TYPE_OWNER - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBColInfo
-
- C_NULLABLE - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBColInfo
-
- C_OWNER - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBColComments
-
- C_OWNER - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBColInfo
-
- C_OWNER - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBTabComments
-
- C_OWNER - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBUserConCol
-
- C_R_CONSTRAINT_NAME - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBConstraints
-
- C_SEQNAME - Variable in class org.apache.empire.db.DBDatabaseDriver.DBSeqTable
-
- C_SEQVALUE - Variable in class org.apache.empire.db.DBDatabaseDriver.DBSeqTable
-
- C_STATUS - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBConstraints
-
- C_TABLE_NAME - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBColComments
-
- C_TABLE_NAME - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBColInfo
-
- C_TABLE_NAME - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBConstraints
-
- C_TABLE_NAME - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBTabComments
-
- C_TABLE_NAME - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBUserConCol
-
- C_TABLE_TYPE - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase.DBTabComments
-
- C_TIMESTAMP - Variable in class org.apache.empire.db.DBDatabaseDriver.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
"case when then else end"
This is a helper function to simplify client usage
- 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 is null then else end"
This is a helper function to simplify client usage
- CC - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase
-
- ceiling() - Method in class org.apache.empire.db.DBColumnExpr
-
Create and returns an expression for the SQL-function ceil()
- changeState(DBRecord.State) - Method in class org.apache.empire.db.DBRecord
-
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.oracle.OracleDBModelChecker
-
- checkBoolColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
-
- 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
-
- 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
-
- checkDatabase(DBExpr) - Method in class org.apache.empire.db.DBCommand
-
- checkDatabase(DBDatabase, String, Connection) - Method in class org.apache.empire.db.DBDatabaseDriver
-
Checks the database whether or not it is consistent with the description.
- checkDatabase(DBDatabase, String, Connection) - Method in class org.apache.empire.db.oracle.DBDatabaseDriverOracle
-
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.db.oracle.OracleDataDictionnary
-
- checkDBViewDefinition(List<DBView>) - Method in class org.apache.empire.db.oracle.OracleDataDictionnary
-
- checkDecimalColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
-
- checkFloatColumn(DBColumn, DBColumn, 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, String, DBModelErrorHandler) - Method in class org.apache.empire.db.oracle.OracleDBModelChecker
-
- checkModel(DBDatabase, Connection, String, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
-
This method is used to check the database model
- 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.
- checkTextColumn(DBColumn, DBColumn, DBModelErrorHandler) - Method in class org.apache.empire.db.validation.DBModelChecker
-
- checkUniqueConstraints(DBRecord, Connection) - 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
- checkValue(Object) - Method in class org.apache.empire.db.DBColumn
-
Deprecated.
use validate() instead
- CI - Variable in class org.apache.empire.db.oracle.OracleSYSDatabase
-
- clear() - Method in class org.apache.empire.commons.Attributes
-
- clear() - Method in class org.apache.empire.commons.Options
-
- 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.db.oracle.DBCommandOracle
-
- clearConnectBy() - Method in class org.apache.empire.db.oracle.DBCommandOracle
-
Clears the connectBy Expression.
- clearGroupBy() - Method in class org.apache.empire.db.DBCommand
-
Clears the list of group by constraints.
- clearHaving() - Method in class org.apache.empire.db.DBCommand
-
Clears the list of having constraints.
- clearJoin() - Method in class org.apache.empire.db.DBCommand
-
Clears the list of join expressions.
- 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.db.h2.DBDatabaseDriverH2.DBCommandH2
-
- clearLimit() - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL.DBCommandMySQL
-
- clearLimit() - Method in class org.apache.empire.db.oracle.DBCommandOracle
-
- clearLimit() - Method in class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL.DBCommandPostreSQL
-
- clearLimit() - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL.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 list of set expressions.
- clearWhere() - Method in class org.apache.empire.db.DBCommand
-
Clears the list of where constraints.
- 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.DBRecord
- clone() - Method in class org.apache.empire.db.DBTable
-
Clones this table and assigns a new table alias.
- close(Connection) - Method in class org.apache.empire.db.DBDatabase
-
closes this database object by detaching it from the driver
this is a shortcut for calling
getDriver().closeDatabase(db, conn)
- close(Statement) - Method in class org.apache.empire.db.DBDatabaseDriver
-
- 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.DBRecord
-
Closes the record by releasing all resources and resetting the record's state to invalid.
- close() - Method in class org.apache.empire.db.DBRecordData
-
- closeResultSet(ResultSet) - Method in class org.apache.empire.db.DBDatabase
-
Convenience function for closing a JDBC Resultset
Use it instead of rset.close() and stmt.close()
- closeStatement(Statement) - Method in class org.apache.empire.db.DBDatabase
-
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
-
- 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.db.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_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_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
-
- 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.column.DBValueExpr
-
- 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.
- 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.db.DBRowSet
-
- 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
- commandSeparator - Variable in class org.apache.empire.db.DBSQLScript
-
- comment - Variable in class org.apache.empire.db.DBColumn
-
- comment - Variable in class org.apache.empire.db.DBRowSet
-
- commit(Connection) - Method in class org.apache.empire.db.DBDatabase
-
Makes all changes made since the previous commit/rollback
permanent and releases any database locks currently held by the
Connection.
- 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 object arrrays 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.
- compareExpr - Variable in class org.apache.empire.db.expr.compare.DBExistsExpr
-
- compExpr - Variable in class org.apache.empire.db.expr.join.DBColumnJoinExpr
-
- completeInitRecord(DBRecord) - Method in class org.apache.empire.db.DBRowSet
-
Completes the record initialization.
- connectBy - Variable in class org.apache.empire.db.oracle.DBCommandOracle
-
- connectByPrior(DBCompareExpr) - Method in class org.apache.empire.db.oracle.DBCommandOracle
-
- ConstraintViolationException - Exception in org.apache.empire.db.exceptions
-
- ConstraintViolationException(DBObject, String, SQLException) - Constructor for exception org.apache.empire.db.exceptions.ConstraintViolationException
-
- 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 wheter or not a array contains a certain item
- contains(Object) - Method in class org.apache.empire.commons.Options
-
- 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
- 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.
- 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(DBRowSet, Connection) - Method in class org.apache.empire.db.DBRecord
-
Creates a new record for the given table.
- create(DBRowSet) - Method in class org.apache.empire.db.DBRecord
-
Creates a new record for the given table.
- createCombinedCommand(DBCommandExpr, String, DBCommandExpr) - Method in class org.apache.empire.db.DBDatabaseDriver
-
This function gives the driver 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.db.mysql.DBDatabaseDriverMySQL
-
- createCommand() - Method in class org.apache.empire.db.DBDatabase
-
Creates a new Command object for this database
- createCommand(DBDatabase) - Method in class org.apache.empire.db.DBDatabaseDriver
-
This function creates a DBCommand derived object this database
- 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(DBDatabase) - Method in class org.apache.empire.db.derby.DBDatabaseDriverDerby
-
Creates a new Derby command object.
- createCommand(DBDatabase) - Method in class org.apache.empire.db.h2.DBDatabaseDriverH2
-
Creates a new H2 command object.
- createCommand(DBDatabase) - Method in class org.apache.empire.db.hsql.DBDatabaseDriverHSql
-
Creates a new HSQLDB command object.
- createCommand(DBDatabase) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
Creates a new MySQL command object.
- createCommand(DBDatabase) - Method in class org.apache.empire.db.oracle.DBDatabaseDriverOracle
-
Creates a new Oracle command object.
- createCommand(DBDatabase) - Method in class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL
-
Creates a new PostgreSQL command object.
- createCommand(DBDatabase) - Method in class org.apache.empire.db.sqlite.DBDatabaseDriverSQLite
-
Creates a new SQLite command object.
- createCommand(DBDatabase) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
Creates a new Microsoft SQL-Server command object.
- createComment(DBDatabase, String, DBExpr, String, DBSQLScript) - Method in class org.apache.empire.db.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.db.hsql.HSqlDDLGenerator
-
- createDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.db.mysql.MySQLDDLGenerator
-
- createDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.db.oracle.OracleDDLGenerator
-
- createDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.db.postgresql.PostgreDDLGenerator
-
- createDatabase(DBDatabase, DBSQLScript) - Method in class org.apache.empire.db.sqlserver.MSSqlDDLGenerator
-
- 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
- createOptionEntry(Object, String) - Method in class org.apache.empire.commons.Options
-
- createQueryColumn(DBColumnExpr) - Method in class org.apache.empire.db.DBQuery
-
factory method for column expressions in order to allow overrides
- createRecord(DBRecord, Connection) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
Returns the error message: ERR_NOTSUPPORTED
- createRecord(DBRecord, Connection) - Method in class org.apache.empire.db.DBQuery
-
Returns an error, because it is not possible to add a record to a query.
- createRecord(DBRecord, Connection) - Method in class org.apache.empire.db.DBRowSet
-
- createRecord(DBRecord, Connection) - Method in class org.apache.empire.db.DBTable
-
Gets all table fields and the fields properties.
- createRecord(DBRecord, Connection) - Method in class org.apache.empire.db.DBView
-
- 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.db.sqlite.SQLiteDDLGenerator
-
- createReverseFunction(Connection) - Method in class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL
-
Creates the reverse function in postgre sql that returns the reverse of a string value.
- createSequence(DBDatabase, DBTableColumn, DBSQLScript) - Method in class org.apache.empire.db.hsql.HSqlDDLGenerator
-
Appends the DDL-Script for creating a sequence to an SQL-Script
- createSequence(DBDatabase, DBTableColumn, DBSQLScript) - Method in class org.apache.empire.db.oracle.OracleDDLGenerator
-
Returns true if the sequence has been created successfully.
- createSequence(DBDatabase, DBTableColumn, DBSQLScript) - Method in class org.apache.empire.db.postgresql.PostgreDDLGenerator
-
Appends the DDL-Script for creating a sequence to an SQL-Script
- 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.db.mysql.MySQLDDLGenerator
-
Appends the DDL-Script for creating the given table to an SQL-Script
- createTable(DBTable, DBSQLScript) - Method in class org.apache.empire.db.oracle.OracleDDLGenerator
-
- createTable(DBTable, DBSQLScript) - Method in class org.apache.empire.db.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
- 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.db.mysql.MySQLDDLGenerator
-
Appends the DDL-Script for creating the given view to an SQL-Script
- 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_NOPARENTHESES - 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
-
- data - Variable in class org.apache.empire.data.bean.BeanRecordProxy
-
- DatabaseMismatchException - Exception in org.apache.empire.db.exceptions
-
- DatabaseMismatchException(DBExpr, DBExpr) - Constructor for exception org.apache.empire.db.exceptions.DatabaseMismatchException
-
- 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
-
- DataMode - Enum in org.apache.empire.data
-
DataMode is an enumeration that specifies whether the value of a column is readonly, optional (nullable), required (NotNull), or auto-generated
- dataMode - Variable in class org.apache.empire.db.DBTableColumn
-
- 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.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.db.mysql.MySQLDDLGenerator
-
- DATATYPE_INT_SMALL - Variable in class org.apache.empire.db.DBDDLGenerator
-
- DATATYPE_INT_TINY - Variable in class org.apache.empire.db.mysql.MySQLDDLGenerator
-
- DATATYPE_INTEGER - 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
-
- DATETIME_PATTERN - Static variable in class org.apache.empire.db.DBDatabase
-
- 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.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, DBColumn, 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.
- 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
- 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.
- 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(...)
- DBCmdType - Enum in org.apache.empire.db
-
This enum allocates the available command types.
- DBCmpType - Enum in org.apache.empire.db
-
This enum allocates the available compare types.
- DBCOLATTR_READONLY - Static variable in class org.apache.empire.db.DBColumn
-
Read only column (Boolean)
- DBCOLATTR_SINGLEBYTECHARS - Static variable in class org.apache.empire.db.DBColumn
-
Read only column (Boolean)
- DBCOLATTR_TITLE - Static variable in class org.apache.empire.db.DBColumnExpr
-
- DBCOLATTR_TYPE - Static variable in class org.apache.empire.db.DBColumnExpr
-
- 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(DBDatabase) - 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() - 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.DBCmdColumn(DBRowSet, DBColumnExpr) - Constructor for class org.apache.empire.db.DBCommandExpr.DBCmdColumn
-
Constructs a new DBCmdColumn object
- DBCommandExpr.DBCmdQuery - Class in org.apache.empire.db
-
- DBCommandExpr.DBCmdQuery(DBCommandExpr, DBColumnExpr[]) - Constructor for class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
Creates a new DBCmdQueryObject
- DBCommandOracle - Class in org.apache.empire.db.oracle
-
This class handles the special features of an oracle database.
- DBCommandOracle(DBDatabase) - Constructor for class org.apache.empire.db.oracle.DBCommandOracle
-
Constructs an oracle command object.
- 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
- 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.
- 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.
- DBDatabaseDriver - Class in org.apache.empire.db
-
The DBDatabaseDriver class is an abstract base class for all database drivers.
- DBDatabaseDriver() - Constructor for class org.apache.empire.db.DBDatabaseDriver
-
Constructor
- DBDatabaseDriver.DBSeqTable - Class in org.apache.empire.db
-
This class is used to emulate sequences by using a sequence table.
- DBDatabaseDriver.DBSeqTable(String, DBDatabase) - Constructor for class org.apache.empire.db.DBDatabaseDriver.DBSeqTable
-
Constructor
- DBDatabaseDriver.DBSetGenKeys - Interface in org.apache.empire.db
-
This interface is used to set the auto generated keys when executing insert statements.
- DBDatabaseDriverDerby - Class in org.apache.empire.db.derby
-
This class provides support for the Derby database system.
- DBDatabaseDriverDerby() - Constructor for class org.apache.empire.db.derby.DBDatabaseDriverDerby
-
Constructor for the Derby database driver.
- DBDatabaseDriverDerby.DBCommandDerby - Class in org.apache.empire.db.derby
-
Defines the Derby command type.
- DBDatabaseDriverDerby.DBCommandDerby(DBDatabase) - Constructor for class org.apache.empire.db.derby.DBDatabaseDriverDerby.DBCommandDerby
-
- DBDatabaseDriverH2 - Class in org.apache.empire.db.h2
-
This class provides support for the H2 database system.
- DBDatabaseDriverH2() - Constructor for class org.apache.empire.db.h2.DBDatabaseDriverH2
-
Constructor for the H2 database driver.
- DBDatabaseDriverH2.DBCommandH2 - Class in org.apache.empire.db.h2
-
Defines the H2 command type.
- DBDatabaseDriverH2.DBCommandH2(DBDatabase) - Constructor for class org.apache.empire.db.h2.DBDatabaseDriverH2.DBCommandH2
-
- DBDatabaseDriverHSql - Class in org.apache.empire.db.hsql
-
This class provides support for the HSQLDB database system.
- DBDatabaseDriverHSql() - Constructor for class org.apache.empire.db.hsql.DBDatabaseDriverHSql
-
Constructor for the HSQLDB database driver.
- DBDatabaseDriverHSql.DBCommandHSql - Class in org.apache.empire.db.hsql
-
Defines the HSQLDB command type.
- DBDatabaseDriverHSql.DBCommandHSql(DBDatabase) - Constructor for class org.apache.empire.db.hsql.DBDatabaseDriverHSql.DBCommandHSql
-
- DBDatabaseDriverMSSQL - Class in org.apache.empire.db.sqlserver
-
This class provides support for the Microsoft SQL-Server database system.
- DBDatabaseDriverMSSQL() - Constructor for class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
Constructor for the MSSQL database driver.
- DBDatabaseDriverMSSQL.DBCommandMSSQL - Class in org.apache.empire.db.sqlserver
-
Defines the Microsoft SQL-Server command type.
- DBDatabaseDriverMSSQL.DBCommandMSSQL(DBDatabase) - Constructor for class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL.DBCommandMSSQL
-
- DBDatabaseDriverMySQL - Class in org.apache.empire.db.mysql
-
This class provides support for the MySQL database system.
- DBDatabaseDriverMySQL() - Constructor for class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
Constructor for the MySQL database driver.
- DBDatabaseDriverMySQL.DBCommandMySQL - Class in org.apache.empire.db.mysql
-
Defines the MySQL command type.
- DBDatabaseDriverMySQL.DBCommandMySQL(DBDatabase) - Constructor for class org.apache.empire.db.mysql.DBDatabaseDriverMySQL.DBCommandMySQL
-
- DBDatabaseDriverOracle - Class in org.apache.empire.db.oracle
-
This class provides support for the Oracle database system.
- DBDatabaseDriverOracle() - Constructor for class org.apache.empire.db.oracle.DBDatabaseDriverOracle
-
Constructor for the Oracle database driver.
- DBDatabaseDriverOracle.BooleanType - Enum in org.apache.empire.db.oracle
-
- DBDatabaseDriverPostgreSQL - Class in org.apache.empire.db.postgresql
-
This class provides support for the PostgreSQL database system.
- DBDatabaseDriverPostgreSQL() - Constructor for class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL
-
Constructor for the PostgreSQL database driver.
- DBDatabaseDriverPostgreSQL.DBCommandPostreSQL - Class in org.apache.empire.db.postgresql
-
Defines the PostgreSQL command type.
- DBDatabaseDriverPostgreSQL.DBCommandPostreSQL(DBDatabase) - Constructor for class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL.DBCommandPostreSQL
-
- DBDatabaseDriverSQLite - Class in org.apache.empire.db.sqlite
-
This class provides support for the SQLite database system.
- DBDatabaseDriverSQLite() - Constructor for class org.apache.empire.db.sqlite.DBDatabaseDriverSQLite
-
Constructor for the SQLite database driver.
- DBDatabaseDriverSQLite.DBCommandSQLite - Class in org.apache.empire.db.sqlite
-
Defines the SQLite command type.
- DBDatabaseDriverSQLite.DBCommandSQLite(DBDatabase) - Constructor for class org.apache.empire.db.sqlite.DBDatabaseDriverSQLite.DBCommandSQLite
-
- DBDDLGenerator<T extends DBDatabaseDriver> - Class in org.apache.empire.db
-
- DBDDLGenerator(T) - Constructor for class org.apache.empire.db.DBDDLGenerator
-
- 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
- DBDriverFeature - Enum in org.apache.empire.db
-
This enum is used with the DBDatabaseDriver::isSupported method to query database driver capabilities.
- 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, boolean, DBExpr...) - Constructor for class org.apache.empire.db.DBExpressionIndex
-
Constructs a DBExpresionIndex
- DBExpressionIndex(String, boolean, DBColumnExpr) - Constructor for class org.apache.empire.db.DBExpressionIndex
-
Constructs a DBExpresionIndex
- 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, int, Object[], DBColumn, boolean, 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[], DBColumn, 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, int, DBColumn[]) - Constructor for class org.apache.empire.db.DBIndex
-
Constructs a DBIndex object set the specified parameters to this object.
- 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() - Constructor for class org.apache.empire.db.validation.DBModelChecker
-
- DBModelChecker.InMemoryDatabase - Class in org.apache.empire.db.validation
-
- DBModelChecker.InMemoryDatabase() - Constructor for class org.apache.empire.db.validation.DBModelChecker.InMemoryDatabase
-
- DBModelErrorHandler - Interface in org.apache.empire.db.validation
-
- DBModelErrorLogger - Class in org.apache.empire.db.validation
-
- DBModelErrorLogger() - Constructor for class org.apache.empire.db.validation.DBModelErrorLogger
-
- 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.compare
-
This class wraps an existing compare expression with parenthesis.
- DBParenthesisExpr(DBCompareExpr) - Constructor for class org.apache.empire.db.expr.compare.DBParenthesisExpr
-
- 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.
- DBQueryColumn - Class in org.apache.empire.db
-
- DBQueryColumn(DBQuery, DBColumnExpr) - Constructor for class org.apache.empire.db.DBQueryColumn
-
Constructs a DBQueryColumn object set the specified parameters to this object.
- DBReader - Class in org.apache.empire.db
-
This class is used to perform database queries from a DBCommand object and access the results.
- DBReader() - Constructor for class org.apache.empire.db.DBReader
-
Constructs a default DBReader object with the fieldIndexMap enabled.
- DBReader(boolean) - Constructor for class org.apache.empire.db.DBReader
-
Constructs an empty DBRecordSet object.
- DBReader.DBReaderForwardIterator - Class in org.apache.empire.db
-
This is an iterator for forward only resultsets.
- DBReader.DBReaderForwardIterator(int) - Constructor for class org.apache.empire.db.DBReader.DBReaderForwardIterator
-
- DBReader.DBReaderIterator - Class in org.apache.empire.db
-
- DBReader.DBReaderIterator(int) - Constructor for class org.apache.empire.db.DBReader.DBReaderIterator
-
- DBReader.DBReaderScrollableIterator - Class in org.apache.empire.db
-
This is an iterator for scrolling resultsets.
- DBReader.DBReaderScrollableIterator(int) - Constructor for class org.apache.empire.db.DBReader.DBReaderScrollableIterator
-
- DBRecord - Class in org.apache.empire.db
-
This class handles one record from a database table.
- DBRecord() - Constructor for class org.apache.empire.db.DBRecord
-
Create a new DBRecord object.
- DBRecord(DBRowSet) - Constructor for class org.apache.empire.db.DBRecord
-
- DBRecord.State - Enum in org.apache.empire.db
-
- DBRecordData - Class in org.apache.empire.db
-
This interface defines for the classes DDRecordSet and DBRecord.
- DBRecordData() - Constructor for class org.apache.empire.db.DBRecordData
-
- 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
-
- DBRelation.DBReference(DBTableColumn, DBTableColumn) - Constructor for class org.apache.empire.db.DBRelation.DBReference
-
- 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.
- 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.
- 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.
- DBSQLScript - Class in org.apache.empire.db
-
DBSQLScript
This class is a collection of sql command strings.
- DBSQLScript() - Constructor for class org.apache.empire.db.DBSQLScript
-
- DBSQLScript(String) - Constructor for class org.apache.empire.db.DBSQLScript
-
- DBSQLScript.SQLStmt - Class in org.apache.empire.db
-
SQLCmd
- DBSQLScript.SQLStmt(String, Object[]) - Constructor for class org.apache.empire.db.DBSQLScript.SQLStmt
-
- 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, DataMode, 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()
- 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.
- DBValueExpr(DBColumnExpr, Object) - Constructor for class org.apache.empire.db.expr.column.DBValueExpr
-
Construct a new DBValueExpr object set the specified parameters to this object.
- 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
-
- DBView.DBViewColumn(DBView, String, DBColumnExpr) - 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.DBDatabaseDriver
-
- 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
-
- DEFAULT - Static variable in class org.apache.empire.db.DBTable
-
- defValue - Variable in class org.apache.empire.db.DBTableColumn
-
- delete(Connection) - Method in class org.apache.empire.db.DBRecord
-
This helper function calls the DBRowset.deleteRecord method
to delete the record.
- deleteAllReferences(Object[], Connection) - Method in class org.apache.empire.db.DBRowSet
-
Deletes all records which reference this table.
- deleteRecord(Object[], Connection) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
Returns the error message: ERR_NOTSUPPORTED
- deleteRecord(Object[], Connection) - Method in class org.apache.empire.db.DBQuery
-
Deletes a record identified by its primary key from the database.
- deleteRecord(Object[], Connection) - Method in class org.apache.empire.db.DBRowSet
-
- deleteRecord(Object, Connection) - Method in class org.apache.empire.db.DBRowSet
-
Deletes a single record from the database.
- deleteRecord(Object[], Connection) - 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[], Connection) - Method in class org.apache.empire.db.DBView
-
- deleteReferenceRecords(DBRelation.DBReference[], Object[], Connection) - Method in class org.apache.empire.db.DBRowSet
-
Deletes all records which are referenced by a particular relation.
- DerbyDDLGenerator - Class in org.apache.empire.db.derby
-
- DerbyDDLGenerator(DBDatabaseDriverDerby) - Constructor for class org.apache.empire.db.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
-
- destroy() - Method in class org.apache.empire.db.DBDatabase
-
Frees all resources and unregisters database in global map.
- detachDatabase(DBDatabase, Connection) - Method in class org.apache.empire.db.DBDatabaseDriver
-
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.db.DBDatabaseDriver
-
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.
- detectQuoteName(String) - Method in class org.apache.empire.db.DBDDLGenerator
-
- 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
-
- driver - Variable in class org.apache.empire.db.DBDatabase
-
- driver - Variable in class org.apache.empire.db.DBDDLGenerator
-
- driverFromObject(DBObject) - Static method in exception org.apache.empire.db.exceptions.EmpireSQLException
-
- 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.db.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
- GENERAL_SQL_KEYWORDS - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- 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
-
- 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.
- 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 futher metadata attributes.
- 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
-
- 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(C, Class<T>, 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.
- 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.
- getBeanPropertyValue(Object, ColumnExpr) - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
- getBeanPropertyValue(Object, String) - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
- 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.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.db.oracle.DBDatabaseDriverOracle
-
- getCharacterSet() - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
- getCharLength() - Method in class org.apache.empire.db.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.DBSQLScript.SQLStmt
-
- getCmdColumn(DBColumnExpr) - Method in class org.apache.empire.db.DBCommandExpr
-
returns column expression 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.
- getCmpop() - 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 interface org.apache.empire.data.Record
-
returns the column at the specified index.
- getColumn(int) - Method in class org.apache.empire.db.DBRecord
-
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 class org.apache.empire.db.DBDatabaseDriver
-
Returns an auto-generated value for a particular column
- getColumnAutoValue(DBDatabase, DBTableColumn, Connection) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
Returns an auto-generated value for a particular column
- getColumnExpr(int) - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
- getColumnExpr(int) - Method in interface org.apache.empire.data.RecordData
-
returns the column expression for a given column
This is the reverse operation of getFieldIndex()
- getColumnExpr(int) - Method in class org.apache.empire.db.DBReader
-
Get the column Expression at position
- getColumnExpr(int) - Method in class org.apache.empire.db.DBRecord
-
Returns a DBColumnExpr object by a specified index value.
- getColumnExpr(int) - Method in class org.apache.empire.db.DBRecordData
-
- getColumnExpr() - Method in class org.apache.empire.db.expr.compare.DBCompareColExpr
-
Gets the DBColumnExpr object
- getColumnExpr() - Method in class org.apache.empire.db.expr.order.DBOrderByExpr
-
- getColumnExprList() - Method in class org.apache.empire.db.DBReader
-
Access the column expression list
- getColumnIndex(DBColumn) - Method in class org.apache.empire.db.DBRowSet
-
Gets the index of a particular column expression.
- getColumnIndex(Column) - Method in class org.apache.empire.db.DBRowSet
-
Gets the index of a particular column expression.
- 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.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()).
- getColumnTitle(Column) - Static method in exception org.apache.empire.db.exceptions.FieldValueException
-
- getCommand() - Method in class org.apache.empire.data.bean.BeanResult
-
- 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
-
- 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 class org.apache.empire.db.DBDatabaseDriver
-
Returns a data type convertion phrase template for this driver
The returned template must contain a '?'
- getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.db.derby.DBDatabaseDriverDerby
-
- getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.db.h2.DBDatabaseDriverH2
-
- getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.db.hsql.DBDatabaseDriverHSql
-
- getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
- getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.db.oracle.DBDatabaseDriverOracle
-
- getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL
-
- getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.db.sqlite.DBDatabaseDriverSQLite
-
- getConvertPhrase(DataType, DataType, Object) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
- getCount() - Method in class org.apache.empire.db.DBSQLScript
-
Returns the number of statements in this script
- getCreateDDLScript(DBDatabaseDriver, DBSQLScript) - Method in class org.apache.empire.db.DBDatabase
-
Creates a DDL Script for creating all database objects on the target database.
- 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
-
Returns the current DBDatabase object.
- 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.DBRecord
-
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.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.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.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.DBExistsExpr
-
Returns the current DBDatabase object.
- getDatabase() - Method in class org.apache.empire.db.expr.compare.DBParenthesisExpr
-
- 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.oracle.OracleRowNumExpr
-
Returns the current DBDatabase object.
- getDatabaseDriver() - Method in class org.apache.empire.db.expr.column.DBAbstractFuncExpr
-
returns the Database driver or null if the Expression is not attached to an open database
This function is intended for convenience only.
- getDatabaseName() - Method in class org.apache.empire.db.derby.DBDatabaseDriverDerby
-
returns the name for the database / schema
- getDatabaseName() - Method in class org.apache.empire.db.h2.DBDatabaseDriverH2
-
returns the name for the database / schema
- getDatabaseName() - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
returns the name for the database / schema
- getDatabaseName() - Method in class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL
-
returns the name for the database / schema
- getDatabaseName() - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
- getDataLength() - Method in class org.apache.empire.db.oracle.OracleDataDictionnary.ColumnInfo
-
- getDataPrecision() - Method in class org.apache.empire.db.oracle.OracleDataDictionnary.ColumnInfo
-
- getDataScale() - Method in class org.apache.empire.db.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.DBCommandExpr.DBCmdColumn
-
Returns the data type of the DBColumnExpr object.
- 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.DBConcatExpr
-
- 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.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.oracle.OracleDataDictionnary.ColumnInfo
-
- getDataType() - Method in class org.apache.empire.db.oracle.OracleRowNumExpr
-
Returns the data type of the DBColumnExpr object.
- 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.
- 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) - 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.
- getDBColumn(int) - Method in class org.apache.empire.db.DBRecord
-
Returns the DBColumn for the field at the given index.
- getDDLScript(DBCmdType, DBObject, DBSQLScript) - Method in class org.apache.empire.db.DBDatabaseDriver
-
Appends the required DLL commands to create, drop or alter an object to the supplied DBDQLScript.
- getDDLScript(DBCmdType, 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(DBCmdType, DBObject, DBSQLScript) - Method in class org.apache.empire.db.derby.DBDatabaseDriverDerby
-
- getDDLScript(DBCmdType, DBObject, DBSQLScript) - Method in class org.apache.empire.db.h2.DBDatabaseDriverH2
-
- getDDLScript(DBCmdType, DBObject, DBSQLScript) - Method in class org.apache.empire.db.hsql.DBDatabaseDriverHSql
-
- getDDLScript(DBCmdType, DBObject, DBSQLScript) - Method in class org.apache.empire.db.hsql.HSqlDDLGenerator
-
- getDDLScript(DBCmdType, DBObject, DBSQLScript) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
- getDDLScript(DBCmdType, DBObject, DBSQLScript) - Method in class org.apache.empire.db.oracle.DBDatabaseDriverOracle
-
- getDDLScript(DBCmdType, DBObject, DBSQLScript) - Method in class org.apache.empire.db.oracle.OracleDDLGenerator
-
- getDDLScript(DBCmdType, DBObject, DBSQLScript) - Method in class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL
-
- getDDLScript(DBCmdType, DBObject, DBSQLScript) - Method in class org.apache.empire.db.sqlite.DBDatabaseDriverSQLite
-
- getDDLScript(DBCmdType, DBObject, DBSQLScript) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
- 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.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.
- getDefaultId() - Method in class org.apache.empire.db.DBDatabase
-
returns the default database id
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 the delete SQL-Command.
- getDelete(DBTable) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL.DBCommandMySQL
-
Creates an MySQL specific delete statement.
- getDelete(DBTable) - Method in class org.apache.empire.db.oracle.DBCommandOracle
-
Creates an Oracle specific delete statement.
- getDictionnary() - Method in class org.apache.empire.db.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.
- getDriver() - Method in class org.apache.empire.db.DBDatabase
-
Returns the driver for this database.
- getElementText(Node) - Static method in class org.apache.empire.xml.XMLUtil
-
Retrieves the text of a given element.
- getEnableDisableStatement(boolean) - 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.
- getEnableDisableStmt(boolean, DBDatabaseDriver) - 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.db.mysql.DBDatabaseDriverMySQL
-
Get the table engine that is used when creating new tables
- getEntry(Object) - Method in class org.apache.empire.commons.Options
-
- 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
- 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.expr.column.DBAliasExpr
-
This helper function returns the underlying column 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(int, Object[], DBColumn, boolean, DataType) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates a new DBFuncExpr from a given SQL-PRHASE and
optional additional parameters.
- getExprFromPhrase(int, Object[], DBColumn, boolean) - Method in class org.apache.empire.db.DBColumnExpr
-
- getFieldCount() - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
- 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.DBRecord
-
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 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.DBRecord
-
Returns the index value by a specified DBColumnExpr object.
- getFieldIndex(String) - Method in class org.apache.empire.db.DBRecord
-
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.DBRecord
-
Gets the possbile Options for a field in the context of the current record.
- getFieldOptions(Column) - Method in class org.apache.empire.db.DBRecord
-
Gets the possbile Options for a field in the context of the current record.
- getFields() - Method in class org.apache.empire.db.DBRecord
-
This function provides direct access to the record fields.
- 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.
- 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.DBConvertExpr
-
- getFunctionName() - Method in class org.apache.empire.db.expr.column.DBDecodeExpr
-
- getFunctionName() - Method in class org.apache.empire.db.expr.column.DBFuncExpr
-
- getId() - Method in class org.apache.empire.db.DBColumn
-
Gets an identifier for this RowSet Object
- getId() - Method in class org.apache.empire.db.DBDatabase
-
Returns the database instance id
- getId() - Method in class org.apache.empire.db.DBRowSet
-
Gets an identifier for this RowSet Object
- 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 the insert SQL-Command.
- 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.
- 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.
- getInstance() - Static method in class org.apache.empire.db.DBXmlDictionary
-
- 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.
- 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).
- 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.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.DBRecord
-
returns an array of key columns which uniquely identify the record.
- getKeyColumns() - Method in class org.apache.empire.db.DBRowSet
-
Returns an array of all primary key columns.
- getKeyValues() - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
Returns the array of primary key columns.
- getKeyValues() - Method in class org.apache.empire.db.DBRecord
-
Returns the array of primary key columns.
- 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.
- 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.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.BeanClass
-
returns the name of this class
- 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.DBConcatExpr
-
- 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.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.oracle.OracleRowNumExpr
-
Returns the column name.
- 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(String, Connection) - Method in class org.apache.empire.db.DBDatabase
-
- getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.db.DBDatabaseDriver
-
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.db.derby.DBDatabaseDriverDerby
-
- getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.db.h2.DBDatabaseDriverH2
-
- getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.db.hsql.DBDatabaseDriverHSql
-
- getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
- getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.db.oracle.DBDatabaseDriverOracle
-
- getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL
-
- getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.db.sqlite.DBDatabaseDriverSQLite
-
- getNextSequenceValue(DBDatabase, String, int, Connection) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.db.DBDatabaseDriver
-
Returns an expression for creating a sequence value.
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.db.derby.DBDatabaseDriverDerby
-
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.db.h2.DBDatabaseDriverH2
-
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.db.hsql.DBDatabaseDriverHSql
-
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.db.oracle.DBDatabaseDriverOracle
-
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL
-
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.db.sqlite.DBDatabaseDriverSQLite
-
- getNextSequenceValueExpr(DBTableColumn) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
- 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.db.DBDatabaseDriver.DBSeqTable
-
- getNullable() - Method in class org.apache.empire.db.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
-
- getNumParams() - Method in class org.apache.empire.commons.ErrorType
-
Returns the number of parameters required for the message pattern.
- getObjectOwner() - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
- getObjectValue(DataType, Object, long, String) - Method in class org.apache.empire.db.DBExpr
-
Returns the sql representation of a value.
- 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.db.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
-
- 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.
- 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.DBSQLScript.SQLStmt
-
- getParams() - Method in class org.apache.empire.db.expr.column.DBScalarExpr
-
return the value associated with this value expression
- 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.db.oracle.DBCommandOracle
-
- getPrimaryKey() - Method in class org.apache.empire.db.DBTable
-
Returns the primary key.
- getProperties() - Method in class org.apache.empire.data.bean.BeanClass
-
returns the list of properties for this class.
- getQualifiedName(String) - Method in class org.apache.empire.db.DBDatabase
-
Deprecated.
- getQueryColumns() - Method in class org.apache.empire.db.DBQuery
-
Gets all columns of this rowset (e.g. for cmd.select()).
- getQueryExpression() - Method in class org.apache.empire.db.DBQueryColumn
-
- getReader() - Method in class org.apache.empire.db.DBClobData
-
Get the Reader for the large string
- getRecordData(DBCommandExpr, Connection) - 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.
- getRecordKey(DBRecord) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
Prints the error message: ERR_NOTSUPPORTED.
- getRecordKey(DBRecord) - Method in class org.apache.empire.db.DBQuery
-
Returns a array of primary key columns by a specified DBRecord object.
- getRecordKey(DBRecord) - Method in class org.apache.empire.db.DBRowSet
-
Returns a array of primary key columns by a specified DBRecord object.
- 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.
- 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 class org.apache.empire.db.DBDatabaseDriver
-
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.db.oracle.DBDatabaseDriverOracle
-
Gets the value of a sql ResultSet.
- getResultValue(ResultSet, int, DataType) - Method in class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL
-
Postgre needs special handling for CLOBs and BLOB's
- getResultValue(ResultSet, int, DataType) - Method in class org.apache.empire.db.sqlite.DBDatabaseDriverSQLite
-
- 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
- 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
-
- 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.
- getRowSetData() - Method in class org.apache.empire.db.DBRecord
-
Returns the DBRowSet object.
- 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.
- 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(StringBuilder) - Method in class org.apache.empire.db.DBCombinedCmd
-
Creates the SQL-Command.
- getSelect(StringBuilder) - Method in class org.apache.empire.db.DBCommand
-
- getSelect(StringBuilder) - Method in class org.apache.empire.db.DBCommandExpr
-
- getSelect() - Method in class org.apache.empire.db.DBCommandExpr
-
returns an SQL select command for querying records.
- getSelect(StringBuilder) - Method in class org.apache.empire.db.h2.DBDatabaseDriverH2.DBCommandH2
-
- getSelect(StringBuilder) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL.DBCommandMySQL
-
- getSelect(StringBuilder) - Method in class org.apache.empire.db.oracle.DBCommandOracle
-
Creates an Oracle specific select statement
that supports special features of the Oracle DBMS
like e.g.
- getSelect(StringBuilder) - Method in class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL.DBCommandPostreSQL
-
- 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 a array of all select DBColumnExpr for this command
- getSelectExprList() - Method in class org.apache.empire.db.DBCommandExpr
-
- getSequenceName() - Method in class org.apache.empire.db.DBTableColumn
-
Gets the sequence name for this table's sequence (if it has one)
This is derived form the default value or auto generated if no default value is set
- getSequenceTableName() - Method in class org.apache.empire.db.derby.DBDatabaseDriverDerby
-
returns the name of the sequence table
- getSequenceTableName() - Method in class org.apache.empire.db.h2.DBDatabaseDriverH2
-
returns the name of the sequence table
- getSequenceTableName() - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
returns the name of the sequence table
- getSequenceTableName() - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
returns the name of the sequence table
- getSimpleUpdate() - Method in class org.apache.empire.db.oracle.DBCommandOracle
-
- 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.DBColumnExpr
-
Returns the source column.
- getSourceColumn() - Method in class org.apache.empire.db.DBRelation.DBReference
-
- getSourceColumnExpr() - Method in class org.apache.empire.db.DBView.DBViewColumn
-
- getSQLDateTimeString(Object, int, int, int) - Method in class org.apache.empire.db.DBDatabaseDriver
-
encodes a Date value for an SQL command string.
- getSQLNumberString(Object, DataType) - Method in class org.apache.empire.db.DBDatabaseDriver
-
encodes a numeric value for an SQL command string.
- getSQLPhrase(int) - Method in class org.apache.empire.db.DBDatabaseDriver
-
Returns an sql phrase template for this database system.
- getSQLPhrase(int) - Method in class org.apache.empire.db.derby.DBDatabaseDriverDerby
-
Gets an sql phrase template for this database system.
- getSQLPhrase(int) - Method in class org.apache.empire.db.h2.DBDatabaseDriverH2
-
Gets an sql phrase template for this database system.
- getSQLPhrase(int) - Method in class org.apache.empire.db.hsql.DBDatabaseDriverHSql
-
Gets an sql phrase template for this database system.
- getSQLPhrase(int) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
Gets an sql phrase template for this database system.
- getSQLPhrase(int) - Method in class org.apache.empire.db.oracle.DBDatabaseDriverOracle
-
Gets an sql phrase template for this database system.
- getSQLPhrase(int) - Method in class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL
-
Gets an sql phrase template for this database system.
- getSQLPhrase(int) - Method in class org.apache.empire.db.sqlite.DBDatabaseDriverSQLite
-
Gets an sql phrase template for this database system.
- getSQLPhrase(int) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
Gets an sql phrase template for this database system.
- getSQLTextString(DataType, Object) - Method in class org.apache.empire.db.DBDatabaseDriver
-
encodes Text values for an SQL command string.
- getSQLTextString(DataType, Object) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
- getState() - Method in class org.apache.empire.db.DBRecord
-
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(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.
- getTables() - Method in class org.apache.empire.db.DBDatabase
-
Returns the tables which have been defined in the database.
- getTargetColumn() - Method in class org.apache.empire.db.DBRelation.DBReference
-
- getText() - Method in class org.apache.empire.commons.OptionEntry
-
- 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
- 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 the update SQL-Command.
- getUpdate() - Method in class org.apache.empire.db.oracle.DBCommandOracle
-
Creates an Oracle specific update statement.
- getUpdateColumn() - Method in class org.apache.empire.db.DBColumn
-
Returns this object.
- 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.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.DBConcatExpr
-
- getUpdateColumn() - Method in class org.apache.empire.db.expr.column.DBCountExpr
-
Returns null.
- 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 null.
- getUpdateColumn() - Method in class org.apache.empire.db.oracle.OracleRowNumExpr
-
Returns null.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.db.DBDatabase
-
Returns a timestamp that is used for record updates.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.db.DBDatabaseDriver
-
Returns a timestamp that is used for record updates.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.db.derby.DBDatabaseDriverDerby
-
Overridden.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.db.h2.DBDatabaseDriverH2
-
Overridden.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.db.hsql.DBDatabaseDriverHSql
-
Overridden.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
Overridden.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.db.oracle.DBDatabaseDriverOracle
-
Overridden.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL
-
Overridden.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.db.sqlite.DBDatabaseDriverSQLite
-
Overridden.
- getUpdateTimestamp(Connection) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
Overridden.
- getUpdateWithJoins() - Method in class org.apache.empire.db.oracle.DBCommandOracle
-
- getValue() - Method in class org.apache.empire.commons.Attributes.Attribute
-
- getValue() - Method in class org.apache.empire.commons.OptionEntry
-
- getValue(ColumnExpr) - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
- getValue(int) - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
- 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(ColumnExpr) - Method in interface org.apache.empire.data.RecordData
-
returns the record value for a particular column
- 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.DBRecord
-
Returns the value for the given column or null if either the index is out of range or the value is not valid (see
DBRecord.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
-
Returns a data value for the desired column .
- 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
- getValueClass(DataType) - Static method in class org.apache.empire.db.DBExpr
-
Returns the java class type for a given dataType
- 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
-
- getValueString() - Method in class org.apache.empire.commons.OptionEntry
-
Gets the value as string
- getValueString(Object, DataType) - Method in class org.apache.empire.db.DBDatabaseDriver
-
Creates a sql string for a given value.
- 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.
- 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.DBRecord
-
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.DBRecord
-
Returns a XML document with the field description an values of this record.
- getXmlDocument() - Method in class org.apache.empire.db.DBRecordData
-
- groupBy - Variable in class org.apache.empire.db.DBCommand
-
- groupBy(DBColumnExpr...) - Method in class org.apache.empire.db.DBCommand
-
Adds a list of columns to the group by phrase 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 phrase of an sql statement.
- ILLEGAL_NAME_CHARS - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- 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(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(DBRowSet, Object[], boolean) - Method in class org.apache.empire.db.DBRecord
-
Initializes this record object by attaching it to a rowset,
setting its primary key values and setting the record state.
- init(String, boolean) - Method in class org.apache.empire.xml.XMLConfiguration
-
Initialize the configuration.
- initData(DBRowSet, Object, boolean) - Method in class org.apache.empire.db.DBRecord
-
This method is used internally by the RowSet to initialize the record's properties
- initRecord(DBRecord, Object[], boolean) - Method in class org.apache.empire.db.DBCommandExpr.DBCmdQuery
-
Returns the error message: ERR_NOTSUPPORTED
- initRecord(DBRecord, Object[], boolean) - Method in class org.apache.empire.db.DBQuery
-
Initialize specified DBRecord object with primary key
columns (the Object[] keyValues).
- initRecord(DBRowSet, DBRecord) - Method in class org.apache.empire.db.DBReader
-
initializes a DBRecord object with the values of the current row.
- initRecord(DBRecord, Object[], boolean) - Method in class org.apache.empire.db.DBRowSet
-
Initializes a DBRecord for this RowSet and sets primary key values (the Object[] keyValues).
- initRecord(DBRecord, 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.
- 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
- instanceId - Variable in class org.apache.empire.db.DBDatabase
-
- 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(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) - Constructor for exception org.apache.empire.exceptions.InvalidPropertyException
-
- is(Object) - Method in class org.apache.empire.db.DBColumnExpr
-
Creates and returns a new comparison object for the SQL "=" (equal) operator.
- 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
-
Always returns false since an alias expression cannot be an aggregate.
- 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.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.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.oracle.OracleRowNumExpr
-
Always returns false
- isAssignmentCompatible(Class<?>, Class<?>) - Static method in class org.apache.empire.commons.ObjectUtils
-
- 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
-
- 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.DBRecord
-
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.
- 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.DBDatabaseDriver
-
- 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
- isExists() - Method in class org.apache.empire.db.DBRecord
-
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.DBRecord
-
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.DBRecord
-
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.DBRecord
-
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.
- 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.DBRecord
-
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 wheter 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 wheter the constraint should replace another one or not.
- 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.db.expr.compare.DBParenthesisExpr
-
- 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.DBRecord
-
Returns true if this record is a new record.
- 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(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 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.db.oracle.DBDatabaseDriverOracle
-
- isPreparedStatementsEnabled() - Method in class org.apache.empire.db.DBCommand
-
returns true if prepared statements are enabled for this database
- isPreparedStatementsEnabled() - Method in class org.apache.empire.db.DBDatabase
-
return whether prepared statements are preferred over normal statements (Default is false)
Note: This will only apply for update and insert commands as well as for read operations on a DBRecord.
- 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.DBRecord
-
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
-
- 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(DBDriverFeature) - Method in class org.apache.empire.db.DBDatabaseDriver
-
Returns whether or not a particular feature is supported by this driver
- isSupported(DBDriverFeature) - Method in class org.apache.empire.db.derby.DBDatabaseDriverDerby
-
Returns whether or not a particular feature is supported by this driver
- isSupported(DBDriverFeature) - Method in class org.apache.empire.db.h2.DBDatabaseDriverH2
-
Returns whether or not a particular feature is supported by this driver
- isSupported(DBDriverFeature) - Method in class org.apache.empire.db.hsql.DBDatabaseDriverHSql
-
Returns whether or not a particular feature is supported by this driver
- isSupported(DBDriverFeature) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
Returns whether or not a particular feature is supported by this driver
- isSupported(DBDriverFeature) - Method in class org.apache.empire.db.oracle.DBDatabaseDriverOracle
-
Returns whether or not a particular feature is supported by this driver
- isSupported(DBDriverFeature) - Method in class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL
-
Returns whether or not a particular feature is supported by this driver
- isSupported(DBDriverFeature) - Method in class org.apache.empire.db.sqlite.DBDatabaseDriverSQLite
-
Returns whether or not a particular feature is supported by this driver
- isSupported(DBDriverFeature) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
Returns whether or not a particular feature is supported by this driver
- 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)
- 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)
- isUseSequenceTable() - Method in class org.apache.empire.db.derby.DBDatabaseDriverDerby
-
returns whether a sequence table is used for record identiy management.
- isUseSequenceTable() - Method in class org.apache.empire.db.h2.DBDatabaseDriverH2
-
returns whether a sequence table is used for record identiy management.
- isUseSequenceTable() - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
returns whether a sequence table is used for record identity management.
- isUseSequenceTable() - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
returns whether a sequence table is used for record identiy management.
- isUseUnicodePrefix() - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
Indicates whether or not a Unicode Prefix (N) is prepended to all text values
- isValid(String) - Static method in class org.apache.empire.commons.StringUtils
-
Deprecated.
this has been renamed to isNotEmpty
- 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
-
- isValid() - Method in class org.apache.empire.db.DBCommandExpr
-
- isValid() - Method in class org.apache.empire.db.DBRecord
-
Returns true if the record is valid.
- isValidateFieldValues() - Method in class org.apache.empire.db.DBRecord
-
Returns whether or not values are checked for validity when calling setValue().
- isValidQuery() - Method in class org.apache.empire.db.DBCommand
-
Returns whether the command object can produce a select sql-statement.
- isValidUpdate() - Method in class org.apache.empire.db.DBCommand
-
Returns whether the command object can produce a update sql-statement.
- isValueValid(int) - Method in class org.apache.empire.db.DBRecord
-
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.
- 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(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
- saveAsFile(Document, String) - Static method in class org.apache.empire.xml.XMLWriter
-
Prints out the DOM-Tree.
- schema - Variable in class org.apache.empire.db.DBDatabase
-
the database schema *
- 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 Vector: 'select'.
- 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(DBColumn...) - 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 DBColumn>) - Method in class org.apache.empire.db.DBCommand
-
Adds a collection of columns to the select phrase of an sql statement.
- set(String, Object) - Method in class org.apache.empire.commons.Attributes
-
- 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 - 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(Object) - Method in interface org.apache.empire.db.DBDatabaseDriver.DBSetGenKeys
-
- set(DBXmlDictionary) - Static method in class org.apache.empire.db.DBXmlDictionary
-
- 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 interface org.apache.empire.data.RecordData
-
copies all field values into a static Java Bean.
- setBeanProperties(Object) - 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(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.
- setBeanPropertyValue(Object, Column, Object) - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
- setBooleanType(DBDatabaseDriverOracle.BooleanType) - Method in class org.apache.empire.db.oracle.DBDatabaseDriverOracle
-
- setCharacterSet(String) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
- setCmd(String) - Method in class org.apache.empire.db.DBSQLScript.SQLStmt
-
- 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.
- setDatabaseName(String) - Method in class org.apache.empire.db.derby.DBDatabaseDriverDerby
-
Sets the name for the database / schema
This names is required for creating a database.
- setDatabaseName(String) - Method in class org.apache.empire.db.h2.DBDatabaseDriverH2
-
Sets the name for the database / schema
This names is required for creating a database.
- setDatabaseName(String) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
Sets the name for the database / schema
This names is required for creating a database.
- setDatabaseName(String) - Method in class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL
-
Sets the name for the database / schema
This names is required for creating a database.
- setDatabaseName(String) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
- setDate(Date, int, int, int) - Static method in class org.apache.empire.commons.DateUtils
-
- setDDLColumnDefaults(boolean) - Method in class org.apache.empire.db.DBDatabaseDriver
-
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.db.mysql.DBDatabaseDriverMySQL
-
Set the table engine that is used when creating new tables
- setEnumOptions(Class<?>) - Method in class org.apache.empire.db.DBTableColumn
-
sets the options from an enum class
- 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
- setKeyConstraints(DBCommand, Object[]) - Method in class org.apache.empire.db.DBRowSet
-
Set the constraints for a single record from a supplied key
- setLinkName(String) - Method in class org.apache.empire.db.DBDatabase
-
Sets the name of the database link used to identify objects.
- setModified(DBColumn, boolean) - Method in class org.apache.empire.db.DBRecord
-
Sets the modified state of a column.
- setObjectOwner(String) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
- 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.db.oracle.DBCommandOracle
-
- setOptimizerIndexHint(DBIndex) - Method in class org.apache.empire.db.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.db.oracle.DBDatabaseDriverOracle
-
- 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
- setPreparedStatementsEnabled(boolean) - Method in class org.apache.empire.db.DBDatabase
-
enables or disables the use of prepared statements for update and insert commands as well as for read operations on a DBRecord.
- setPrimaryKey(DBColumn...) - Method in class org.apache.empire.db.DBTable
-
Sets the primary keys.
- 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.DBRecord
-
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.DBRecord
-
Sets record values from the supplied java bean.
- setRecordValues(Object) - Method in class org.apache.empire.db.DBRecord
-
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.
- setSchema(String) - Method in class org.apache.empire.db.DBDatabase
-
Sets the schema for SQL statements.
- setSequenceTableName(String) - Method in class org.apache.empire.db.derby.DBDatabaseDriverDerby
-
Sets the name of the sequence table.
- setSequenceTableName(String) - Method in class org.apache.empire.db.h2.DBDatabaseDriverH2
-
Sets the name of the sequence table.
- setSequenceTableName(String) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
Sets the name of the sequence table.
- setSequenceTableName(String) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
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.
- 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.
- setUseSequenceTable(boolean) - Method in class org.apache.empire.db.derby.DBDatabaseDriverDerby
-
If set to true a special table is used for sequence number generation.
- setUseSequenceTable(boolean) - Method in class org.apache.empire.db.h2.DBDatabaseDriverH2
-
If set to true a special table is used for sequence number generation.
- setUseSequenceTable(boolean) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL
-
If set to true a special table is used for sequence number generation.
- setUseSequenceTable(boolean) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
If set to true a special table is used for sequence number generation.
- setUseUnicodePrefix(boolean) - Method in class org.apache.empire.db.sqlserver.DBDatabaseDriverMSSQL
-
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.DBRecord
-
Set whether or not values are checked for validity when calling setValue().
- setValue(Object) - Method in class org.apache.empire.commons.Attributes.Attribute
-
- setValue(Column, Object) - Method in class org.apache.empire.data.bean.BeanRecordProxy
-
sets the value of a field.
- 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(Column, Object) - Method in interface org.apache.empire.data.Record
-
sets a record value based on a column.
- 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.DBRecord
-
Sets the value of the column in the record.
- setValue(Column, Object) - Method in class org.apache.empire.db.DBRecord
-
Sets the value of the column in the record.
- 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 - Variable in class org.apache.empire.db.DBTableColumn
-
- skip - Variable in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL.DBCommandMySQL
-
- skip - Variable in class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL.DBCommandPostreSQL
-
- 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.db.h2.DBDatabaseDriverH2.DBCommandH2
-
- skipRows(int) - Method in class org.apache.empire.db.h2.DBDatabaseDriverH2.DBCommandH2
-
- skipRows(int) - Method in class org.apache.empire.db.mysql.DBDatabaseDriverMySQL.DBCommandMySQL
-
- skipRows - Variable in class org.apache.empire.db.oracle.DBCommandOracle
-
- skipRows(int) - Method in class org.apache.empire.db.oracle.DBCommandOracle
-
- skipRows(int) - Method in class org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL.DBCommandPostreSQL
-
- SMALLINT - Static variable in class org.apache.empire.db.DBTable
-
- sortAttributes(NamedNodeMap) - Method in class org.apache.empire.xml.XMLWriter
-
Sorts attributes by name.
- SQL_BOOLEAN_FALSE - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_BOOLEAN_TRUE - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_CONCAT_EXPR - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_CURRENT_DATE - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_CURRENT_DATETIME - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_DATABASE_LINK - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_DATE_PATTERN - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_DATE_TEMPLATE - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_DATETIME_PATTERN - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_DATETIME_TEMPLATE - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_ABS - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_AVG - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_CEILING - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_COALESCE - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_DAY - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_DECODE - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_DECODE_ELSE - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_DECODE_PART - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_DECODE_SEP - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_ESCAPE - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_FLOOR - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_LENGTH - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_LOWER - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_LTRIM - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_MAX - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_MIN - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_MODULO - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_MONTH - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_REPLACE - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_REVERSE - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_ROUND - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_RTRIM - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_STRINDEX - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_STRINDEXFROM - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_SUBSTRING - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_SUBSTRINGEX - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_SUM - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_TRIM - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_TRUNC - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_UPPER - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_FUNC_YEAR - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_NULL_VALUE - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_PARAMETER - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_PSEUDO_TABLE - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_QUOTES_CLOSE - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_QUOTES_OPEN - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_RENAME_COLUMN - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQL_RENAME_TABLE - Static variable in class org.apache.empire.db.DBDatabaseDriver
-
- SQLiteDDLGenerator - Class in org.apache.empire.db.sqlite
-
- SQLiteDDLGenerator(DBDatabaseDriverSQLite) - Constructor for class org.apache.empire.db.sqlite.SQLiteDDLGenerator
-
- sqlStmtList - Variable in class org.apache.empire.db.DBSQLScript
-
- STANDARD - Static variable in class org.apache.empire.db.DBIndex
-
SQL Standard index
- startWith - Variable in class org.apache.empire.db.oracle.DBCommandOracle
-
- startWith(DBCompareExpr) - Method in class org.apache.empire.db.oracle.DBCommandOracle
-
- StatementFailedException - Exception in org.apache.empire.db.exceptions
-
- StatementFailedException(DBObject, String, SQLException) - Constructor for exception org.apache.empire.db.exceptions.StatementFailedException
-
- stringToBoolean(String) - Method in class org.apache.empire.db.DBDatabaseDriver
-
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
-