|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.descriptors.ClassExtractor
public abstract class ClassExtractor
Purpose: Abstract class to allow complex inheritance support. Typically class indicators are used to define inheritance in the database, however in complex cases the class type may be determined through another mechanism. The class extractor must be able to determine and return the class type from the database row.
oracle.toplink.descriptors.InheritancePolicy#setClassExtractor(ClassExtrator)
Constructor Summary | |
---|---|
ClassExtractor()
|
Method Summary | |
---|---|
abstract java.lang.Class |
extractClassFromRow(Record databaseRow,
Session session)
Extract/compute the class from the database row and return the class. |
void |
initialize(ClassDescriptor descriptor,
Session session)
Allow for any initialization. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassExtractor()
Method Detail |
---|
public abstract java.lang.Class extractClassFromRow(Record databaseRow, Session session)
public void initialize(ClassDescriptor descriptor, Session session) throws DescriptorException
DescriptorException
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |