public class TablePerClassPolicy extends InterfacePolicy
Purpose: Provides the functionality to support a TABLE_PER_CLASS inheritance strategy. Resolves relational mappings and querying.
childDescriptors, descriptor, implementorDescriptor, implementorDescriptorClassName, parentDescriptors, parentInterfaceNames, parentInterfaces
Constructor and Description |
---|
TablePerClassPolicy(ClassDescriptor descriptor)
INTERNAL:
Create a new policy.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTablePerClassPolicy()
INTERNAL:
|
protected Object |
selectAllObjects(ReadAllQuery query)
INTERNAL:
Select all objects for a concrete descriptor.
|
protected Object |
selectOneObject(ReadObjectQuery query)
INTERNAL:
Select one object of any concrete subclass.
|
addChildDescriptor, addParentDescriptor, addParentInterface, addParentInterfaceName, convertClassNamesToClasses, getChildDescriptors, getDescriptor, getImplementorDescriptor, getImplementorDescriptorClassName, getParentDescriptors, getParentInterfaceNames, getParentInterfaces, hasChild, initialize, isInterfaceChildDescriptor, prepareQuery, selectAllObjectsUsingMultipleTableSubclassRead, selectOneObjectUsingMultipleTableSubclassRead, setDescriptor, setImplementorDescriptor, setImplementorDescriptorClassName, setParentInterfaceNames, setParentInterfaces, usesImplementorDescriptor
public TablePerClassPolicy(ClassDescriptor descriptor)
public boolean isTablePerClassPolicy()
isTablePerClassPolicy
in class InterfacePolicy
protected Object selectAllObjects(ReadAllQuery query)
selectAllObjects
in class InterfacePolicy
protected Object selectOneObject(ReadObjectQuery query) throws DescriptorException
selectOneObject
in class InterfacePolicy
DescriptorException
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.