Uses of Class
org.eclipse.persistence.internal.jpa.metadata.MetadataDescriptor
-
-
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata
Methods in org.eclipse.persistence.internal.jpa.metadata that return MetadataDescriptor Modifier and Type Method Description MetadataDescriptorMetadataDynamicClassWriter. getDescriptor()MetadataDescriptorMetadataDescriptor. getInheritanceParentDescriptor()INTERNAL: Returns the immediate parent's descriptor in the inheritance hierarchy.MetadataDescriptorMetadataDescriptor. getInheritanceRootDescriptor()INTERNAL: Returns the root descriptor of the inheritance hierarchy, that is, the one that defines the inheritance strategy.MetadataDescriptorMetadataDescriptor. getMetamodelMappedSuperclassChildDescriptor()INTERNAL:Methods in org.eclipse.persistence.internal.jpa.metadata with parameters of type MetadataDescriptor Modifier and Type Method Description voidMetadataProject. addAlias(String alias, MetadataDescriptor descriptor)INTERNAL:voidMetadataDescriptor. addEmbeddableDescriptor(MetadataDescriptor embeddableDescriptor)INTERNAL:voidMetadataProject. addMetamodelMappedSuperclass(MappedSuperclassAccessor accessor, MetadataDescriptor childDescriptor)INTERNAL: The metamodel API requires that descriptors exist for mappedSuperclasses in order to obtain their mappings.protected voidMetadataProject. createDynamicClass(MetadataDescriptor descriptor, Map<String,MetadataDescriptor> virtualEntities, DynamicClassLoader dcl)INTERNAL: Create the dynamic class using JPA metadata processed descriptors.protected voidMetadataProject. createDynamicType(MetadataDescriptor descriptor, Map<String,DynamicType> dynamicTypes, DynamicClassLoader dcl)INTERNAL: Create the dynamic types using JPA metadata processed descriptors.voidMetadataLogger. logConfigMessage(String ctx, MetadataDescriptor descriptor, Object param)INTERNAL: Logging utility method.protected voidMetadataProject. processPersistenceUnitMetadata(MetadataDescriptor descriptor)INTERNAL: Process any and all persistence unit metadata and defaults to the given descriptor.protected EntityAccessorORMetadata. 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 MappedSuperclassAccessorORMetadata. 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.voidMetadataDescriptor. setInheritanceParentDescriptor(MetadataDescriptor inheritanceParentDescriptor)INTERNAL: Set the immediate parent's descriptor of the inheritance hierarchy.voidMetadataDescriptor. setInheritanceRootDescriptor(MetadataDescriptor inheritanceRootDescriptor)INTERNAL: Set the root descriptor of the inheritance hierarchy, that is, the one that defines the inheritance strategy.voidMetadataDescriptor. setMetamodelMappedSuperclassChildDescriptor(MetadataDescriptor childDescriptor)INTERNAL:Method parameters in org.eclipse.persistence.internal.jpa.metadata with type arguments of type MetadataDescriptor Modifier and Type Method Description protected voidMetadataProject. createDynamicClass(MetadataDescriptor descriptor, Map<String,MetadataDescriptor> virtualEntities, DynamicClassLoader dcl)INTERNAL: Create the dynamic class using JPA metadata processed descriptors.Constructors in org.eclipse.persistence.internal.jpa.metadata with parameters of type MetadataDescriptor Constructor Description MetadataDynamicClassWriter(MetadataDescriptor descriptor) -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.accessors
Methods in org.eclipse.persistence.internal.jpa.metadata.accessors that return MetadataDescriptor Modifier and Type Method Description MetadataDescriptorMetadataAccessor. getDescriptor()INTERNAL: Return the MetadataDescriptor for this accessor.Methods in org.eclipse.persistence.internal.jpa.metadata.accessors with parameters of type MetadataDescriptor Modifier and Type Method Description protected DatabaseFieldMetadataAccessor. getReferencedField(String referencedColumnName, MetadataDescriptor referenceDescriptor, String context)INTERNAL: Return the referenced field.protected DatabaseFieldMetadataAccessor. getReferencedField(String referencedColumnName, MetadataDescriptor referenceDescriptor, String context, boolean isForAggregateCollection)INTERNAL: Return the referenced field.voidMetadataAccessor. initXMLAccessor(MetadataDescriptor descriptor, MetadataProject project)INTERNAL: This method should be subclassed in those methods that need to do extra initialization.voidMetadataAccessor. setDescriptor(MetadataDescriptor descriptor)INTERNAL: Set the metadata descriptor for this accessor.Constructors in org.eclipse.persistence.internal.jpa.metadata.accessors with parameters of type MetadataDescriptor Constructor Description MetadataAccessor(MetadataAnnotation annotation, MetadataAccessibleObject accessibleObject, MetadataDescriptor descriptor, MetadataProject project)INTERNAL: -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.accessors.classes
Methods in org.eclipse.persistence.internal.jpa.metadata.accessors.classes that return MetadataDescriptor Modifier and Type Method Description MetadataDescriptorClassAccessor. getOwningDescriptor()INTERNAL: In most cases the owning descriptor is the descriptor associated with this class accessor.MetadataDescriptorEmbeddableAccessor. getOwningDescriptor()INTERNAL: So, here's the deal ...Methods in org.eclipse.persistence.internal.jpa.metadata.accessors.classes that return types with arguments of type MetadataDescriptor Modifier and Type Method Description List<MetadataDescriptor>ClassAccessor. getOwningDescriptors()INTERNAL: In most cases the owning descriptors is the single descriptor associated with this class accessor.Methods in org.eclipse.persistence.internal.jpa.metadata.accessors.classes with parameters of type MetadataDescriptor Modifier and Type Method Description voidEmbeddableAccessor. addOwningDescriptor(MetadataDescriptor owningDescriptor)INTERNAL:voidClassAccessor. initXMLClassAccessor(MetadataAccessibleObject accessibleObject, MetadataDescriptor descriptor, MetadataProject project, XMLEntityMappings entityMappings)INTERNAL: This method should be subclassed in those methods that need to do extra initialization.Method parameters in org.eclipse.persistence.internal.jpa.metadata.accessors.classes with type arguments of type MetadataDescriptor Modifier and Type Method Description voidEmbeddableAccessor. addOwningDescriptors(List<MetadataDescriptor> owningDescriptors)INTERNAL:Constructors in org.eclipse.persistence.internal.jpa.metadata.accessors.classes with parameters of type MetadataDescriptor Constructor Description ClassAccessor(MetadataAnnotation annotation, MetadataClass cls, MetadataDescriptor descriptor)INTERNAL: Called from MappedSuperclassAccessor.MappedSuperclassAccessor(MetadataAnnotation annotation, MetadataClass cls, MetadataDescriptor descriptor)INTERNAL: -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.accessors.mappings
Methods in org.eclipse.persistence.internal.jpa.metadata.accessors.mappings that return MetadataDescriptor Modifier and Type Method Description MetadataDescriptorMappingAccessor. getOwningDescriptor()INTERNAL: Return the owning descriptor of this accessor.MetadataDescriptorDirectCollectionAccessor. getReferenceDescriptor()INTERNAL: In a direct collection case, there is no notion of a reference descriptor, therefore we return this accessors descriptor.MetadataDescriptorElementCollectionAccessor. 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 descriptorMetadataDescriptorMappingAccessor. getReferenceDescriptor()INTERNAL: Return the reference metadata descriptor for this accessor.MetadataDescriptorRelationshipAccessor. getReferenceDescriptor()INTERNAL: Return the reference metadata descriptor for this accessor.MetadataDescriptorVariableOneToOneAccessor. 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.Methods in org.eclipse.persistence.internal.jpa.metadata.accessors.mappings that return types with arguments of type MetadataDescriptor Modifier and Type Method Description List<MetadataDescriptor>MappingAccessor. getOwningDescriptors()INTERNAL: Return the owning descriptors of this accessor.Methods in org.eclipse.persistence.internal.jpa.metadata.accessors.mappings with parameters of type MetadataDescriptor Modifier and Type Method Description protected voidRelationshipAccessor. 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 ForeignKeyMetadataMappingAccessor. 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 voidCollectionAccessor. 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 voidMappingAccessor. 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 voidObjectAccessor. 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 voidObjectAccessor. 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 voidOneToManyAccessor. 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 voidMappingAccessor. 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 voidMappingAccessor. processAttributeOverrides(List<AttributeOverrideMetadata> attributeOverrides, AggregateObjectMapping aggregateObjectMapping, MetadataDescriptor embeddableDescriptor)INTERNAL: Process the attribute overrides for the given embedded mapping.protected voidElementCollectionAccessor. processDirectEmbeddableCollectionMapping(MetadataDescriptor referenceDescriptor)INTERNAL:protected voidMappingAccessor. 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 voidElementCollectionAccessor. processMappingsFromEmbeddable(MetadataDescriptor embeddableDescriptor, AggregateObjectMapping nestedAggregateObjectMapping, EmbeddableMapping embeddableMapping, Map<String,AttributeOverrideMetadata> attributeOverrides, Map<String,AssociationOverrideMetadata> associationOverrides, String dotNotationName)INTERNAL:protected voidElementCollectionAccessor. processMappingValueConverters(MetadataDescriptor embeddableDescriptor)INTERNAL: Process convertors registered for collection mapping.protected voidOneToManyAccessor. 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. -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.accessors.objects
Methods in org.eclipse.persistence.internal.jpa.metadata.accessors.objects with parameters of type MetadataDescriptor Modifier and Type Method Description MetadataClassMetadataAnnotatedElement. getMapKeyClass(MetadataDescriptor descriptor)INTERNAL: This should only be called for accessor's of type Map.MetadataClassMetadataAnnotatedElement. getRawClass(MetadataDescriptor descriptor)INTERNAL: Return the raw class for this accessible object.MetadataClassMetadataAnnotatedElement. getRawClassWithGenerics(MetadataDescriptor descriptor)INTERNAL: Return the complete raw class with generics for this accessible object.MetadataClassMetadataAnnotatedElement. getReferenceClassFromGeneric(MetadataDescriptor descriptor)INTERNAL: Return the reference class from the generic specification on this accessible object.voidMetadataAsmFactory. resolveGenericTypes(MetadataClass child, List<String> genericTypes, MetadataClass parent, MetadataDescriptor descriptor)INTERNAL: This method resolves generic types based on the ASM class metadata.abstract voidMetadataFactory. resolveGenericTypes(MetadataClass child, List<String> genericTypes, MetadataClass parent, MetadataDescriptor descriptor)INTERNAL: This method resolves generic types based on the ASM class metadata. -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.additionalcriteria
Methods in org.eclipse.persistence.internal.jpa.metadata.additionalcriteria with parameters of type MetadataDescriptor Modifier and Type Method Description voidAdditionalCriteriaMetadata. process(MetadataDescriptor descriptor)INTERNAL: -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.cache
Methods in org.eclipse.persistence.internal.jpa.metadata.cache with parameters of type MetadataDescriptor Modifier and Type Method Description voidCacheIndexMetadata. process(MetadataDescriptor descriptor, String defaultColumnName)INTERNAL: Process the index metadatavoidCacheInterceptorMetadata. process(MetadataDescriptor descriptor, MetadataClass javaClass)INTERNAL:voidCacheMetadata. process(MetadataDescriptor descriptor, MetadataClass javaClass)INTERNAL: -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.changetracking
Methods in org.eclipse.persistence.internal.jpa.metadata.changetracking with parameters of type MetadataDescriptor Modifier and Type Method Description voidChangeTrackingMetadata. process(MetadataDescriptor descriptor)INTERNAL: -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.columns
Methods in org.eclipse.persistence.internal.jpa.metadata.columns with parameters of type MetadataDescriptor Modifier and Type Method Description DatabaseFieldDiscriminatorColumnMetadata. process(MetadataDescriptor descriptor, String loggingCtx)INTERNAL: Process a discriminator column metadata into an EclipseLink DatabaseField.voidOrderColumnMetadata. process(CollectionMapping mapping, MetadataDescriptor descriptor)INTERNAL:voidPrimaryKeyMetadata. process(MetadataDescriptor descriptor)Process the meta-data, configure primary key and idValidation in descriptor.voidTenantDiscriminatorColumnMetadata. process(MetadataDescriptor descriptor, SingleTableMultitenantPolicy policy)INTERNAL: -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.copypolicy
Methods in org.eclipse.persistence.internal.jpa.metadata.copypolicy with parameters of type MetadataDescriptor Modifier and Type Method Description voidCopyPolicyMetadata. process(MetadataDescriptor descriptor)INTERNAL:voidCustomCopyPolicyMetadata. process(MetadataDescriptor descriptor)INTERNAL: -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.inheritance
Methods in org.eclipse.persistence.internal.jpa.metadata.inheritance with parameters of type MetadataDescriptor Modifier and Type Method Description protected voidInheritanceMetadata. addClassExtractor(MetadataDescriptor descriptor, EntityAccessor accessor)INTERNAL: Set the class extractor class name on the inheritance policy.protected voidInheritanceMetadata. addClassIndicator(MetadataDescriptor descriptor, EntityAccessor accessor)INTERNAL: Recursive method.protected voidInheritanceMetadata. addClassIndicatorField(MetadataDescriptor descriptor, EntityAccessor accessor)INTERNAL:voidInheritanceMetadata. 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.voidInheritanceMetadata. process(MetadataDescriptor descriptor)INTERNAL: The process method method will be called with the descriptor from every entity in the hierarchy.protected voidInheritanceMetadata. processInheritanceRoot(MetadataDescriptor descriptor, EntityAccessor accessor)INTERNAL: Process the inheritance metadata of a root class.protected voidInheritanceMetadata. processInheritanceSubclass(MetadataDescriptor descriptor, EntityAccessor accessor, EntityAccessor rootAccessor)INTERNAL: Process the inheritance metadata of a sub class.protected voidInheritanceMetadata. setInheritancePolicy(MetadataDescriptor descriptor)INTERNAL: Recursive method.protected voidInheritanceMetadata. setTablePerClassInheritancePolicy(MetadataDescriptor descriptor)INTERNAL: -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.locking
Methods in org.eclipse.persistence.internal.jpa.metadata.locking with parameters of type MetadataDescriptor Modifier and Type Method Description voidOptimisticLockingMetadata. process(MetadataDescriptor descriptor)INTERNAL: -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.mappings
Methods in org.eclipse.persistence.internal.jpa.metadata.mappings with parameters of type MetadataDescriptor Modifier and Type Method Description voidOrderByMetadata. process(CollectionMapping mapping, MetadataDescriptor referenceDescriptor, MetadataClass javaClass)INTERNAL: Process an order by value (if specified) for the given collection mapping.voidReturnInsertMetadata. process(MetadataDescriptor descriptor, DatabaseField field)INTERNAL: -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.multitenant
Methods in org.eclipse.persistence.internal.jpa.metadata.multitenant with parameters of type MetadataDescriptor Modifier and Type Method Description voidMultitenantMetadata. process(MetadataDescriptor descriptor)INTERNAL:voidTenantTableDiscriminatorMetadata. process(MetadataDescriptor descriptor, TablePerMultitenantPolicy policy)INTERNAL:protected voidMultitenantMetadata. processTenantDiscriminators(MetadataDescriptor descriptor, SingleTableMultitenantPolicy policy)INTERNAL: Process the tenant discriminator metadata.protected voidMultitenantMetadata. processTenantTableDiscriminator(MetadataDescriptor descriptor, TablePerMultitenantPolicy policy)INTERNAL: Process the tenant table discriminator metadata. -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.nosql
Methods in org.eclipse.persistence.internal.jpa.metadata.nosql with parameters of type MetadataDescriptor Modifier and Type Method Description voidNoSqlMetadata. process(MetadataDescriptor descriptor)INTERNAL: Switch the descriptor to the correct type and set the data-type name and format. -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.queries
Methods in org.eclipse.persistence.internal.jpa.metadata.queries with parameters of type MetadataDescriptor Modifier and Type Method Description voidQueryRedirectorsMetadata. process(MetadataDescriptor descriptor, MetadataClass javaClass)INTERNAL: -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.sequencing
Methods in org.eclipse.persistence.internal.jpa.metadata.sequencing with parameters of type MetadataDescriptor Modifier and Type Method Description voidGeneratedValueMetadata. process(MetadataDescriptor descriptor, Map<String,Sequence> sequences, DatasourceLogin login)INTERNAL: -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.sop
Methods in org.eclipse.persistence.internal.jpa.metadata.sop with parameters of type MetadataDescriptor Modifier and Type Method Description voidSerializedObjectPolicyMetadata. process(MetadataDescriptor descriptor)INTERNAL: -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.structures
Methods in org.eclipse.persistence.internal.jpa.metadata.structures that return MetadataDescriptor Modifier and Type Method Description MetadataDescriptorArrayAccessor. 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 descriptorMethods in org.eclipse.persistence.internal.jpa.metadata.structures with parameters of type MetadataDescriptor Modifier and Type Method Description voidStructMetadata. process(MetadataDescriptor descriptor)INTERNAL: Switch the descriptor to the correct type and set the structure name and properties. -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.tables
Methods in org.eclipse.persistence.internal.jpa.metadata.tables with parameters of type MetadataDescriptor Modifier and Type Method Description voidIndexMetadata. process(MetadataDescriptor descriptor, String defaultColumnName)INTERNAL: Process the index metadata. -
Uses of MetadataDescriptor in org.eclipse.persistence.internal.jpa.metadata.xml
Methods in org.eclipse.persistence.internal.jpa.metadata.xml with parameters of type MetadataDescriptor Modifier and Type Method Description EntityAccessorXMLEntityMappings. reloadEntity(EntityAccessor accessor, MetadataDescriptor descriptor)INTERNAL: We clone/reload an entity class by writing it out to XML and reload it through OX.MappedSuperclassAccessorXMLEntityMappings. reloadMappedSuperclass(MappedSuperclassAccessor accessor, MetadataDescriptor descriptor)INTERNAL: We clone/reload a mapped-superclass by writing it out to XML and reload it through OX.
-