Package | Description |
---|---|
org.apache.empire.data |
This package contains interfaces for data and metadata handling.
|
org.apache.empire.data.bean |
This package contains implmentations of Empire's data and metadata interfaces for JavaBeans of Data Tranfer Objects (DTO's).
|
org.apache.empire.data.list | |
org.apache.empire.db |
This package contains the core Empire-DB implementation classes.
|
org.apache.empire.db.generic |
Modifier and Type | Interface and Description |
---|---|
interface |
Record
The record interface provides methods used for updating data.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanRecordProxy<T>
BeanRecordProxy
This class defines proxy that allows any POJO to behave like a record object.
|
Modifier and Type | Class and Description |
---|---|
class |
DataListEntry |
Modifier and Type | Method and Description |
---|---|
T |
DataListFactoryImpl.newEntry(int rownum,
RecordData dataRow) |
T |
DataListFactory.newEntry(int rownum,
RecordData dataRow) |
void |
DataListEntry.updateData(RecordData recData)
Updates the fields of the entry with the corresponding fields of a record.
|
Modifier and Type | Class and Description |
---|---|
class |
DBReader
This class is used to perform database queries from a DBCommand object and access the results.
|
class |
DBRecord
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.
|
class |
DBRecordBase
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.
|
class |
DBRecordBean
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
|
class |
DBRecordData
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.
|
Modifier and Type | Class and Description |
---|---|
class |
TRecord<CTX extends DBContext,T extends DBRowSet> |
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.