|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RecordDescriptor | |
---|---|
de.mathema.pride | This package provides the implementation of the PriDE persistence layer for JAVA. |
de.mathema.pride.util | This package contains classes for the generation of data entity types from database tables. |
Uses of RecordDescriptor in de.mathema.pride |
---|
Fields in de.mathema.pride declared as RecordDescriptor | |
---|---|
protected RecordDescriptor |
RecordDescriptor.baseDescriptor
|
protected RecordDescriptor |
ResultIterator.red
|
protected RecordDescriptor |
PreparedOperation.red
|
protected static RecordDescriptor |
Attribute.red
|
Methods in de.mathema.pride that return RecordDescriptor | |
---|---|
protected abstract RecordDescriptor |
ObjectAdapter.getDescriptor()
Returns the entity's record desriptor. |
protected RecordDescriptor |
Attribute.getDescriptor()
|
RecordDescriptor |
ExtensionDescriptor.getMaster()
|
Methods in de.mathema.pride with parameters of type RecordDescriptor | |
---|---|
protected static void |
DatabaseAdapter.commit(RecordDescriptor red)
|
protected java.lang.String |
DatabaseAdapter.constraint(java.lang.Object entity,
java.lang.String[] dbfields,
boolean byLike,
RecordDescriptor red)
Assembles an SQL constraint which would be used as a WHERE clause in a query. |
protected static int |
DatabaseAdapter.create(java.lang.Object entity,
RecordDescriptor red)
Create a new record. |
protected static int |
DatabaseAdapter.create(java.lang.Object entity,
java.lang.String[] autoFields,
RecordDescriptor red)
Like function above but additionally allows to pass a set of fields which should be excluded from the SQL insert command. |
int |
Database.createRecord(java.lang.String[] autoFields,
java.lang.Object obj,
RecordDescriptor red)
Add a record to the database. |
protected static int |
DatabaseAdapter.delete(java.lang.Object entity,
RecordDescriptor red)
|
protected static int |
DatabaseAdapter.delete(java.lang.Object entity,
java.lang.String[] dbkeyfields,
RecordDescriptor red)
|
int |
Database.deleteRecord(java.lang.Object obj,
RecordDescriptor red)
Delete a record from the database. |
int |
Database.deleteRecord(java.lang.String[] dbkeyfields,
java.lang.Object obj,
RecordDescriptor red)
Delete a record from the database. |
int |
Database.deleteRecord(java.lang.String where,
java.lang.Object obj,
RecordDescriptor red)
Delete a record from the database. |
protected static void |
DatabaseAdapter.fetch(java.lang.Object entity,
java.lang.Object key,
RecordDescriptor red)
Fetch an object by key. |
protected ResultIterator |
Database.fetchFirst(java.lang.String query,
java.lang.Object obj,
RecordDescriptor red,
boolean keepRest)
Fetches the first record from a result set returned for query . |
void |
Database.fetchRecord(java.lang.Object primaryKey,
java.lang.Object obj,
RecordDescriptor red)
Fetch a record from the database and store the results in a JAVA object according to the passed mapping descriptor. |
void |
Database.fetchRecord(java.lang.Object obj,
RecordDescriptor red)
Fetch a record from the database and store the results in a JAVA object according to the passed mapping descriptor. |
protected static void |
DatabaseAdapter.find(java.lang.Object entity,
RecordDescriptor red)
Same like query() but takes the first record only |
protected static void |
DatabaseAdapter.find(java.lang.Object entity,
java.lang.String[] dbfields,
RecordDescriptor red)
Same like query() but takes the first record only |
protected static void |
DatabaseAdapter.find(java.lang.Object entity,
java.lang.String where,
RecordDescriptor red)
Same like query() but takes the first record only |
protected static Database |
ObjectAdapter.getDatabase(RecordDescriptor red)
|
protected static Database |
DatabaseAdapter.getDatabase(RecordDescriptor red)
|
java.lang.String |
Database.getInsertionHeader(RecordDescriptor red,
java.lang.String[] autoFields)
Returns a header for a record inserting of the form "insert into ( |
java.lang.String |
Database.getTableName(RecordDescriptor red)
|
protected static void |
DatabaseAdapter.process(java.lang.Exception x,
RecordDescriptor red)
|
protected static ResultIterator |
DatabaseAdapter.query(java.lang.Object entity,
java.lang.String[] dbfields,
RecordDescriptor red)
Fetch an object by fields. |
protected static ResultIterator |
DatabaseAdapter.query(java.lang.Object entity,
java.lang.String where,
RecordDescriptor red)
Fetch an object by a self-made where clause |
ResultIterator |
Database.query(java.lang.String[] dbfields,
java.lang.Object obj,
RecordDescriptor red,
boolean all)
Run a database query. |
ResultIterator |
Database.query(java.lang.String dbfield,
java.lang.Object value,
java.lang.Object obj,
RecordDescriptor red,
boolean all)
Run a database query. |
ResultIterator |
Database.query(java.lang.String where,
java.lang.Object obj,
RecordDescriptor red,
boolean all)
Run a database query. |
protected static ResultIterator |
DatabaseAdapter.queryAll(java.lang.Object entity,
RecordDescriptor red)
Fetch all objects |
ResultIterator |
Database.queryAll(java.lang.Object obj,
RecordDescriptor red)
Run a database query, returning all records of the table denoted by parameter red . |
ResultIterator |
Database.sqlQuery(java.lang.String operation,
java.lang.Object obj,
RecordDescriptor red)
Runs an SQL query and returns a ResultIterator , initialized
with parameters obj and red and the
ResultSet returned by the query. |
int |
Database.sqlUpdate(java.lang.String operation,
java.lang.String[] autoFields,
java.lang.Object obj,
RecordDescriptor red)
Runs an SQL update statement according to the passed operation |
protected static int |
DatabaseAdapter.update(java.lang.Object entity,
RecordDescriptor red)
|
protected static int |
DatabaseAdapter.update(java.lang.Object entity,
java.lang.String[] dbkeyfields,
RecordDescriptor red)
|
protected static int |
DatabaseAdapter.update(java.lang.Object entity,
java.lang.String[] dbkeyfields,
java.lang.String[] updatefields,
RecordDescriptor red)
|
protected static int |
DatabaseAdapter.update(java.lang.Object entity,
java.lang.String where,
RecordDescriptor red)
|
protected static int |
DatabaseAdapter.update(java.lang.Object entity,
java.lang.String where,
java.lang.String[] updatefields,
RecordDescriptor red)
|
int |
Database.updateRecord(java.lang.Object obj,
RecordDescriptor red)
Update a database record with the data of a JAVA object according to the passed mapping descriptor. |
int |
Database.updateRecord(java.lang.String[] dbkeyfields,
java.lang.Object obj,
RecordDescriptor red)
Update a database record. |
int |
Database.updateRecord(java.lang.String[] dbkeyfields,
java.lang.String[] updatefields,
java.lang.Object obj,
RecordDescriptor red)
Update a database record. |
int |
Database.updateRecord(java.lang.String where,
java.lang.Object obj,
RecordDescriptor red)
Update a database record. |
int |
Database.updateRecord(java.lang.String where,
java.lang.String[] updatefields,
java.lang.Object obj,
RecordDescriptor red)
Update a database record. |
protected static ResultIterator |
DatabaseAdapter.wildcard(java.lang.Object entity,
java.lang.String[] dbfields,
RecordDescriptor red)
Same like query() but performs a wildcard search |
ResultIterator |
Database.wildcardSearch(java.lang.String[] dbfields,
java.lang.Object obj,
RecordDescriptor red,
boolean all)
Like function query() above but selects using the
like operator |
Constructors in de.mathema.pride with parameters of type RecordDescriptor | |
---|---|
ExtensionDescriptor(RecordDescriptor master,
java.lang.String[][] attributeMap)
|
|
PreparedInsert(RecordDescriptor red)
|
|
PreparedInsert(java.lang.String[] autoFields,
RecordDescriptor red)
|
|
PreparedOperation(java.lang.String operation,
RecordDescriptor red)
|
|
PreparedUpdate(RecordDescriptor red)
|
|
PreparedUpdate(java.lang.String[] dbkeyfields,
RecordDescriptor red)
|
|
PreparedUpdate(java.lang.String[] dbkeyfields,
java.lang.String[] updatefields,
RecordDescriptor red)
|
|
RecordDescriptor(java.lang.Class objectType,
java.lang.String dbtable,
RecordDescriptor baseDescriptor,
java.lang.String[][] attributeMap)
Creates a new mapping descriptor like constructor above but always uses the current DB context of DatabaseFactory
and auto extraction mode. |
|
RecordDescriptor(java.lang.Class objectType,
java.lang.String dbtable,
RecordDescriptor baseDescriptor,
java.lang.String[][] attributeMap,
int extractionMode)
Creates a new mapping descriptor like constructor above but always uses the current DB context of DatabaseFactory . |
|
RecordDescriptor(java.lang.Class objectType,
java.lang.String dbContext,
java.lang.String dbtable,
RecordDescriptor baseDescriptor,
java.lang.String[][] attributeMap)
|
|
RecordDescriptor(java.lang.Class objectType,
java.lang.String dbContext,
java.lang.String dbtable,
RecordDescriptor baseDescriptor,
java.lang.String[][] attributeMap,
int extractionMode)
Creates a new mapping descriptor |
|
RecordDescriptor(RecordDescriptor red,
java.lang.String alias)
Like copy constructor above but without alternate table name |
|
RecordDescriptor(RecordDescriptor red,
java.lang.String alias,
java.lang.String altTable)
Copy constructor |
|
ResultIterator(java.sql.Statement statement,
java.sql.ResultSet rs,
java.lang.Object obj,
RecordDescriptor red,
Database db,
java.sql.Connection con)
Creates a new ResultIterator from an query. |
Uses of RecordDescriptor in de.mathema.pride.util |
---|
Fields in de.mathema.pride.util declared as RecordDescriptor | |
---|---|
protected static RecordDescriptor |
AllArguments.red
|
Methods in de.mathema.pride.util that return RecordDescriptor | |
---|---|
RecordDescriptor |
CreateTableTemplate.extractRecordDescriptor(java.lang.String className)
|
protected RecordDescriptor |
AllArguments.getDescriptor()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |