All Classes and Interfaces
Class
Description
This class is a lightweight Map implementation using an ArrayList
The Entry class represents a map entry
This class is a lightweight Set implementation using an ArrayList
This class holds a map of objects which are identified by a case insensitive key string.
BeanObject
This class defines Metadata for any type of java class.
BeanDomain
This class defines Metadata for a domain of java classes.
BeanException
Base class for bean related exceptions
BeanObject
This class defines Metadata for a single property.
BeanPropertyUtils provides methods for getting and setting bean property values
It is a replacement for org.apache.commons.beanutils.BeanUtils
Provided the implementation for the BeanUtils methods
BeanRecordProxy
This class defines proxy that allows any POJO to behave like a record object.
BeanResult
This is a simple helper class that performs reading a list of beans from a query
Internally DBReader.getBeanList() is used.
Definition of Copy flags
The column interface provides methods for accessing metadata that is only relevant for updating records.
The column interface provides methods for accessing metadata that is relevant for managing
and displaying data available through the RecordData interface.
ColumnUtils
This class contains a set of generic functions for Columns
DataListFactoryImpl
Implements the DataListFactory
DataType is an enumeration of data types that are supported
with the empire-db component.
This class contains common functions for comparing and converting values of type Date.
This implements some basic functionality for SQL functions based on a column expression
This class allows column renaming in SQL.
DBBeanFactoryCache
DBRecordListFactoryImpl
Implements the DBRecordListFactory interface
This class allocates methods to store binary large objects in the database.
This class is used for performing calculations in SQL
It handles the mathematical operations ("+", "-", "*", "/") for the current column.
It handles the mathematical operations ("+", "-", "*", "/") for the current column.
This class represents a SQL case expression
like "case when ?
This class is used to create a SQL CASE constraint in the form of
case {expr} when {value1} then {result1}
when {value2} then {result2}
...
This class is used to create a SQL CASE constraint in the form of
case when {cond1} then {result1}
when {cond2} then {result2}
...
This class allocates methods to store binary character objects in the database.
This class defines a parameter for a prepared statement query.
DBCmdParamList
This class handles command parameters for Prepared Statements
DBCmdParams
Provides information about the command parameters used in a DBCommand
This enum allocates the available compare types.
This is the base class for all database columns that have a physical representation.
This class is the base class for all expressions that represent a single value.
This class is used for combining two DBCommandExpr objects to a new single DBCommandExpr
This may be used to create "UNION" or "INTERSECT" queries
This abstract class handles the creation of the SQL-Commands.
This abstract class handles the creation of the SQL-Commands.
This class wraps a column of sql command in a special command column object.
This class handles the special features of an HSqlDB database.
This class handles the special features of an oracle database.
Defines the PostgreSQL command type.
This class is used for combining two filter constraints by and / or operator
This class is used for defining filter constraints based on a column expression in SQL
This class is a common base class for all SQL filter constraints classes
This class is used for building a join expression of an SQL statement.
This class is used for defining filter constraints based on a column expression in SQL
This class wraps an existing compare expression with parenthesis.
This class is used for performing string concatenation in SQL
DBConcatExpression
DBContext
A context is required for every database operation
DBContextBase
Basic implementation of the DBContext interface which can be used as a base class for own implmentations
This class is used to convert a value to a different data type.
This class is used to add the "count" statement to the SQL-Command.
This class is used for building a join expression of an SQL statement.
This abstract class is the applicaton's interface for a particular database schema.
This class represents the database systems current date and time.
DDLActionType for DDLScript generation
This class is used to decode a set of keys to the corresponding target values.
This class is used for building up the SQL-Command for the EXISTS syntax.
This abstract class is the base class for all database expression classes (e.g.
This class allows to create an expression based index
This class is used for performing various SQL functions on a column or column expression.
DBGeneratedValue
Abstract base class for Auto generated values
DBFuncGeneratedValue
Auto-generates a record value from other record fields
The template must contain the column names wrapped in square brackets
like e.g.
DBTriggerGeneratedValue
Value is generated by Trigger
This class handles the primary key for the tables.
This class is used for building a join expression of an SQL statement.
DBJoinType contains the possibilities to join two database tables.
DBMaterializedView
This interface should be used in conjunction with a DBView to indicate
that the view is materialized
An implemtnation of the
DBModelErrorHandler interface that logs all errorsThis enum is used with the DBMSHandler::isSupported method to query database dbms capabilities.
The DBMSHandler interface implements all RDBMS specific logic
This interface is used to set the auto generated keys when executing insert statements.
The DBMSHandler class is an abstract base class for all database handler.
DBMSBuilder
A Default DBSQLBuilder implementation with no additional features
DBMSCommand
A Default DBCommand implementation with no additional features
This class is used to emulate sequences by using a sequence table.
This class provides support for the Derby database system.
This class provides support for the H2 database system.
Defines the H2 command type.
This class provides support for the HSQLDB database system.
This class provides support for the Microsoft SQL-Server database system.
Provides a DBCommand implementation for Microsoft SQL-Server
Provides a DBSQLBuilder implementation for Microsoft SQL-Server
This class provides support for the MySQL database system.
Defines the MySQL command type.
Provides a DBSQLBuilder implementation for MySQL
This class provides support for the Oracle database system.
Oracle Version 9 or higher is required.
Oracle Version 9 or higher is required.
This class provides support for the PostgreSQL database system.
This class provides support for the SQLite database system.
Defines the SQLite command type.
Base class for all objects that directly or indirectly belong to a database including the database object itself.
This class allows column renaming in SQL.
DBPreparable
This interface indicates that a DBExpr Object wants to perform preparation tasks when added to a DBCommand
This class can be used to wrap a query from a DBCommand and use it like a DBRowSet.
You may use this class for two purposes: In oder to define subqueries simply define a command object with the subquery and wrap it inside a DBQuery.
You may use this class for two purposes: In oder to define subqueries simply define a command object with the subquery and wrap it inside a DBQuery.
This class is used to perform database queries from a DBCommand object and access the results.
In oder to perform a query call the open() function or - for single row queries - call getRecordData();
You can iterate through the rows using moveNext() or an iterator.
In oder to perform a query call the open() function or - for single row queries - call getRecordData();
You can iterate through the rows using moveNext() or an iterator.
This class represents a record from a database table, view or query
The class provides methods to create, read, update and delete records
If an Idendity-column (AUTOINC) is defined, the value will be set upon creation by the dbms to the next value
If a Timestamp-column is defined the value will be automatically set and concurrent changes of the record will be detected
If changes to the record are made, but a rollback on the connection is performed, the changes will be reverted (Rollback-Handling)
The record is Serializable either if the provided DBContext is serializable, or if the Context is provided on deserialization in a derived class.
This abstract class provides write access to the fields of a record
The class provides methods that are useful for frontend-form development like
- providing information about the allowed values for a field (field options)
- providing information about whether or not a field is visible to the user
- providing information about whether or not a field is required (mandantory)
- providing information about whether or not a field is read-only
- providing information about whether a particular field value is valid
- providing information about whether a field was modified since it was read from the database
- providing information about whether the record was modified
Also, field value changes, can be handled using the onFieldChanged event.
DBRecordRollbackHandler
This class represents a record from a database table, view or query
Other than DBRecord it is not permanently attached to a context or rowset
Thus it has a Default constructor and is essentially a dynamic bean
This class provides access to the fields of one data-row of a table, view or query
The fields can be accessed either by Column or by index
There are various accessor functions for many data types.
DBRecordListFactoryImpl
Implements the DBRecordListFactory interface
This class creates a DBReferene object for a foreing key relation.
DBCascadeAction enum
Connection release action
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
This class is used for declaring scalar functions in SQL (like e.g. random).
This class is used for building a set expression of a SQL update statement.
DBSQLBuilder
This class is used for building a single SQL statement
Enum for all SQL phrases that may be supplied by the dbms
The phase may consist of the following placeholders:
?
DBSQLScript
This class is a collection of sql command strings.
The class is used for obtaining and executing DDL commands supplied by the database dbms (@see
This class is a collection of sql command strings.
The class is used for obtaining and executing DDL commands supplied by the database dbms (@see
DBMSHandler.getDDLScript(DDLActionType, DBObject, DBSQLScript))SQLCmd
This class represent one table of the database.
This class represent one column of a table.
DBUtils
This class provides various query functions and functions for command execution.
This class is used for declaring constant values in SQL.
This class represents a database view.
DBViewColumn
This class is used to configure XML generation as performed by the
getXmlDocument Document function on DBReader and DBRecord.
This exception type is used for all empire errors.
ExceptionMessageFormatter
returns a message text for an Exception from a given pattern and parameters
This exception type is used for file related empire errors.
EntityType
Defines an entity such as a table or view
EntityDomain
Holder for Entity objects
Deprecated.
EnumValue
allows to provide a custom conversion between an enum and its database value
The ErrorType class defines a type of error.
InvalidOperationException
Indicates that an operation cannot be performed due to requirements not met.
MSSqlDBModelChecker
DataModel checker implementation for Microsoft SQLServer
This class contains common functions for comparing and converting values from and to the database
As well as other useful Array and List related functions.
OperationFailedException
Indicates that an operation has failed
This class defines one possible value of a field and it's description
This class is used by the Options class to implement a set of options where the option value us used as the key for the set.
The text should only be used for display purposes e.g. to display a drop-down in a user interface.
This class is used by the Options class to implement a set of options where the option value us used as the key for the set.
The text should only be used for display purposes e.g. to display a drop-down in a user interface.
This class represents a list of possible values that are valid for a particular field.
Additionally the class provides a text string describing the value for display purposes.
The class is implemented as a set of OptionEntry objects where the entry value is used as the key for the set and thus must be unique.
Additionally the class provides a text string describing the value for display purposes.
The class is implemented as a set of OptionEntry objects where the entry value is used as the key for the set and thus must be unique.
InsertPos enum
This implementation is used to check Oracle Databases
implements a column expression for the Oracle rownum function
Represents the data model of the system tables.
PostgresAtAt
create a Postgres @@ comparator
Enum for all SQL phrases that may be supplied by the dbms
The record interface provides methods used for updating data.
The RecordData interface provides methods for accessing data and context specific metadata.
SqlFormat
This class pretty-formats an SQL command.
DefaultSqlFormatter
Uses the default implementation to format SQL
SQL KeyWord
SqlFormatter interface for customization
This class contains common functions for comparing and converting values of type String.
ObjectStringifier
Converts an object to a String
UserLevelException
This class may be used either a base class
or a wrapper class for other exceptions.
This class allows to customize value type conversion as well as other value related functions.
This class manages the configuration of a Java Bean by an xml configuration file.
This class provides a collection of static helper functions for common XML tasks.
This class prints out a XML-DOM-Tree to an output stream.