org.eclipse.jpt.core.context.orm
Interface OrmOneToOneMapping

All Superinterfaces:
AttributeMapping, Fetchable, org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, Nullable, OneToOneMapping, OrmAttributeMapping, OrmRelationshipMapping, OrmSingleRelationshipMapping, RelationshipMapping, SingleRelationshipMapping, XmlContextNode
All Known Subinterfaces:
OrmOneToOneMapping2_0

public interface OrmOneToOneMapping
extends OneToOneMapping, OrmSingleRelationshipMapping

The orm.xml representation of a OneToOneMapping 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

Field Summary
 
Fields inherited from interface org.eclipse.jpt.core.context.SingleRelationshipMapping
DEFAULT_FETCH_TYPE
 
Fields inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
DEFAULT_TARGET_ENTITY_PROPERTY, RESOLVED_TARGET_ENTITY_PROPERTY, SPECIFIED_TARGET_ENTITY_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.Fetchable
DEFAULT_FETCH_PROPERTY, SPECIFIED_FETCH_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.Nullable
DEFAULT_OPTIONAL, DEFAULT_OPTIONAL_PROPERTY, SPECIFIED_OPTIONAL_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.orm.OrmAttributeMapping
NAME_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
DEFAULT_TARGET_ENTITY_PROPERTY, RESOLVED_TARGET_ENTITY_PROPERTY, SPECIFIED_TARGET_ENTITY_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.Fetchable
DEFAULT_FETCH_PROPERTY, SPECIFIED_FETCH_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.SingleRelationshipMapping
DEFAULT_FETCH_TYPE
 
Fields inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
DEFAULT_TARGET_ENTITY_PROPERTY, RESOLVED_TARGET_ENTITY_PROPERTY, SPECIFIED_TARGET_ENTITY_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.Fetchable
DEFAULT_FETCH_PROPERTY, SPECIFIED_FETCH_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.core.context.Nullable
DEFAULT_OPTIONAL, DEFAULT_OPTIONAL_PROPERTY, SPECIFIED_OPTIONAL_PROPERTY
 
Method Summary
 OrmOneToOneRelationshipReference getRelationshipReference()
          covariant override
 XmlOneToOne getResourceAttributeMapping()
           
 
Methods inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
allTargetEntityAttributeNames, getDefaultTargetEntity, getRelationshipOwner, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, getTargetEntityEnclosingTypeSeparator, setSpecifiedTargetEntity
 
Methods inherited from interface org.eclipse.jpt.core.context.Fetchable
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch
 
Methods inherited from interface org.eclipse.jpt.core.context.Nullable
getSpecifiedOptional, isDefaultOptional, isOptional, setSpecifiedOptional
 
Methods inherited from interface org.eclipse.jpt.core.context.orm.OrmRelationshipMapping
getCascade
 
Methods inherited from interface org.eclipse.jpt.core.context.orm.OrmAttributeMapping
addToResourceModel, contains, getName, getNameTextRange, getPersistentAttribute, getSelectionTextRange, getXmlSequence, initializeFromOrmAttributeMapping, initializeFromOrmBasicMapping, initializeFromOrmEmbeddedIdMapping, initializeFromOrmEmbeddedMapping, initializeFromOrmIdMapping, initializeFromOrmManyToManyMapping, initializeFromOrmManyToOneMapping, initializeFromOrmOneToManyMapping, initializeFromOrmOneToOneMapping, initializeFromOrmTransientMapping, initializeFromOrmVersionMapping, initializeOn, removeFromResourceModel, setName, update
 
Methods inherited from interface org.eclipse.jpt.core.context.XmlContextNode
getValidationTextRange, validate
 
Methods inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
allTargetEntityAttributeNames, getDefaultTargetEntity, getRelationshipOwner, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, getTargetEntityEnclosingTypeSeparator, setSpecifiedTargetEntity
 
Methods inherited from interface org.eclipse.jpt.core.context.Fetchable
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch
 
Methods inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
allTargetEntityAttributeNames, getDefaultTargetEntity, getRelationshipOwner, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, getTargetEntityEnclosingTypeSeparator, setSpecifiedTargetEntity
 
Methods inherited from interface org.eclipse.jpt.core.context.Fetchable
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch
 
Methods inherited from interface org.eclipse.jpt.core.context.Nullable
getSpecifiedOptional, isDefaultOptional, isOptional, setSpecifiedOptional
 

Method Detail

getResourceAttributeMapping

XmlOneToOne getResourceAttributeMapping()
Specified by:
getResourceAttributeMapping in interface OrmAttributeMapping

getRelationshipReference

OrmOneToOneRelationshipReference getRelationshipReference()
Description copied from interface: OneToOneMapping
covariant override

Specified by:
getRelationshipReference in interface OneToOneMapping
Specified by:
getRelationshipReference in interface OrmRelationshipMapping
Specified by:
getRelationshipReference in interface RelationshipMapping