|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.core.descriptors.CoreInheritancePolicy<ABSTRACT_RECORD,ABSTRACT_SESSION,DESCRIPTOR,FIELD>
public abstract class CoreInheritancePolicy<ABSTRACT_RECORD extends org.eclipse.persistence.internal.core.sessions.CoreAbstractRecord,ABSTRACT_SESSION extends org.eclipse.persistence.internal.core.sessions.CoreAbstractSession,DESCRIPTOR extends CoreDescriptor,FIELD extends org.eclipse.persistence.internal.core.helper.CoreField>
INTERNAL A abstraction of inheritance policy capturing behavior common to all persistence types.
Constructor Summary | |
---|---|
CoreInheritancePolicy()
|
Method Summary | |
---|---|
abstract void |
addClassIndicatorFieldToRow(ABSTRACT_RECORD databaseRow)
INTERNAL: Add abstract class indicator information to the database row. |
abstract void |
addClassNameIndicator(java.lang.String childClassName,
java.lang.Object typeValue)
INTERNAL: Add the class name reference by class name, used by the MW. |
abstract java.lang.Class |
classFromRow(ABSTRACT_RECORD record,
ABSTRACT_SESSION session)
INTERNAL: This method is invoked only for the abstract descriptors. |
abstract java.util.List<DESCRIPTOR> |
getAllChildDescriptors()
INTERNAL: Returns all the child descriptors, even descriptors for subclasses of subclasses. |
abstract FIELD |
getClassIndicatorField()
INTERNAL: Returns field that the class type indicator is store when using inheritance. |
abstract java.lang.String |
getClassIndicatorFieldName()
PUBLIC: Return the class indicator field name. |
abstract java.util.Map |
getClassIndicatorMapping()
INTERNAL: Return the association of indicators and classes using specified ConversionManager |
abstract java.util.Map |
getClassNameIndicatorMapping()
INTERNAL: Return the mapping from class name to indicator, used by MW. |
abstract DESCRIPTOR |
getDescriptor()
INTERNAL: Returns the descriptor which the policy belongs to. |
abstract java.lang.Class |
getParentClass()
PUBLIC: Return the parent class. |
abstract DESCRIPTOR |
getParentDescriptor()
INTERNAL: Return the parent descriptor. |
abstract boolean |
hasClassExtractor()
INTERNAL: |
abstract boolean |
isRootParentDescriptor()
INTERNAL: Return whether or not is root parent descriptor |
abstract void |
setClassExtractorName(java.lang.String classExtractorName)
ADVANCED: Set the class extractor class name. |
abstract void |
setClassIndicatorField(FIELD classIndicatorField)
ADVANCED: To set the class indicator field. |
abstract void |
setClassIndicatorMapping(java.util.Map classIndicatorMapping)
PUBLIC: Set the association of indicators and classes. |
abstract void |
setDescriptor(DESCRIPTOR descriptor)
INTERNAL: Set the descriptor. |
abstract void |
setParentClassName(java.lang.String parentClassName)
INTERNAL: Set the parent class name, used by MW to avoid referencing the real class for deployment XML generation. |
abstract void |
setShouldReadSubclasses(java.lang.Boolean shouldReadSubclasses)
INTERNAL: Set the descriptor to read instance of itself and its subclasses when queried. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CoreInheritancePolicy()
Method Detail |
---|
public abstract void addClassIndicatorFieldToRow(ABSTRACT_RECORD databaseRow)
public abstract void addClassNameIndicator(java.lang.String childClassName, java.lang.Object typeValue)
public abstract java.lang.Class classFromRow(ABSTRACT_RECORD record, ABSTRACT_SESSION session)
public abstract java.util.List<DESCRIPTOR> getAllChildDescriptors()
public abstract FIELD getClassIndicatorField()
public abstract java.lang.String getClassIndicatorFieldName()
public abstract java.util.Map getClassIndicatorMapping()
public abstract java.util.Map getClassNameIndicatorMapping()
public abstract DESCRIPTOR getDescriptor()
public abstract java.lang.Class getParentClass()
public abstract DESCRIPTOR getParentDescriptor()
public abstract boolean hasClassExtractor()
public abstract boolean isRootParentDescriptor()
public abstract void setClassExtractorName(java.lang.String classExtractorName)
for more information on the ClassExtractor class.
public abstract void setClassIndicatorField(FIELD classIndicatorField)
public abstract void setClassIndicatorMapping(java.util.Map classIndicatorMapping)
public abstract void setDescriptor(DESCRIPTOR descriptor)
public abstract void setParentClassName(java.lang.String parentClassName)
public abstract void setShouldReadSubclasses(java.lang.Boolean shouldReadSubclasses)
|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |