public class TablePerClassPolicy extends InterfacePolicy implements java.io.Serializable, java.lang.Cloneable
Purpose: Provides the functionality to support a TABLE_PER_CLASS inheritance strategy. Resolves relational mappings and querying.
Constructor and Description |
---|
TablePerClassPolicy(ClassDescriptor descriptor)
INTERNAL: Create a new policy.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTablePerClassPolicy()
INTERNAL:
|
void |
prepareChildrenSelectionQuery(DatabaseMapping sourceMapping, org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: This method is called from individual mappings during their initialization.
|
addChildDescriptor, addParentDescriptor, addParentInterface, addParentInterfaceName, convertClassNamesToClasses, getChildDescriptors, getImplementorDescriptor, getImplementorDescriptorClassName, getParentDescriptors, getParentInterfaceNames, getParentInterfaces, hasChild, initialize, isInterfaceChildDescriptor, selectAllObjectsUsingMultipleTableSubclassRead, selectOneObjectUsingMultipleTableSubclassRead, setDescriptor, setImplementorDescriptor, setImplementorDescriptorClassName, setParentInterfaceNames, setParentInterfaces, usesImplementorDescriptor
public TablePerClassPolicy(ClassDescriptor descriptor)
public boolean isTablePerClassPolicy()
isTablePerClassPolicy
in class InterfacePolicy
public void prepareChildrenSelectionQuery(DatabaseMapping sourceMapping, org.eclipse.persistence.internal.sessions.AbstractSession session)