org.eclipse.jpt.jpa.core.context.java
Interface JavaOneToOneMapping
- All Superinterfaces:
- AttributeMapping, FetchableMapping, org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaAttributeMapping, JavaJpaContextNode, JavaRelationshipMapping, JavaSingleRelationshipMapping, JpaContextNode, JpaNode, Model, OneToOneMapping, OptionalMapping, RelationshipMapping, SingleRelationshipMapping
- All Known Subinterfaces:
- JavaOneToOneMapping2_0
public interface JavaOneToOneMapping
- extends OneToOneMapping, JavaSingleRelationshipMapping
Java 1:1 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.2
getMappingAnnotation
OneToOneAnnotation getMappingAnnotation()
- Specified by:
getMappingAnnotation in interface JavaAttributeMapping- Specified by:
getMappingAnnotation in interface JavaRelationshipMapping- Specified by:
getMappingAnnotation in interface JavaSingleRelationshipMapping
getAnnotationForUpdate
OneToOneAnnotation getAnnotationForUpdate()
- Specified by:
getAnnotationForUpdate in interface JavaAttributeMapping- Specified by:
getAnnotationForUpdate in interface JavaRelationshipMapping
getRelationship
JavaOneToOneRelationship getRelationship()
- Description copied from interface:
RelationshipMapping
- Return the meta-information used to populate the entities of the
relationship
- Specified by:
getRelationship in interface JavaRelationshipMapping- Specified by:
getRelationship in interface OneToOneMapping- Specified by:
getRelationship in interface RelationshipMapping