FileDocCategorySizeDatePackage
ClassExtractor.javaAPI DocGlassfish v2 API3130Tue May 22 16:54:16 BST 2007oracle.toplink.essentials.descriptors

ClassExtractor

public abstract class ClassExtractor extends Object

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.

see
oracle.toplink.essentials.descriptors.InheritancePolicy#setClassExtractor(ClassExtrator)

Fields Summary
Constructors Summary
Methods Summary
public abstract java.lang.ClassextractClassFromRow(oracle.toplink.essentials.sessions.Record databaseRow, oracle.toplink.essentials.sessions.Session session)
Extract/compute the class from the database row and return the class. Map is used as the public interface to database row, the key is the field name, the value is the database value.

public voidinitialize(oracle.toplink.essentials.descriptors.ClassDescriptor descriptor, oracle.toplink.essentials.sessions.Session session)
Allow for any initialization.

        // Do nothing by default.