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.
Constructor and Description |
---|
ClassExtractor() |
Modifier and Type | Method and Description |
---|---|
abstract 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.
|
public abstract Class extractClassFromRow(Record databaseRow, Session session)
public void initialize(ClassDescriptor descriptor, Session session) throws DescriptorException
DescriptorException
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.