public class InheritanceMetadata extends ORMetadata
Constructor and Description |
---|
InheritanceMetadata()
INTERNAL:
Used for XML loading.
|
InheritanceMetadata(MetadataAnnotation inheritance,
MetadataAccessor accessor)
INTERNAL:
Used for annotation loading.
|
Modifier and Type | Method and Description |
---|---|
void |
addTablePerClassParentMappings(MetadataDescriptor startingDescriptor,
MetadataDescriptor realDescriptor)
INTERNAL:
Recursive method to traverse table per class inheritance hierarchy and
grab all the 'inherited' accessors for subclasses of the hierarchy.
|
boolean |
equals(java.lang.Object objectToCompare)
INTERNAL:
|
java.lang.String |
getStrategy()
INTERNAL:
Used for OX mapping.
|
void |
process(MetadataDescriptor descriptor)
INTERNAL:
The process method method will be called with the descriptor from
every entity in the hierarchy.
|
void |
setStrategy(java.lang.String strategy)
INTERNAL:
Used for OX mapping.
|
boolean |
usesJoinedStrategy()
INTERNAL:
|
boolean |
usesSingleTableStrategy()
INTERNAL:
|
boolean |
usesTablePerClassStrategy()
INTERNAL:
|
getAccessibleObjectName, getAnnotation, getEntityMappings, getJavaClassName, getLoader, getLocation, getLogger, getMetadataClass, getMetadataClass, getMetadataClass, getMetadataFactory, getProject, initXMLObject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, setAccessibleObject, setEntityMappings, setProject, shouldOverride
public InheritanceMetadata()
public InheritanceMetadata(MetadataAnnotation inheritance, MetadataAccessor accessor)
public void addTablePerClassParentMappings(MetadataDescriptor startingDescriptor, MetadataDescriptor realDescriptor)
public boolean equals(java.lang.Object objectToCompare)
equals
in class ORMetadata
public java.lang.String getStrategy()
public void process(MetadataDescriptor descriptor)
public void setStrategy(java.lang.String strategy)
public boolean usesJoinedStrategy()
public boolean usesSingleTableStrategy()
public boolean usesTablePerClassStrategy()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference