Package anderix.datajets

Provides a framework for creating DataJets, database-aware classes that contain create, read, update and delete functionality.

See:
          Description

Interface Summary
ConnectionGenerator Used to manage java.sql.Connection objects required by DataJets.
Definable Specifies that a DataJet will expose methods to create a physical table corresponding to the DataJet.
Removable Specifies that a DataJet will expose a public remove method.
Storable Specifies that a DataJet will expose a public store method.
 

Class Summary
Comparison Used as a parameter for several SqlBuilder methods.
DataJet The base class for all DataJets.
Datum A single piece of data retrieved from or to be stored in a database table.
GenericDataJet A concrete entension of DataJet that implements Storable and Removable and can be used by composition or inheritance.
JetSet The class for initializing DataJet objects and methods.
JoinType Used as a parameter in join methods in SqlBuilder.
OrderDirection Used as a parameter in orderBy methods in SqlBuilder.
SqlBuilder Facilitates creation of SQL statements in an object-oriented manner.
TableDefinition Contains information about a physical database table.
 

Exception Summary
ConnectionException Thrown when a DataJet cannot connect to the specified database.
DataJetException Thrown when a DataJet attempts to access a method before it has been initialized.
 

Package anderix.datajets Description

Provides a framework for creating DataJets, database-aware classes that contain create, read, update and delete functionality. Creating basic DataJets requires no SQL and very little knowledge of JDBC. DataJets aid in object-relational mapping and are excellent business objects for many solutions. There are several ways to create and use DataJets, including:

To further customize a DataJet, a developer may use SqlBuilder objects to return sets of DataJets. As its name implies, SqlBuilder may also be used in a stand-alone manner to build standard SQL statements in an object-oriented manner.

DataJets return data from a database in the form of Datum objects, which can be converted to several different types. If you prefer, DataJets can also return data as Object instances to be casted manually. Like SqlBuilder, the Datum class can also be used apart from the DataJets framework.