Uses of Class
org.eclipse.persistence.mappings.CollectionMapping
Packages that use CollectionMapping
Package
Description
-
Uses of CollectionMapping in org.eclipse.persistence.descriptors
Methods in org.eclipse.persistence.descriptors that return CollectionMappingModifier and TypeMethodDescriptionClassDescriptor.newManyToManyMapping()Return a new one to many mapping for this type of descriptor.ClassDescriptor.newOneToManyMapping()Return a new one to many mapping for this type of descriptor.ClassDescriptor.newUnidirectionalOneToManyMapping()Return a new one to many mapping for this type of descriptor. -
Uses of CollectionMapping in org.eclipse.persistence.eis
Methods in org.eclipse.persistence.eis that return CollectionMappingModifier and TypeMethodDescriptionEISDescriptor.newManyToManyMapping()Return a new one to many mapping for this type of descriptor.EISDescriptor.newOneToManyMapping()Return a new one to many mapping for this type of descriptor.EISDescriptor.newUnidirectionalOneToManyMapping()Return a new one to many mapping for this type of descriptor. -
Uses of CollectionMapping in org.eclipse.persistence.eis.mappings
Subclasses of CollectionMapping in org.eclipse.persistence.eis.mappingsModifier and TypeClassDescriptionclassAn EIS one-to-many mapping is a reference mapping that represents the relationship between a single source object and a collection of mapped persistent Java objects. -
Uses of CollectionMapping in org.eclipse.persistence.exceptions
Methods in org.eclipse.persistence.exceptions with parameters of type CollectionMappingModifier and TypeMethodDescriptionstatic DescriptorExceptionDescriptorException.attributeTypeNotValid(CollectionMapping mapping, Class<?> interfaceType) static DescriptorExceptionDescriptorException.getMethodReturnTypeNotValid(CollectionMapping mapping) static DescriptorExceptionDescriptorException.setMethodParameterTypeNotValid(CollectionMapping mapping) -
Uses of CollectionMapping in org.eclipse.persistence.internal.expressions
Methods in org.eclipse.persistence.internal.expressions that return CollectionMapping -
Uses of CollectionMapping in org.eclipse.persistence.internal.indirection
Methods in org.eclipse.persistence.internal.indirection that return CollectionMappingModifier and TypeMethodDescriptionprotected CollectionMappingIndirectionPolicy.getCollectionMapping()INTERNAL: Reduce casting clutter.... -
Uses of CollectionMapping in org.eclipse.persistence.internal.jpa.metadata.accessors.mappings
Methods in org.eclipse.persistence.internal.jpa.metadata.accessors.mappings with parameters of type CollectionMappingModifier and TypeMethodDescriptionprotected voidCollectionAccessor.process(CollectionMapping mapping) Configure the CollectionMapping properties based on the metadata.protected voidBasicCollectionAccessor.processCollectionTable(CollectionMapping mapping) INTERNAL: Process a MetadataCollectionTable.protected voidDirectCollectionAccessor.processCollectionTable(CollectionMapping mapping) INTERNAL: Process a MetadataCollectionTable.protected voidElementCollectionAccessor.processCollectionTable(CollectionMapping mapping) INTERNAL: Process a MetadataCollectionTable. -
Uses of CollectionMapping in org.eclipse.persistence.internal.jpa.metadata.columns
Methods in org.eclipse.persistence.internal.jpa.metadata.columns with parameters of type CollectionMappingModifier and TypeMethodDescriptionvoidOrderColumnMetadata.process(CollectionMapping mapping, MetadataDescriptor descriptor) INTERNAL: -
Uses of CollectionMapping in org.eclipse.persistence.internal.jpa.metadata.mappings
Methods in org.eclipse.persistence.internal.jpa.metadata.mappings with parameters of type CollectionMappingModifier and TypeMethodDescriptionvoidOrderByMetadata.process(CollectionMapping mapping, MetadataDescriptor referenceDescriptor, MetadataClass javaClass) INTERNAL: Process an order by value (if specified) for the given collection mapping. -
Uses of CollectionMapping in org.eclipse.persistence.internal.jpa.metamodel
Methods in org.eclipse.persistence.internal.jpa.metamodel that return CollectionMappingModifier and TypeMethodDescriptionPluralAttributeImpl.getCollectionMapping()INTERNAL: Return the mapping associated with this PluralAttribute.Constructors in org.eclipse.persistence.internal.jpa.metamodel with parameters of type CollectionMappingModifierConstructorDescriptionprotectedCollectionAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping) INTERNAL: Construct an instance of Collection for the managed type managedTypeprotectedCollectionAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping, boolean validationEnabled) INTERNAL: Construct an instance of Collection for the managed type managedTypeprotectedListAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping) INTERNAL:protectedListAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping, boolean validationEnabled) protectedMapAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping) INTERNAL:protectedMapAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping, boolean validationEnabled) INTERNAL: Create a new MapAttribute instance.protectedPluralAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping, boolean validationEnabled) INTERNAL: Create an Attribute instance with a passed in validation flag (usually set to true only during Metamodel initialization)protectedSetAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping) INTERNAL:protectedSetAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping, boolean validationEnabled) INTERNAL: -
Uses of CollectionMapping in org.eclipse.persistence.internal.queries
Methods in org.eclipse.persistence.internal.queries with parameters of type CollectionMappingModifier and TypeMethodDescriptionvoidContainerPolicy.addNextValueFromIteratorInto(Object valuesIterator, Object parent, CacheKey parentCacheKey, Object toCollection, CollectionMapping mapping, Integer refreshCascade, AbstractSession cloningSession, boolean isExisting, boolean isFromSharedCache) INTERNAL: This method is used to add the next value from an iterator built using ContainerPolicy's iteratorFor() method into the toCollection.voidMapContainerPolicy.addNextValueFromIteratorInto(Object valuesIterator, Object parent, CacheKey parentCacheKey, Object toCollection, CollectionMapping mapping, Integer refreshCascade, AbstractSession cloningSession, boolean isExisting, boolean isFromSharedCache) INTERNAL: This method is used to add the next value from an iterator built using ContainerPolicy's iteratorFor() method into the toCollection.protected ObjectMapContainerPolicy.buildCloneForValue(Object value, Object parent, CacheKey parentCacheKey, CollectionMapping mapping, Integer refreshCascade, AbstractSession cloningSession, boolean isExisting, boolean isFromSharedCache) Build a clone for the value in a mapping.ContainerPolicy.getAdditionalFieldsForJoin(CollectionMapping baseMapping) INTERNAL: Return any additional fields required by the policy for a fetch join.MappedKeyMapContainerPolicy.getAdditionalFieldsForJoin(CollectionMapping baseMapping) INTERNAL: Return any additional fields required by the policy for a fetch join.OrderedListContainerPolicy.getAdditionalFieldsForJoin(CollectionMapping baseMapping) INTERNAL: Return any additional fields required by the policy for a fetch join.InterfaceContainerPolicy.getDirectKeyField(CollectionMapping mapping) INTERNAL: Return the DatabaseField that represents the key in a DirectMapMapping.MapContainerPolicy.getDirectKeyField(CollectionMapping baseMapping) INTERNAL: Return the DatabaseField that represents the key in a DirectMapMapping.MappedKeyMapContainerPolicy.getDirectKeyField(CollectionMapping baseMapping) INTERNAL: Return the DatabaseField that represents the key in a DirectMapMapping. -
Uses of CollectionMapping in org.eclipse.persistence.mappings
Subclasses of CollectionMapping in org.eclipse.persistence.mappingsModifier and TypeClassDescriptionclassPurpose: The aggregate collection mapping is used to represent the aggregate relationship between a single source object and a collection of target objects.classPurpose: This mapping is used to store a collection of simple types (String, Number, Date, etc.) into a single table.classMapping for a collection of key-value pairs.classPurpose: Many to many mappings are used to represent the relationships between a collection of source objects and a collection of target objects.classPurpose: This mapping is used to represent the typical RDBMS relationship between a single source object and collection of target objects; where, on the database, the target objects have references (foreign keys) to the source object.classPurpose: UnidirectionalOneToManyMapping doesn't have 1:1 back reference mapping. -
Uses of CollectionMapping in org.eclipse.persistence.mappings.structures
Subclasses of CollectionMapping in org.eclipse.persistence.mappings.structuresModifier and TypeClassDescriptionclassPurpose: Nested tables are similar toVARRAYsexcept internally they store their information in a separate table from their parent structure's table.