|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ClassDescriptor | |
|---|---|
| org.apache.ojb.broker | |
| org.apache.ojb.broker.accesslayer | |
| org.apache.ojb.broker.accesslayer.sql | This package contains the OJB SQL generator classes. |
| org.apache.ojb.broker.core | |
| org.apache.ojb.broker.metadata | |
| org.apache.ojb.broker.util | |
| org.apache.ojb.broker.util.sequence | This package contains classes that provide the OJB sequence numering. |
| org.apache.ojb.odmg | |
| org.apache.ojb.otm | |
| org.apache.ojb.otm.core | |
| Uses of ClassDescriptor in org.apache.ojb.broker |
|---|
| Methods in org.apache.ojb.broker that return ClassDescriptor | |
|---|---|
ClassDescriptor |
PersistenceBroker.getClassDescriptor(Class clazz)
Returns the class descriptor for the given persistence capable class. |
| Methods in org.apache.ojb.broker with parameters of type ClassDescriptor | |
|---|---|
Identity |
IdentityFactory.buildIdentity(ClassDescriptor cld,
Object obj)
Build a unique Identity for the given
persistence capable object. |
void |
PersistenceBrokerInternal.checkRefreshRelationships(Object obj,
Identity oid,
ClassDescriptor cld)
Refreshes the references of the given object whose refresh
is set to true. |
void |
PersistenceBrokerInternal.store(Object obj,
Identity oid,
ClassDescriptor cld,
boolean insert,
boolean ignoreReferences)
Performs the real store work (insert or update) and is intended for use by top-level apis internally. |
| Constructors in org.apache.ojb.broker with parameters of type ClassDescriptor | |
|---|---|
Identity(Object objectToIdentitify,
PersistenceBroker targetBroker,
ClassDescriptor cld)
Constructor for internal use. |
|
| Uses of ClassDescriptor in org.apache.ojb.broker.accesslayer |
|---|
| Fields in org.apache.ojb.broker.accesslayer declared as ClassDescriptor | |
|---|---|
protected ClassDescriptor |
PkEnumeration.classDescriptor
descriptor for the class of which items are to be found |
protected ClassDescriptor |
StatementsForClassImpl.classDescriptor
sets the escape processing mode |
protected ClassDescriptor |
BasePrefetcher.itemClassDesc
Class descriptor for the item type. |
| Methods in org.apache.ojb.broker.accesslayer that return ClassDescriptor | |
|---|---|
ClassDescriptor |
RowReaderDefaultImpl.getClassDescriptor()
|
ClassDescriptor |
RsQueryObject.getClassDescriptor()
|
ClassDescriptor |
RowReader.getClassDescriptor()
Returns the associated ClassDescriptor |
ClassDescriptor |
RsIterator.getClassDescriptor()
|
ClassDescriptor |
RelationshipPrefetcher.getItemClassDescriptor()
Returns the ClassDescriptor of the item Class |
ClassDescriptor |
BasePrefetcher.getItemClassDescriptor()
Returns the ClassDescriptor of the item Class |
protected ClassDescriptor |
RelationshipPrefetcherImpl.getOwnerClassDescriptor()
Returns the ClassDescriptor of the owner Class |
protected ClassDescriptor |
RowReaderDefaultImpl.selectClassDescriptor(Map row)
Check if there is an attribute which tells us which concrete class is to be instantiated. |
| Methods in org.apache.ojb.broker.accesslayer with parameters of type ClassDescriptor | |
|---|---|
protected void |
JdbcAccessImpl.assignAutoincrementIdentityColumns(ClassDescriptor cld,
Object target)
|
protected void |
JdbcAccessImpl.assignAutoincrementSequences(ClassDescriptor cld,
Object target)
|
void |
StatementManager.bindDelete(PreparedStatement stmt,
ClassDescriptor cld,
Object obj)
binds the objects primary key and locking values to the statement, BRJ |
void |
StatementManagerIF.bindDelete(PreparedStatement stmt,
ClassDescriptor cld,
Object obj)
binds the objects primary key and locking values to the statement, BRJ |
void |
StatementManager.bindDelete(PreparedStatement stmt,
Identity oid,
ClassDescriptor cld)
binds the Identities Primary key values to the statement |
void |
StatementManagerIF.bindDelete(PreparedStatement stmt,
Identity oid,
ClassDescriptor cld)
Binds the Identities Primary key values to the statement. |
void |
StatementManager.bindInsert(PreparedStatement stmt,
ClassDescriptor cld,
Object obj)
binds the values of the object obj to the statements parameters |
void |
StatementManagerIF.bindInsert(PreparedStatement stmt,
ClassDescriptor cld,
Object obj)
binds the values of the object obj to the statements parameters |
void |
StatementManager.bindSelect(PreparedStatement stmt,
Identity oid,
ClassDescriptor cld,
boolean callableStmt)
Binds the Identities Primary key values to the statement. |
void |
StatementManagerIF.bindSelect(PreparedStatement stmt,
Identity oid,
ClassDescriptor cld,
boolean callableStmt)
binds the Identities Primary key values to the statement |
protected int |
StatementManager.bindStatement(PreparedStatement stmt,
Criteria crit,
ClassDescriptor cld,
int param)
bind a Query based Select Statement |
int |
StatementManager.bindStatement(PreparedStatement stmt,
Query query,
ClassDescriptor cld,
int param)
bind a Query based Select Statement |
int |
StatementManagerIF.bindStatement(PreparedStatement stmt,
Query query,
ClassDescriptor cld,
int param)
bind a Query based Select Statement |
void |
StatementManager.bindUpdate(PreparedStatement stmt,
ClassDescriptor cld,
Object obj)
binds the values of the object obj to the statements parameters |
void |
StatementManagerIF.bindUpdate(PreparedStatement stmt,
ClassDescriptor cld,
Object obj)
binds the values of the object obj to the statements parameters |
protected Object |
RowReaderDefaultImpl.buildOrRefreshObject(Map row,
ClassDescriptor targetClassDescriptor,
Object targetObject)
Creates an object instance according to clb, and fills its fileds width data provided by row. |
RelationshipPrefetcher |
RelationshipPrefetcherFactory.createRelationshipPrefetcher(ClassDescriptor anOwnerCld,
String aRelationshipName)
create either a CollectionPrefetcher or a ReferencePrefetcher |
void |
JdbcAccess.executeDelete(ClassDescriptor cld,
Object obj)
performs a DELETE operation against RDBMS. |
void |
JdbcAccessImpl.executeDelete(ClassDescriptor cld,
Object obj)
performs a DELETE operation against RDBMS. |
void |
JdbcAccess.executeDelete(Query query,
ClassDescriptor cld)
performs a DELETE operation based on the given Query against RDBMS. |
void |
JdbcAccessImpl.executeDelete(Query query,
ClassDescriptor cld)
Performs a DELETE operation based on the given Query against RDBMS. |
void |
JdbcAccess.executeInsert(ClassDescriptor cld,
Object obj)
performs an INSERT operation against RDBMS. |
void |
JdbcAccessImpl.executeInsert(ClassDescriptor cld,
Object obj)
performs an INSERT operation against RDBMS. |
ResultSetAndStatement |
JdbcAccess.executeQuery(Query query,
ClassDescriptor cld)
performs a SELECT operation against RDBMS. |
ResultSetAndStatement |
JdbcAccessImpl.executeQuery(Query query,
ClassDescriptor cld)
performs a SELECT operation against RDBMS. |
ResultSetAndStatement |
JdbcAccess.executeSQL(String sqlStatement,
ClassDescriptor cld,
boolean scrollable)
performs a SQL SELECT statement against RDBMS. |
ResultSetAndStatement |
JdbcAccessImpl.executeSQL(String sqlStatement,
ClassDescriptor cld,
boolean scrollable)
|
ResultSetAndStatement |
JdbcAccess.executeSQL(String sqlStatement,
ClassDescriptor cld,
ValueContainer[] values,
boolean scrollable)
performs a SQL SELECT statement against RDBMS. |
ResultSetAndStatement |
JdbcAccessImpl.executeSQL(String sql,
ClassDescriptor cld,
ValueContainer[] values,
boolean scrollable)
performs a SQL SELECT statement against RDBMS. |
void |
JdbcAccess.executeUpdate(ClassDescriptor cld,
Object obj)
performs an UPDATE operation against RDBMS. |
void |
JdbcAccessImpl.executeUpdate(ClassDescriptor cld,
Object obj)
performs an UPDATE operation against RDBMS. |
int |
JdbcAccess.executeUpdateSQL(String sqlStatement,
ClassDescriptor cld)
performs a SQL UPDTE, INSERT or DELETE statement against RDBMS. |
int |
JdbcAccessImpl.executeUpdateSQL(String sqlStatement,
ClassDescriptor cld)
|
int |
JdbcAccess.executeUpdateSQL(String sqlStatement,
ClassDescriptor cld,
ValueContainer[] values1,
ValueContainer[] values2)
performs a SQL UPDTE, INSERT or DELETE statement against RDBMS. |
int |
JdbcAccessImpl.executeUpdateSQL(String sqlStatement,
ClassDescriptor cld,
ValueContainer[] values1,
ValueContainer[] values2)
performs a SQL UPDTE, INSERT or DELETE statement against RDBMS. |
protected String |
RowReaderDefaultImpl.extractOjbConcreteClass(ClassDescriptor cld,
ResultSet rs,
Map row)
|
static RsQueryObject |
RsQueryObject.get(ClassDescriptor cld,
Query query)
Returns a new instance of this class. |
protected ValueContainer[] |
StatementManager.getAllValues(ClassDescriptor cld,
Object obj)
returns an array containing values for all the Objects attribute |
PreparedStatement |
StatementManager.getDeleteStatement(ClassDescriptor cld)
return a prepared DELETE Statement fitting for the given ClassDescriptor |
PreparedStatement |
StatementManagerIF.getDeleteStatement(ClassDescriptor cds)
return a prepared DELETE Statement fitting for the given ClassDescriptor |
Statement |
StatementManager.getGenericStatement(ClassDescriptor cds,
boolean scrollable)
return a generic Statement for the given ClassDescriptor. |
Statement |
StatementManagerIF.getGenericStatement(ClassDescriptor cds,
boolean scrollable)
return a generic Statement for the given ClassDescriptor |
PreparedStatement |
StatementManager.getInsertStatement(ClassDescriptor cds)
return a prepared Insert Statement fitting for the given ClassDescriptor |
PreparedStatement |
StatementManagerIF.getInsertStatement(ClassDescriptor cds)
return a prepared Insert Statement fitting for the given ClassDescriptor |
protected ValueContainer[] |
StatementManager.getKeyValues(PersistenceBroker broker,
ClassDescriptor cld,
Identity oid)
returns an Array with an Identities PK VALUES |
protected ValueContainer[] |
StatementManager.getKeyValues(PersistenceBroker broker,
ClassDescriptor cld,
Object obj)
returns an Array with an Objects PK VALUES |
protected ValueContainer[] |
StatementManager.getNonKeyValues(PersistenceBroker broker,
ClassDescriptor cld,
Object obj)
returns an Array with an Objects NON-PK VALUES |
PreparedStatement |
StatementManager.getPreparedStatement(ClassDescriptor cds,
String sql,
boolean scrollable,
int explicitFetchSizeHint,
boolean callableStmt)
return a generic Statement for the given ClassDescriptor |
PreparedStatement |
StatementManagerIF.getPreparedStatement(ClassDescriptor cds,
String sql,
boolean scrollable,
int explicitFetchSizeHint,
boolean callableStmt)
Return a PreparedStatement for selecting against the given ClassDescriptor. |
PreparedStatement |
StatementManager.getSelectByPKStatement(ClassDescriptor cds)
return a prepared Select Statement for the given ClassDescriptor |
PreparedStatement |
StatementManagerIF.getSelectByPKStatement(ClassDescriptor cds)
return a prepared Select Statement for the given ClassDescriptor |
StatementsForClassIF |
StatementsForClassFactory.getStatementsForClass(JdbcConnectionDescriptor cds,
ClassDescriptor cld)
Get an instance of StatementsForClassIF |
PreparedStatement |
StatementManager.getUpdateStatement(ClassDescriptor cds)
return a prepared Update Statement fitting to the given ClassDescriptor |
PreparedStatement |
StatementManagerIF.getUpdateStatement(ClassDescriptor cds)
return a prepared Update Statement fitting to the given ClassDescriptor |
Object |
JdbcAccess.materializeObject(ClassDescriptor cld,
Identity oid)
performs a primary key lookup operation against RDBMS and materializes an object from the resulting row. |
Object |
JdbcAccessImpl.materializeObject(ClassDescriptor cld,
Identity oid)
performs a primary key lookup operation against RDBMS and materializes an object from the resulting row. |
void |
RowReaderDefaultImpl.setClassDescriptor(ClassDescriptor cld)
|
void |
RowReader.setClassDescriptor(ClassDescriptor cld)
Set the descriptor this RowReader worked with. |
| Constructors in org.apache.ojb.broker.accesslayer with parameters of type ClassDescriptor | |
|---|---|
PkEnumeration(Query query,
ClassDescriptor cld,
Class primaryKeyClass,
PersistenceBroker broker)
PkEnumeration constructor. |
|
RowReaderDefaultImpl(ClassDescriptor cld)
|
|
StatementsForClassImpl(JdbcConnectionDescriptor jcd,
ClassDescriptor classDescriptor)
|
|
| Uses of ClassDescriptor in org.apache.ojb.broker.accesslayer.sql |
|---|
| Methods in org.apache.ojb.broker.accesslayer.sql that return ClassDescriptor | |
|---|---|
protected ClassDescriptor |
SqlQueryStatement.getBaseClassDescriptor()
|
protected ClassDescriptor |
SqlPkStatement.getClassDescriptor()
Returns the classDescriptor. |
protected ClassDescriptor |
SqlQueryStatement.getSearchClassDescriptor()
|
| Methods in org.apache.ojb.broker.accesslayer.sql with parameters of type ClassDescriptor | |
|---|---|
protected void |
SqlSelectStatement.appendTable(ClassDescriptor cld,
StringBuffer buf)
Append table name. |
protected void |
SqlPkStatement.appendTable(ClassDescriptor cld,
StringBuffer stmt)
append table name |
protected void |
SqlPkStatement.appendWhereClause(ClassDescriptor cld,
boolean useLocking,
StringBuffer stmt)
Generate a where clause for a prepared Statement. |
protected String |
SqlGeneratorDefaultImpl.asSQLClause(SelectionCriteria c,
ClassDescriptor cld)
Answer the SQL-Clause for a SelectionCriteria |
String |
SqlGeneratorDefaultImpl.asSQLStatement(Criteria crit,
ClassDescriptor cld)
|
protected FieldDescriptor[] |
SqlSelectStatement.buildFieldsForSelect(ClassDescriptor cld)
Return the Fields to be selected. |
protected void |
SqlQueryStatement.buildSuperJoinTree(org.apache.ojb.broker.accesslayer.sql.SqlQueryStatement.TableAlias left,
ClassDescriptor cld,
String name,
boolean useOuterJoin)
build the Join-Information if a super reference exists |
SqlStatement |
SqlGeneratorDefaultImpl.getPreparedDeleteStatement(ClassDescriptor cld)
generate a prepared DELETE-Statement for the Class described by cld. |
SqlStatement |
SqlGenerator.getPreparedDeleteStatement(ClassDescriptor cld)
generate a prepared DELETE-Statement for the Class described by cld. |
SqlStatement |
SqlGeneratorDefaultImpl.getPreparedDeleteStatement(Query query,
ClassDescriptor cld)
generate a prepared DELETE-Statement according to query |
SqlStatement |
SqlGenerator.getPreparedDeleteStatement(Query query,
ClassDescriptor cld)
generate a prepared DELETE-Statement according to query |
SqlStatement |
SqlGeneratorDefaultImpl.getPreparedExistsStatement(ClassDescriptor cld)
|
SqlStatement |
SqlGeneratorDefaultImpl.getPreparedInsertStatement(ClassDescriptor cld)
generate a prepared INSERT-Statement for the Class described by cld. |
SqlStatement |
SqlGenerator.getPreparedInsertStatement(ClassDescriptor cld)
generate a prepared INSERT-Statement for the Class described by mif. |
SelectStatement |
SqlGeneratorDefaultImpl.getPreparedSelectByPkStatement(ClassDescriptor cld)
generate a prepared SELECT-Statement for the Class described by cld |
SelectStatement |
SqlGenerator.getPreparedSelectByPkStatement(ClassDescriptor cld)
generate a prepared SELECT-Statement for the Class described by cld |
SelectStatement |
SqlGeneratorDefaultImpl.getPreparedSelectStatement(Query query,
ClassDescriptor cld)
generate a select-Statement according to query |
SelectStatement |
SqlGenerator.getPreparedSelectStatement(Query query,
ClassDescriptor cld)
generate a select-Statement according to query |
SqlStatement |
SqlGeneratorDefaultImpl.getPreparedUpdateStatement(ClassDescriptor cld)
generate a prepared UPDATE-Statement for the Class described by cld |
SqlStatement |
SqlGenerator.getPreparedUpdateStatement(ClassDescriptor cld)
generate a prepared UPDATE-Statement for the Class described by cld |
SelectStatement |
SqlGeneratorDefaultImpl.getSelectStatementDep(Query query,
ClassDescriptor cld)
generate a select-Statement according to query |
SelectStatement |
SqlGenerator.getSelectStatementDep(Query query,
ClassDescriptor cld)
generate a select-Statement according to query |
protected SqlGeneratorDefaultImpl.SqlForClass |
SqlGeneratorDefaultImpl.getSqlForClass(ClassDescriptor cld)
Returns the SqlGeneratorDefaultImpl.SqlForClass instance for
the given class descriptor. |
protected org.apache.ojb.broker.accesslayer.sql.SqlQueryStatement.TableAlias |
SqlQueryStatement.getTableAliasForClassDescriptor(ClassDescriptor aCld)
Answer the TableAlias for ClassDescriptor. |
| Constructors in org.apache.ojb.broker.accesslayer.sql with parameters of type ClassDescriptor | |
|---|---|
SqlDeleteByPkStatement(ClassDescriptor cld,
Logger logger)
Constructor for SqlDeleteByPkStatement. |
|
SqlDeleteByQuery(Platform pf,
ClassDescriptor cld,
Query query,
Logger logger)
Constructor for SqlDeleteByQuery. |
|
SqlExistStatement(ClassDescriptor aCld,
Logger aLogger)
|
|
SqlInsertStatement(ClassDescriptor cld,
Logger logger)
Constructor for SqlInsertStatement. |
|
SqlPkStatement(ClassDescriptor aCld,
Logger aLogger)
Constructor for SqlPkStatement. |
|
SqlQueryStatement(Platform pf,
ClassDescriptor cld,
Query query,
Logger logger)
Constructor for SqlCriteriaStatement. |
|
SqlQueryStatement(SqlQueryStatement parent,
Platform pf,
ClassDescriptor cld,
Query query,
Logger logger)
Constructor for SqlCriteriaStatement. |
|
SqlSelectByPkStatement(Platform pf,
ClassDescriptor cld,
Logger logger)
Constructor for SqlSelectByPkStatement. |
|
SqlSelectStatement(Platform pf,
ClassDescriptor cld,
Query query,
Logger logger)
Constructor for SqlSelectStatement. |
|
SqlSelectStatement(SqlQueryStatement parent,
Platform pf,
ClassDescriptor cld,
Query query,
Logger logger)
Constructor for SqlSelectStatement. |
|
SqlUpdateStatement(ClassDescriptor cld,
Logger logger)
Constructor for SqlUpdateStatement. |
|
| Uses of ClassDescriptor in org.apache.ojb.broker.core |
|---|
| Methods in org.apache.ojb.broker.core that return ClassDescriptor | |
|---|---|
ClassDescriptor |
DelegatingPersistenceBroker.getClassDescriptor(Class clazz)
|
ClassDescriptor |
PersistenceBrokerBean.getClassDescriptor(Class clazz)
|
ClassDescriptor |
PersistenceBrokerImpl.getClassDescriptor(Class clazz)
returns a ClassDescriptor for the persistence capable class clazz. |
| Methods in org.apache.ojb.broker.core with parameters of type ClassDescriptor | |
|---|---|
Identity |
IdentityFactoryImpl.buildIdentity(ClassDescriptor cld,
Object obj)
|
void |
DelegatingPersistenceBroker.checkRefreshRelationships(Object obj,
Identity oid,
ClassDescriptor cld)
|
void |
PersistenceBrokerImpl.checkRefreshRelationships(Object obj,
Identity oid,
ClassDescriptor cld)
Check if the references of the specified object have enabled the refresh attribute and refresh the reference if set true. |
protected Identity |
IdentityFactoryImpl.createTransientOrRealIdentity(ClassDescriptor cld,
Object objOrProxy)
This methods creates a new transient (if at least one PK field is 'null') or persistent (if the PK fields are populated) Identity instance. |
protected OJBIterator |
PersistenceBrokerImpl.getIteratorFromQuery(Query query,
ClassDescriptor cld)
Get an extent aware Iterator based on the Query |
void |
PersistenceBrokerImpl.link(Object targetObject,
ClassDescriptor cld,
ObjectReferenceDescriptor rds,
Object referencedObject,
boolean insert)
Assign FK value to target object by reading PK values of referenced object. |
void |
PersistenceBrokerImpl.linkOneToOne(Object obj,
ClassDescriptor cld,
ObjectReferenceDescriptor rds,
boolean insert)
Assign FK value of main object with PK values of the reference object. |
void |
QueryReferenceBroker.retrieveCollection(Object obj,
ClassDescriptor cld,
CollectionDescriptor cds,
boolean forced)
Retrieve a single Collection on behalf of obj. |
void |
QueryReferenceBroker.retrieveCollections(Object newObj,
ClassDescriptor cld,
boolean forced)
Retrieve all Collection attributes of a given instance |
void |
QueryReferenceBroker.retrieveProxyCollection(Object obj,
ClassDescriptor cld,
CollectionDescriptor cds,
boolean forced)
Retrieve a single Proxied Collection on behalf of obj. |
void |
QueryReferenceBroker.retrieveProxyCollections(Object newObj,
ClassDescriptor cld,
boolean forced)
Retrieve all Collection attributes of a given instance, and make all of the Proxy Collections |
void |
QueryReferenceBroker.retrieveProxyReference(Object obj,
ClassDescriptor cld,
ObjectReferenceDescriptor rds,
boolean forced)
Retrieve a single Reference. |
void |
QueryReferenceBroker.retrieveProxyReferences(Object newObj,
ClassDescriptor cld,
boolean forced)
Retrieve all References |
void |
QueryReferenceBroker.retrieveReference(Object obj,
ClassDescriptor cld,
ObjectReferenceDescriptor rds,
boolean forced)
Retrieve a single Reference. |
void |
QueryReferenceBroker.retrieveReferences(Object newObj,
ClassDescriptor cld,
boolean forced)
Retrieve all References |
protected void |
PersistenceBrokerImpl.store(Object obj,
Identity oid,
ClassDescriptor cld,
boolean insert)
Internal used method which start the real store work. |
void |
DelegatingPersistenceBroker.store(Object obj,
Identity oid,
ClassDescriptor cld,
boolean insert,
boolean ignoreReferences)
|
void |
PersistenceBrokerImpl.store(Object obj,
Identity oid,
ClassDescriptor cld,
boolean insert,
boolean ignoreReferences)
Method which start the real store work (insert or update) and is intended for use by top-level api or internal calls. |
void |
PersistenceBrokerImpl.unlinkFK(Object targetObject,
ClassDescriptor cld,
ObjectReferenceDescriptor rds)
Unkink FK fields of target object. |
| Uses of ClassDescriptor in org.apache.ojb.broker.metadata |
|---|
| Fields in org.apache.ojb.broker.metadata declared as ClassDescriptor | |
|---|---|
protected ClassDescriptor |
AttributeDescriptorBase.m_ClassDescriptor
|
| Methods in org.apache.ojb.broker.metadata that return ClassDescriptor | |
|---|---|
protected ClassDescriptor |
DescriptorRepository.discoverDescriptor(String className)
Starts by looking to see if the className is
already mapped specifically to the descritpor repository. |
ClassDescriptor |
DescriptorRepository.findFirstConcreteClass(ClassDescriptor cld)
Return the first found concrete class ClassDescriptor. |
ClassDescriptor |
AttributeDescriptorBase.getClassDescriptor()
Gets the classDescriptor. |
ClassDescriptor |
ProcedureDescriptor.getClassDescriptor()
Retrieve the class descriptor that this object is related to. |
ClassDescriptor |
DescriptorRepository.getDescriptorFor(Class c)
lookup a ClassDescriptor in the internal Hashtable |
ClassDescriptor |
DescriptorRepository.getDescriptorFor(String strClassName)
lookup a ClassDescriptor in the internal Hashtable |
ClassDescriptor |
ClassDescriptor.getSuperClassDescriptor()
Answers the ClassDescriptor referenced by 'super' ReferenceDescriptor. |
| Methods in org.apache.ojb.broker.metadata with parameters of type ClassDescriptor | |
|---|---|
protected void |
DescriptorRepository.deregisterSuperClassMultipleJoinedTables(ClassDescriptor cld)
Internal used! Deregister sub-classes of specified class when mapping to multiple joined tables is used. |
ClassDescriptor |
DescriptorRepository.findFirstConcreteClass(ClassDescriptor cld)
Return the first found concrete class ClassDescriptor. |
Collection |
DescriptorRepository.getAllConcreteSubclassDescriptors(ClassDescriptor aCld)
Utility method to discover all concrete subclasses of a given super class. |
FieldDescriptor[] |
DescriptorRepository.getFieldDescriptorsForMultiMappedTable(ClassDescriptor targetCld)
|
FieldDescriptor[] |
ObjectReferenceDescriptor.getForeignKeyFieldDescriptors(ClassDescriptor cld)
|
Object[] |
ObjectReferenceDescriptor.getForeignKeyValues(Object obj,
ClassDescriptor mif)
Returns an Object array of all FK field values of the specified object. |
Class[] |
DescriptorRepository.getSubClassesMultipleJoinedTables(ClassDescriptor cld,
boolean wholeTree)
Return sub-classes of the specified class using the "super"-Reference concept. |
void |
DescriptorRepository.put(Class c,
ClassDescriptor cld)
Add a ClassDescriptor to the internal Hashtable Set the Repository for ClassDescriptor |
void |
DescriptorRepository.put(String classname,
ClassDescriptor cld)
Add a ClassDescriptor to the internal Hashtable Set the Repository for ClassDescriptor |
protected void |
DescriptorRepository.registerSuperClassMultipleJoinedTables(ClassDescriptor cld)
Internal used! Register sub-classes of specified class when mapping class to multiple joined tables is used. |
void |
AttributeDescriptorBase.setClassDescriptor(ClassDescriptor classDescriptor)
Sets the classDescriptor. |
void |
DescriptorRepository.setClassDescriptor(ClassDescriptor cld)
Convenience for DescriptorRepository.put(Class c, ClassDescriptor cld) |
| Constructors in org.apache.ojb.broker.metadata with parameters of type ClassDescriptor | |
|---|---|
AnonymousFieldDescriptor(ClassDescriptor cld,
int id)
|
|
AttributeDescriptorBase(ClassDescriptor descriptor)
Constructor declaration |
|
CollectionDescriptor(ClassDescriptor descriptor)
|
|
DeleteProcedureDescriptor(ClassDescriptor classDescriptor,
String name,
boolean includePkFieldsOnly)
Constructor declaration |
|
FieldDescriptor(ClassDescriptor cld,
int id)
Constructor declaration |
|
InsertProcedureDescriptor(ClassDescriptor classDescriptor,
String name,
boolean includeAllFields)
Constructor declaration |
|
ObjectReferenceDescriptor(ClassDescriptor descriptor)
|
|
ProcedureDescriptor(ClassDescriptor classDescriptor,
String name)
Constructor declaration |
|
SuperReferenceDescriptor(ClassDescriptor descriptor)
|
|
UpdateProcedureDescriptor(ClassDescriptor classDescriptor,
String name,
boolean includeAllFields)
Constructor declaration |
|
| Uses of ClassDescriptor in org.apache.ojb.broker.util |
|---|
| Methods in org.apache.ojb.broker.util with parameters of type ClassDescriptor | |
|---|---|
boolean |
BrokerHelper.assertValidPkForDelete(ClassDescriptor cld,
Object obj)
returns true if the primary key fields are valid for delete, else false. |
static Object |
ClassHelper.buildNewObjectInstance(ClassDescriptor cld)
Builds a new instance for the class represented by the given class descriptor. |
boolean |
BrokerHelper.doesExist(ClassDescriptor cld,
Identity oid,
Object obj)
TODO: This method should be moved to JdbcAccess
before 1.1 release. |
static PersistenceBrokerSQLException |
ExceptionHelper.generateException(SQLException ex,
String sql,
ClassDescriptor cld,
Logger logger,
Object obj)
Method which support the conversion of SQLException to
OJB's runtime exception (with additional message details). |
static PersistenceBrokerSQLException |
ExceptionHelper.generateException(SQLException ex,
String sql,
ClassDescriptor cld,
ValueContainer[] values,
Logger logger,
Object obj)
Method which support the conversion of SQLException to
OJB's runtime exception (with additional message details). |
static PersistenceBrokerSQLException |
ExceptionHelper.generateException(String message,
SQLException ex,
String sql,
ClassDescriptor cld,
ValueContainer[] values,
Logger logger,
Object obj)
Method which support the conversion of SQLException to
OJB's runtime exception (with additional message details). |
ValueContainer[] |
BrokerHelper.getAllRwValues(ClassDescriptor cld,
Object obj)
Returns an array containing values for all READ/WRITE attributes of the object based on the specified ClassDescriptor. |
ValueContainer[] |
BrokerHelper.getKeyValues(ClassDescriptor cld,
Identity oid)
Return primary key values of given Identity object. |
ValueContainer[] |
BrokerHelper.getKeyValues(ClassDescriptor cld,
Identity oid,
boolean convertToSql)
Return key Values of an Identity |
ValueContainer[] |
BrokerHelper.getKeyValues(ClassDescriptor cld,
Object objectOrProxy)
returns an Array with an Objects PK VALUES, with any java-to-sql FieldConversion applied. |
ValueContainer[] |
BrokerHelper.getKeyValues(ClassDescriptor cld,
Object objectOrProxy,
boolean convertToSql)
Returns an Array with an Objects PK VALUES if convertToSql is true, any associated java-to-sql conversions are applied. |
ValueContainer[] |
BrokerHelper.getNonKeyRwValues(ClassDescriptor cld,
Object obj)
Returns an array containing values for all non PK field READ/WRITE attributes of the object based on the specified ClassDescriptor. |
static boolean |
BrokerHelper.hasAnonymousKeyReference(ClassDescriptor cld,
ObjectReferenceDescriptor rds)
Returns true if one or more anonymous FK fields are used. |
boolean |
BrokerHelper.hasNullPKField(ClassDescriptor cld,
Object obj)
Detect if the given object has a PK field represents a 'null' value. |
| Uses of ClassDescriptor in org.apache.ojb.broker.util.sequence |
|---|
| Methods in org.apache.ojb.broker.util.sequence with parameters of type ClassDescriptor | |
|---|---|
void |
SequenceManagerNativeImpl.afterStore(JdbcAccess dbAccess,
ClassDescriptor cld,
Object obj)
|
void |
SequenceManager.afterStore(JdbcAccess dbAccess,
ClassDescriptor cld,
Object obj)
This method is called after the object was written to the persistent storage. |
void |
AbstractSequenceManager.afterStore(JdbcAccess dbAccess,
ClassDescriptor cld,
Object obj)
noop |
protected long |
SequenceManagerNextValImpl.buildNextSequence(ClassDescriptor cld,
String sequenceName)
|
protected long |
SequenceManagerStoredProcedureImpl.buildNextSequence(PersistenceBroker broker,
ClassDescriptor cld,
String sequenceName)
Calls the stored procedure stored procedure throws an error if it doesn't exist. |
protected void |
SequenceManagerNextValImpl.createSequence(ClassDescriptor cld,
String sequenceName)
|
static long |
SequenceManagerHelper.getMaxIdForClass(PersistenceBroker brokerForClass,
ClassDescriptor cldForOriginalOrExtent,
FieldDescriptor original)
lookup current maximum value for a single field in table the given class descriptor was associated. |
void |
AbstractSequenceManager.setReferenceFKs(Object obj,
ClassDescriptor cld)
noop |
| Uses of ClassDescriptor in org.apache.ojb.odmg |
|---|
| Methods in org.apache.ojb.odmg that return ClassDescriptor | |
|---|---|
ClassDescriptor |
RuntimeObject.getCld()
Returns the associated object ClassDescriptor. |
| Methods in org.apache.ojb.odmg with parameters of type ClassDescriptor | |
|---|---|
protected boolean |
TransactionImpl.isTransient(ClassDescriptor cld,
Object obj,
Identity oid)
Detect new objects. |
| Constructors in org.apache.ojb.odmg with parameters of type ClassDescriptor | |
|---|---|
RuntimeObject(Object obj,
Identity oid,
ClassDescriptor cld,
boolean isNew,
boolean isProxy)
|
|
| Uses of ClassDescriptor in org.apache.ojb.otm |
|---|
| Methods in org.apache.ojb.otm that return ClassDescriptor | |
|---|---|
ClassDescriptor |
OTMConnection.getDescriptorFor(Class clazz)
|
| Uses of ClassDescriptor in org.apache.ojb.otm.core |
|---|
| Methods in org.apache.ojb.otm.core that return ClassDescriptor | |
|---|---|
ClassDescriptor |
BaseConnection.getDescriptorFor(Class clazz)
Get the class descriptor |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||