| Access | Constructor and Description |
|---|---|
| public | |
| public | OneToManyAccessor(MetadataAnnotation oneToMany, MetadataAnnotatedElement annotatedElement, ClassAccessor classAccessor)
INTERNAL: |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. objectToCompare)Overrides org. |
| protected String | getLoggingContext()
Implements abstract org. |
| public int | hashCode()
Overrides org. |
| public boolean | |
| public void | process()
Overrides org. |
| protected void | 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 | processManyToManyMapping()
INTERNAL: Process an many to many mapping for this accessor since a join table was specified. |
| protected void | |
| protected void | processUnidirectionalOneToManyMapping()
INTERNAL: Process an unidirectional one to many mapping for this accessor since join columns were specified and no mapped by value. |
| protected void | 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. |
| OneToManyAccessor | back to summary |
|---|---|
| public OneToManyAccessor() INTERNAL: Used for OX mapping. | |
| OneToManyAccessor | back to summary |
|---|---|
| public OneToManyAccessor(MetadataAnnotation oneToMany, MetadataAnnotatedElement annotatedElement, ClassAccessor classAccessor) INTERNAL: | |
| equals | back to summary |
|---|---|
| public boolean equals(Object objectToCompare) Overrides org. INTERNAL:
| |
| getLoggingContext | back to summary |
|---|---|
| protected String getLoggingContext() Implements abstract org. INTERNAL: Return the logging context for this accessor.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. 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
| |
| isOneToMany | back to summary |
|---|---|
| public boolean isOneToMany() Overrides org. INTERNAL:
| |
| process | back to summary |
|---|---|
| public void process() Overrides org. INTERNAL: Process a OneToMany accessor into an EclipseLink OneToManyMapping. If a JoinTable is found however, we must create a ManyToManyMapping.
| |
| processAssociationOverride | back to summary |
|---|---|
| protected void 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.
| |
| processManyToManyMapping | back to summary |
|---|---|
| protected void processManyToManyMapping() INTERNAL: Process an many to many mapping for this accessor since a join table was specified. | |
| processOneToManyMapping | back to summary |
|---|---|
| protected void processOneToManyMapping() INTERNAL: Process an one to many mapping for this accessor. | |
| processUnidirectionalOneToManyMapping | back to summary |
|---|---|
| protected void processUnidirectionalOneToManyMapping() INTERNAL: Process an unidirectional one to many mapping for this accessor since join columns were specified and no mapped by value. | |
| processUnidirectionalOneToManyTargetForeignKeyRelationship | back to summary |
|---|---|
| protected void 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. The default pk used only with single primary key entities. The processor should never get as far as to use them with entities that have a composite primary key (validation exception will be thrown). | |