| Modifier and Type | Method and Description |
|---|---|
MetadataDescriptor |
MetadataDynamicClassWriter.getDescriptor() |
MetadataDescriptor |
MetadataDescriptor.getInheritanceParentDescriptor()
INTERNAL:
Returns the immediate parent's descriptor in the inheritance hierarchy.
|
MetadataDescriptor |
MetadataDescriptor.getInheritanceRootDescriptor()
INTERNAL:
Returns the root descriptor of the inheritance hierarchy, that is, the
one that defines the inheritance strategy.
|
MetadataDescriptor |
MetadataDescriptor.getMetamodelMappedSuperclassChildDescriptor()
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetadataProject.addAlias(String alias,
MetadataDescriptor descriptor)
INTERNAL:
|
void |
MetadataDescriptor.addEmbeddableDescriptor(MetadataDescriptor embeddableDescriptor)
INTERNAL:
|
void |
MetadataProject.addMetamodelMappedSuperclass(MappedSuperclassAccessor accessor,
MetadataDescriptor childDescriptor)
INTERNAL:
The metamodel API requires that descriptors exist for mappedSuperclasses
in order to obtain their mappings.
|
protected void |
MetadataProject.createDynamicClass(MetadataDescriptor descriptor,
Map<String,MetadataDescriptor> virtualEntities,
DynamicClassLoader dcl)
INTERNAL:
Create the dynamic class using JPA metadata processed descriptors.
|
protected void |
MetadataProject.createDynamicType(MetadataDescriptor descriptor,
Map<String,DynamicType> dynamicTypes,
DynamicClassLoader dcl)
INTERNAL:
Create the dynamic types using JPA metadata processed descriptors.
|
void |
MetadataLogger.logConfigMessage(String ctx,
MetadataDescriptor descriptor,
Object param)
INTERNAL:
Logging utility method.
|
protected void |
MetadataProject.processPersistenceUnitMetadata(MetadataDescriptor descriptor)
INTERNAL:
Process any and all persistence unit metadata and defaults to the given
descriptor.
|
protected EntityAccessor |
ORMetadata.reloadEntity(EntityAccessor entity,
MetadataDescriptor descriptor)
INTERNAL:
This method should be called to reload an entity (that was either
loaded from XML or an annotation) as a way of cloning it.
|
protected MappedSuperclassAccessor |
ORMetadata.reloadMappedSuperclass(MappedSuperclassAccessor mappedSuperclass,
MetadataDescriptor descriptor)
INTERNAL:
This method should be called to reload a mapped superclass (that was either
loaded from XML or an annotation) as a way of cloning it.
|
void |
MetadataDescriptor.setInheritanceParentDescriptor(MetadataDescriptor inheritanceParentDescriptor)
INTERNAL:
Set the immediate parent's descriptor of the inheritance hierarchy.
|
void |
MetadataDescriptor.setInheritanceRootDescriptor(MetadataDescriptor inheritanceRootDescriptor)
INTERNAL:
Set the root descriptor of the inheritance hierarchy, that is, the one
that defines the inheritance strategy.
|
void |
MetadataDescriptor.setMetamodelMappedSuperclassChildDescriptor(MetadataDescriptor childDescriptor)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
MetadataProject.createDynamicClass(MetadataDescriptor descriptor,
Map<String,MetadataDescriptor> virtualEntities,
DynamicClassLoader dcl)
INTERNAL:
Create the dynamic class using JPA metadata processed descriptors.
|
| Constructor and Description |
|---|
MetadataDynamicClassWriter(MetadataDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
MetadataDescriptor |
MetadataAccessor.getDescriptor()
INTERNAL:
Return the MetadataDescriptor for this accessor.
|
| Modifier and Type | Method and Description |
|---|---|
protected DatabaseField |
MetadataAccessor.getReferencedField(String referencedColumnName,
MetadataDescriptor referenceDescriptor,
String context)
INTERNAL:
Return the referenced field.
|
protected DatabaseField |
MetadataAccessor.getReferencedField(String referencedColumnName,
MetadataDescriptor referenceDescriptor,
String context,
boolean isForAggregateCollection)
INTERNAL:
Return the referenced field.
|
void |
MetadataAccessor.initXMLAccessor(MetadataDescriptor descriptor,
MetadataProject project)
INTERNAL:
This method should be subclassed in those methods that need to do
extra initialization.
|
void |
MetadataAccessor.setDescriptor(MetadataDescriptor descriptor)
INTERNAL:
Set the metadata descriptor for this accessor.
|
| Constructor and Description |
|---|
MetadataAccessor(MetadataAnnotation annotation,
MetadataAccessibleObject accessibleObject,
MetadataDescriptor descriptor,
MetadataProject project)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
MetadataDescriptor |
EmbeddableAccessor.getOwningDescriptor()
INTERNAL:
So, here's the deal ...
|
MetadataDescriptor |
ClassAccessor.getOwningDescriptor()
INTERNAL:
In most cases the owning descriptor is the descriptor associated with
this class accessor.
|
| Modifier and Type | Method and Description |
|---|---|
List<MetadataDescriptor> |
ClassAccessor.getOwningDescriptors()
INTERNAL:
In most cases the owning descriptors is the single descriptor associated
with this class accessor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EmbeddableAccessor.addOwningDescriptor(MetadataDescriptor owningDescriptor)
INTERNAL:
|
void |
ClassAccessor.initXMLClassAccessor(MetadataAccessibleObject accessibleObject,
MetadataDescriptor descriptor,
MetadataProject project,
XMLEntityMappings entityMappings)
INTERNAL:
This method should be subclassed in those methods that need to do
extra initialization.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EmbeddableAccessor.addOwningDescriptors(List<MetadataDescriptor> owningDescriptors)
INTERNAL:
|
| Constructor and Description |
|---|
ClassAccessor(MetadataAnnotation annotation,
MetadataClass cls,
MetadataDescriptor descriptor)
INTERNAL:
Called from MappedSuperclassAccessor.
|
MappedSuperclassAccessor(MetadataAnnotation annotation,
MetadataClass cls,
MetadataDescriptor descriptor)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
MetadataDescriptor |
MappingAccessor.getOwningDescriptor()
INTERNAL:
Return the owning descriptor of this accessor.
|
MetadataDescriptor |
VariableOneToOneAccessor.getReferenceDescriptor()
INTERNAL:
In a variable one to one case, there is no knowledge of a reference
descriptor and the join columns should be defaulted based on the owner
of the variable one to one's descriptor.
|
MetadataDescriptor |
RelationshipAccessor.getReferenceDescriptor()
INTERNAL:
Return the reference metadata descriptor for this accessor.
|
MetadataDescriptor |
MappingAccessor.getReferenceDescriptor()
INTERNAL:
Return the reference metadata descriptor for this accessor.
|
MetadataDescriptor |
ElementCollectionAccessor.getReferenceDescriptor()
INTERNAL:
In an element collection case, when the collection is not an embeddable
collection, there is no notion of a reference descriptor, therefore we
return this accessors descriptor
|
MetadataDescriptor |
DirectCollectionAccessor.getReferenceDescriptor()
INTERNAL:
In a direct collection case, there is no notion of a reference
descriptor, therefore we return this accessors descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
List<MetadataDescriptor> |
MappingAccessor.getOwningDescriptors()
INTERNAL:
Return the owning descriptors of this accessor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
RelationshipAccessor.addJoinTableRelationKeyFields(List<JoinColumnMetadata> joinColumns,
RelationTableMechanism mechanism,
String defaultFieldName,
MetadataDescriptor descriptor,
boolean isSource)
INTERNAL:
Add the relation key fields to a many to many mapping.
|
protected ForeignKeyMetadata |
MappingAccessor.getForeignKey(ForeignKeyMetadata potentialForeignKey,
MetadataDescriptor descriptor)
INTERNAL:
Return the foreign key to use with this mapping accessor.
|
protected List<JoinColumnMetadata> |
MappingAccessor.getJoinColumns(List<JoinColumnMetadata> potentialJoinColumns,
MetadataDescriptor descriptor)
INTERNAL:
Return the join columns to use with this mapping accessor.
|
protected List<JoinColumnMetadata> |
MappingAccessor.getJoinColumnsAndValidate(List<JoinColumnMetadata> joinColumns,
MetadataDescriptor referenceDescriptor)
INTERNAL:
This method will validate the join columns and default any where
necessary.
|
protected void |
ObjectAccessor.processAssociationOverride(AssociationOverrideMetadata associationOverride,
EmbeddableMapping embeddableMapping,
DatabaseTable defaultTable,
MetadataDescriptor owningDescriptor)
INTERNAL:
Process an association override for either an embedded object mapping,
or a map mapping (element-collection, 1-M and M-M) containing an
embeddable object as the value or key.
|
protected void |
OneToManyAccessor.processAssociationOverride(AssociationOverrideMetadata associationOverride,
EmbeddableMapping embeddableMapping,
MetadataDescriptor owningDescriptor)
INTERNAL:
Process an association override for either an embedded object mapping,
or a map mapping (element-collection, 1-M and M-M) containing an
embeddable object as the value or key.
|
protected void |
ObjectAccessor.processAssociationOverride(AssociationOverrideMetadata associationOverride,
EmbeddableMapping embeddableMapping,
MetadataDescriptor owningDescriptor)
INTERNAL:
Process an association override for either an embedded object mapping,
or a map mapping (element-collection, 1-M and M-M) containing an
embeddable object as the value or key.
|
protected void |
MappingAccessor.processAssociationOverride(AssociationOverrideMetadata associationOverride,
EmbeddableMapping embeddableMapping,
MetadataDescriptor owningDescriptor)
INTERNAL:
Process an association override for either an embedded object mapping,
or a map mapping (element-collection, 1-M and M-M) containing an
embeddable object as the value or key.
|
protected void |
CollectionAccessor.processAssociationOverride(AssociationOverrideMetadata associationOverride,
EmbeddableMapping embeddableMapping,
MetadataDescriptor owningDescriptor)
INTERNAL:
Process an association override for either an embedded object mapping,
or a map mapping (element-collection, 1-M and M-M) containing an
embeddable object as the value or key.
|
protected void |
MappingAccessor.processAssociationOverrides(List<AssociationOverrideMetadata> associationOverrides,
EmbeddableMapping embeddableMapping,
MetadataDescriptor embeddableDescriptor)
INTERNAL:
Process the association overrides for the given embeddable mapping which
is either an embedded or element collection mapping.
|
protected void |
MappingAccessor.processAttributeOverrides(List<AttributeOverrideMetadata> attributeOverrides,
AggregateObjectMapping aggregateObjectMapping,
MetadataDescriptor embeddableDescriptor)
INTERNAL:
Process the attribute overrides for the given embedded mapping.
|
protected void |
ElementCollectionAccessor.processDirectEmbeddableCollectionMapping(MetadataDescriptor referenceDescriptor)
INTERNAL:
|
protected void |
MappingAccessor.processForeignKeyRelationship(ForeignReferenceMapping mapping,
List<JoinColumnMetadata> joinColumns,
ForeignKeyMetadata foreignKey,
MetadataDescriptor referenceDescriptor,
String defaultFKFieldName,
DatabaseTable defaultFKTable)
INTERNAL:
Process the join columns for the owning side of a one to one mapping.
|
protected void |
ElementCollectionAccessor.processMappingsFromEmbeddable(MetadataDescriptor embeddableDescriptor,
AggregateObjectMapping nestedAggregateObjectMapping,
EmbeddableMapping embeddableMapping,
Map<String,AttributeOverrideMetadata> attributeOverrides,
Map<String,AssociationOverrideMetadata> associationOverrides,
String dotNotationName)
INTERNAL:
|
protected void |
ElementCollectionAccessor.processMappingValueConverters(MetadataDescriptor embeddableDescriptor)
INTERNAL:
Process convertors registered for collection mapping.
|
protected void |
OneToManyAccessor.processUnidirectionalOneToManyTargetForeignKeyRelationship(UnidirectionalOneToManyMapping mapping,
List<JoinColumnMetadata> joinColumns,
MetadataDescriptor owningDescriptor)
INTERNAL:
Process the join column(s) metadata for the owning side of a
unidirectional one to many mapping.
|
| Modifier and Type | Method and Description |
|---|---|
MetadataClass |
MetadataAnnotatedElement.getMapKeyClass(MetadataDescriptor descriptor)
INTERNAL:
This should only be called for accessor's of type Map.
|
MetadataClass |
MetadataAnnotatedElement.getRawClass(MetadataDescriptor descriptor)
INTERNAL:
Return the raw class for this accessible object.
|
MetadataClass |
MetadataAnnotatedElement.getRawClassWithGenerics(MetadataDescriptor descriptor)
INTERNAL:
Return the complete raw class with generics for this accessible object.
|
MetadataClass |
MetadataAnnotatedElement.getReferenceClassFromGeneric(MetadataDescriptor descriptor)
INTERNAL:
Return the reference class from the generic specification on this
accessible object.
|
abstract void |
MetadataFactory.resolveGenericTypes(MetadataClass child,
List<String> genericTypes,
MetadataClass parent,
MetadataDescriptor descriptor)
INTERNAL:
This method resolves generic types based on the ASM class metadata.
|
void |
MetadataAsmFactory.resolveGenericTypes(MetadataClass child,
List<String> genericTypes,
MetadataClass parent,
MetadataDescriptor descriptor)
INTERNAL: This method resolves generic types based on the ASM class
metadata.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AdditionalCriteriaMetadata.process(MetadataDescriptor descriptor)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
void |
CacheMetadata.process(MetadataDescriptor descriptor,
MetadataClass javaClass)
INTERNAL:
|
void |
CacheInterceptorMetadata.process(MetadataDescriptor descriptor,
MetadataClass javaClass)
INTERNAL:
|
void |
CacheIndexMetadata.process(MetadataDescriptor descriptor,
String defaultColumnName)
INTERNAL:
Process the index metadata
|
| Modifier and Type | Method and Description |
|---|---|
void |
ChangeTrackingMetadata.process(MetadataDescriptor descriptor)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
void |
OrderColumnMetadata.process(CollectionMapping mapping,
MetadataDescriptor descriptor)
INTERNAL:
|
void |
PrimaryKeyMetadata.process(MetadataDescriptor descriptor)
Process the meta-data, configure primary key and idValidation in descriptor.
|
void |
TenantDiscriminatorColumnMetadata.process(MetadataDescriptor descriptor,
SingleTableMultitenantPolicy policy)
INTERNAL:
|
DatabaseField |
DiscriminatorColumnMetadata.process(MetadataDescriptor descriptor,
String loggingCtx)
INTERNAL:
Process a discriminator column metadata into an EclipseLink
DatabaseField.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CustomCopyPolicyMetadata.process(MetadataDescriptor descriptor)
INTERNAL:
|
void |
CopyPolicyMetadata.process(MetadataDescriptor descriptor)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
InheritanceMetadata.addClassExtractor(MetadataDescriptor descriptor,
EntityAccessor accessor)
INTERNAL:
Set the class extractor class name on the inheritance policy.
|
protected void |
InheritanceMetadata.addClassIndicator(MetadataDescriptor descriptor,
EntityAccessor accessor)
INTERNAL:
Recursive method.
|
protected void |
InheritanceMetadata.addClassIndicatorField(MetadataDescriptor descriptor,
EntityAccessor accessor)
INTERNAL:
|
void |
InheritanceMetadata.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.
|
void |
InheritanceMetadata.process(MetadataDescriptor descriptor)
INTERNAL:
The process method method will be called with the descriptor from
every entity in the hierarchy.
|
protected void |
InheritanceMetadata.processInheritanceRoot(MetadataDescriptor descriptor,
EntityAccessor accessor)
INTERNAL:
Process the inheritance metadata of a root class.
|
protected void |
InheritanceMetadata.processInheritanceSubclass(MetadataDescriptor descriptor,
EntityAccessor accessor,
EntityAccessor rootAccessor)
INTERNAL:
Process the inheritance metadata of a sub class.
|
protected void |
InheritanceMetadata.setInheritancePolicy(MetadataDescriptor descriptor)
INTERNAL:
Recursive method.
|
protected void |
InheritanceMetadata.setTablePerClassInheritancePolicy(MetadataDescriptor descriptor)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
void |
OptimisticLockingMetadata.process(MetadataDescriptor descriptor)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
void |
OrderByMetadata.process(CollectionMapping mapping,
MetadataDescriptor referenceDescriptor,
MetadataClass javaClass)
INTERNAL:
Process an order by value (if specified) for the given collection
mapping.
|
void |
ReturnInsertMetadata.process(MetadataDescriptor descriptor,
DatabaseField field)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
void |
MultitenantMetadata.process(MetadataDescriptor descriptor)
INTERNAL:
|
void |
TenantTableDiscriminatorMetadata.process(MetadataDescriptor descriptor,
TablePerMultitenantPolicy policy)
INTERNAL:
|
protected void |
MultitenantMetadata.processTenantDiscriminators(MetadataDescriptor descriptor,
SingleTableMultitenantPolicy policy)
INTERNAL:
Process the tenant discriminator metadata.
|
protected void |
MultitenantMetadata.processTenantTableDiscriminator(MetadataDescriptor descriptor,
TablePerMultitenantPolicy policy)
INTERNAL:
Process the tenant table discriminator metadata.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NoSqlMetadata.process(MetadataDescriptor descriptor)
INTERNAL:
Switch the descriptor to the correct type and set the data-type name and
format.
|
| Modifier and Type | Method and Description |
|---|---|
void |
QueryRedirectorsMetadata.process(MetadataDescriptor descriptor,
MetadataClass javaClass)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
void |
GeneratedValueMetadata.process(MetadataDescriptor descriptor,
Map<String,Sequence> sequences,
DatasourceLogin login)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
void |
SerializedObjectPolicyMetadata.process(MetadataDescriptor descriptor)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
MetadataDescriptor |
ArrayAccessor.getReferenceDescriptor()
In an element collection case, when the collection is not an embeddable
collection, there is no notion of a reference descriptor, therefore we
return this accessors descriptor
|
| Modifier and Type | Method and Description |
|---|---|
void |
StructMetadata.process(MetadataDescriptor descriptor)
INTERNAL:
Switch the descriptor to the correct type and set the structure name and
properties.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IndexMetadata.process(MetadataDescriptor descriptor,
String defaultColumnName)
INTERNAL:
Process the index metadata.
|
| Modifier and Type | Method and Description |
|---|---|
EntityAccessor |
XMLEntityMappings.reloadEntity(EntityAccessor accessor,
MetadataDescriptor descriptor)
INTERNAL:
We clone/reload an entity class by writing it out to XML and reload it
through OX.
|
MappedSuperclassAccessor |
XMLEntityMappings.reloadMappedSuperclass(MappedSuperclassAccessor accessor,
MetadataDescriptor descriptor)
INTERNAL:
We clone/reload a mapped-superclass by writing it out to XML and
reload it through OX.
|
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.