org.eclipse.jpt.jpa.core.context.java
Interface JavaRelationshipMapping
- All Superinterfaces:
- AttributeMapping, FetchableMapping, IAdaptable, JavaAttributeMapping, JpaContextModel, JpaModel, JptResourceTypeReference, Model, RelationshipMapping
- All Known Subinterfaces:
- JavaManyToManyMapping, JavaManyToOneMapping, JavaOneToManyMapping, JavaOneToOneMapping, JavaSingleRelationshipMapping, JavaSingleRelationshipMapping2_0
public interface JavaRelationshipMapping
- extends RelationshipMapping, JavaAttributeMapping
Java relationship (1:1, 1:m, m:1, m:m) mapping.
Provisional API: This interface is part of an interim API that is still
under development and expected to change significantly before reaching
stability. It is available at this early stage to solicit feedback from
pioneering adopters on the understanding that any code that uses this API
will almost certainly be broken (repeatedly) as the API evolves.
- Since:
- 2.0
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.RelationshipMapping |
getAllTargetEntityAttributeNames, getCascade, getDefaultTargetEntity, getFullyQualifiedTargetEntity, getRelationshipOwner, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, getTargetEntityEnclosingTypeSeparator, getTargetEntityNonTransientAttributeNames, setSpecifiedTargetEntity |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping |
getAllMappingNames, getAllOverridableAssociationMappingNames, getAllOverridableAttributeMappingNames, getGenerators, getKey, getName, getPersistentAttribute, getPrimaryKeyColumnName, getTypeMapping, isDefault, isOverridableAssociationMapping, isOverridableAttributeMapping, isOwnedBy, isRelationshipOwner, resolveAttributeMapping, resolveOverriddenColumn, resolveOverriddenRelationship, validatesAgainstDatabase |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel |
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
getMappingAnnotation
RelationshipMappingAnnotation getMappingAnnotation()
- Specified by:
getMappingAnnotation in interface JavaAttributeMapping
getAnnotationForUpdate
RelationshipMappingAnnotation getAnnotationForUpdate()
- Specified by:
getAnnotationForUpdate in interface JavaAttributeMapping
getRelationship
JavaMappingRelationship getRelationship()
- Description copied from interface:
RelationshipMapping
- Return the meta-information used to populate the entities of the
relationship
- Specified by:
getRelationship in interface RelationshipMapping
Copyright (c) 2012 Oracle. All rights reserved.