org.eclipse.jpt.jpa.core.context.java
Interface JavaRelationshipMapping
- All Superinterfaces:
- AttributeMapping, FetchableMapping, org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaAttributeMapping, JavaJpaContextNode, JpaContextNode, JpaNode, Model, RelationshipMapping
- All Known Subinterfaces:
- JavaManyToManyMapping, JavaManyToManyMapping2_0, JavaManyToOneMapping, JavaManyToOneMapping2_0, JavaMultiRelationshipMapping, JavaOneToManyMapping, JavaOneToManyMapping2_0, JavaOneToOneMapping, JavaOneToOneMapping2_0, 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
- Version:
- 2.3
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.AttributeMapping |
allMappingNames, allOverridableAssociationMappingNames, allOverridableAttributeMappingNames, getKey, getName, getPersistentAttribute, getPrimaryKeyColumnName, getTypeMapping, isDefault, isOverridableAssociationMapping, isOverridableAttributeMapping, isOwnedBy, isRelationshipOwner, resolveAttributeMapping, resolveOverriddenColumn, resolveOverriddenRelationship, validatesAgainstDatabase |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
FULLY_QUALIFIED_TARGET_ENTITY_PROPERTY
static final java.lang.String FULLY_QUALIFIED_TARGET_ENTITY_PROPERTY
- See Also:
- Constant Field Values
getMappingAnnotation
RelationshipMappingAnnotation getMappingAnnotation()
- Specified by:
getMappingAnnotation in interface JavaAttributeMapping
getAnnotationForUpdate
RelationshipMappingAnnotation getAnnotationForUpdate()
- Specified by:
getAnnotationForUpdate in interface JavaAttributeMapping
getCascade
JavaCascade getCascade()
- Specified by:
getCascade in interface RelationshipMapping
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
getFullyQualifiedTargetEntity
java.lang.String getFullyQualifiedTargetEntity()
- If the target entity is specified, this will return it fully qualified.
If not specified, it returns the default target entity, which is always
fully qualified