| Modifier and Type | Field and Description |
|---|---|
| private String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | InheritanceMetadata(MetadataAnnotation inheritance, MetadataAccessor accessor)
INTERNAL: Used for annotation loading. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addClassExtractor(MetadataDescriptor descriptor, EntityAccessor accessor)
INTERNAL: Set the class extractor class name on the inheritance policy. |
| protected void | addClassIndicator(MetadataDescriptor descriptor, EntityAccessor accessor)
INTERNAL: Recursive method. |
| protected void | |
| public 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. |
| public boolean | equals(Object
the reference object with which to compare. objectToCompare)Implements abstract org. |
| public String | |
| public int | |
| public void | process(MetadataDescriptor descriptor)
INTERNAL: The process method method will be called with the descriptor from every entity in the hierarchy. |
| protected void | processInheritanceRoot(MetadataDescriptor descriptor, EntityAccessor accessor)
INTERNAL: Process the inheritance metadata of a root class. |
| protected void | processInheritanceSubclass(MetadataDescriptor descriptor, EntityAccessor accessor, EntityAccessor rootAccessor)
INTERNAL: Process the inheritance metadata of a sub class. |
| protected void | |
| public void | |
| protected void | |
| public boolean | |
| public boolean | |
| public boolean |
| m_strategy | back to summary |
|---|---|
| private String m_strategy | |
| InheritanceMetadata | back to summary |
|---|---|
| public InheritanceMetadata() INTERNAL: Used for XML loading. | |
| InheritanceMetadata | back to summary |
|---|---|
| public InheritanceMetadata(MetadataAnnotation inheritance, MetadataAccessor accessor) INTERNAL: Used for annotation loading. | |
| addClassExtractor | back to summary |
|---|---|
| protected void addClassExtractor(MetadataDescriptor descriptor, EntityAccessor accessor) INTERNAL: Set the class extractor class name on the inheritance policy. | |
| addClassIndicator | back to summary |
|---|---|
| protected void addClassIndicator(MetadataDescriptor descriptor, EntityAccessor accessor) INTERNAL: Recursive method. | |
| addClassIndicatorField | back to summary |
|---|---|
| protected void addClassIndicatorField(MetadataDescriptor descriptor, EntityAccessor accessor) INTERNAL: | |
| addTablePerClassParentMappings | back to summary |
|---|---|
| public 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. What we know: - All parent classes will already have been processed. Inheritance hierarchies are processed top->down. - Always go through the given descriptors pointer to its class accessor, as we can not rely on the reloaded accessors for inheritance checks, mapped superclasses etc. Use the descriptors provided. - When adding accessors from superclasses to an inheritance subclasses descriptor, they must be reloaded/cloned and cannot be shared. Otherwise the processing of those accessor will only be performed once by their 'real' owning entity accessor. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object objectToCompare) Implements abstract org. INTERNAL:
| |
| getStrategy | back to summary |
|---|---|
| public String getStrategy() INTERNAL: Used for OX mapping. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| process | back to summary |
|---|---|
| public void process(MetadataDescriptor descriptor) INTERNAL: The process method method will be called with the descriptor from every entity in the hierarchy. | |
| processInheritanceRoot | back to summary |
|---|---|
| protected void processInheritanceRoot(MetadataDescriptor descriptor, EntityAccessor accessor) INTERNAL: Process the inheritance metadata of a root class. | |
| processInheritanceSubclass | back to summary |
|---|---|
| protected void processInheritanceSubclass(MetadataDescriptor descriptor, EntityAccessor accessor, EntityAccessor rootAccessor) INTERNAL: Process the inheritance metadata of a sub class. | |
| setInheritancePolicy | back to summary |
|---|---|
| protected void setInheritancePolicy(MetadataDescriptor descriptor) INTERNAL: Recursive method. | |
| setStrategy | back to summary |
|---|---|
| public void setStrategy(String strategy) INTERNAL: Used for OX mapping. | |
| setTablePerClassInheritancePolicy | back to summary |
|---|---|
| protected void setTablePerClassInheritancePolicy(MetadataDescriptor descriptor) INTERNAL: | |
| usesJoinedStrategy | back to summary |
|---|---|
| public boolean usesJoinedStrategy() INTERNAL: | |
| usesSingleTableStrategy | back to summary |
|---|---|
| public boolean usesSingleTableStrategy() INTERNAL: | |
| usesTablePerClassStrategy | back to summary |
|---|---|
| public boolean usesTablePerClassStrategy() INTERNAL: | |