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

All Superinterfaces:
AttributeMapping, Fetchable, org.eclipse.core.runtime.IAdaptable, JpaContextNode, JpaNode, Model, NonOwningMapping, Nullable, OneToOneMapping, OrmAttributeMapping, OrmJpaContextNode, OrmRelationshipMapping, OrmSingleRelationshipMapping, RelationshipMapping, SingleRelationshipMapping

public interface OrmOneToOneMapping
extends OneToOneMapping, OrmSingleRelationshipMapping

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.


Field Summary
 
Fields inherited from interface org.eclipse.jpt.core.context.OneToOneMapping
PRIMAY_KEY_JOIN_COLUMNS_LIST
 
Fields inherited from interface org.eclipse.jpt.core.context.SingleRelationshipMapping
DEFAULT_FETCH_TYPE, DEFAULT_JOIN_COLUMN, SPECIFIED_JOIN_COLUMNS_LIST
 
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.NonOwningMapping
MAPPED_BY_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.orm.OrmAttributeMapping
JAVA_PERSISTENT_ATTRIBUTE_PROPERTY, 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, DEFAULT_JOIN_COLUMN, SPECIFIED_JOIN_COLUMNS_LIST
 
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
 OrmPrimaryKeyJoinColumn addPrimaryKeyJoinColumn(int index)
          Add a specified join column to the join table return the object representing it.
 void initialize(XmlOneToOne oneToOne)
           
 java.util.ListIterator<OrmJoinColumn> joinColumns()
          Return a list iterator of the join columns whether specified or default.
 java.util.ListIterator<OrmPrimaryKeyJoinColumn> primaryKeyJoinColumns()
          Return a list iterator of the primary key join columns.
 java.util.ListIterator<OrmJoinColumn> specifiedJoinColumns()
          Return a list iterator of the specified join columns.
 void update(XmlOneToOne oneToOne)
           
 
Methods inherited from interface org.eclipse.jpt.core.context.OneToOneMapping
containsPrimaryKeyJoinColumns, movePrimaryKeyJoinColumn, primaryKeyJoinColumnsSize, removePrimaryKeyJoinColumn, removePrimaryKeyJoinColumn
 
Methods inherited from interface org.eclipse.jpt.core.context.SingleRelationshipMapping
containsSpecifiedJoinColumns, joinColumnsSize, moveSpecifiedJoinColumn, removeSpecifiedJoinColumn, removeSpecifiedJoinColumn, specifiedJoinColumnsSize
 
Methods inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
getCascade, getDefaultTargetEntity, getEntity, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, isRelationshipOwner, setSpecifiedTargetEntity, targetEntityIsValid
 
Methods inherited from interface org.eclipse.jpt.core.context.Fetchable
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch
 
Methods inherited from interface org.eclipse.jpt.core.context.Nullable
getDefaultOptional, getOptional, getSpecifiedOptional, setSpecifiedOptional
 
Methods inherited from interface org.eclipse.jpt.core.context.NonOwningMapping
candidateMappedByAttributeNames, getMappedBy, mappedByIsValid, setMappedBy
 
Methods inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
getCascade, getDefaultTargetEntity, getEntity, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, isRelationshipOwner, setSpecifiedTargetEntity, targetEntityIsValid
 
Methods inherited from interface org.eclipse.jpt.core.context.Fetchable
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch
 
Methods inherited from interface org.eclipse.jpt.core.context.orm.OrmSingleRelationshipMapping
addSpecifiedJoinColumn, getDefaultJoinColumn
 
Methods inherited from interface org.eclipse.jpt.core.context.orm.OrmAttributeMapping
addToResourceModel, contains, getJavaPersistentAttribute, getName, getPersistentAttribute, getSelectionTextRange, getXmlSequence, initializeFromOrmAttributeMapping, initializeFromOrmBasicMapping, initializeFromOrmEmbeddedIdMapping, initializeFromOrmEmbeddedMapping, initializeFromOrmIdMapping, initializeFromOrmManyToManyMapping, initializeFromOrmManyToOneMapping, initializeFromOrmOneToManyMapping, initializeFromOrmOneToOneMapping, initializeFromOrmTransientMapping, initializeFromOrmVersionMapping, initializeOn, removeFromResourceModel, setName
 
Methods inherited from interface org.eclipse.jpt.core.context.orm.OrmJpaContextNode
addToMessages, getValidationTextRange
 
Methods inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
getCascade, getDefaultTargetEntity, getEntity, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, isRelationshipOwner, setSpecifiedTargetEntity, targetEntityIsValid
 
Methods inherited from interface org.eclipse.jpt.core.context.Fetchable
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch
 
Methods inherited from interface org.eclipse.jpt.core.context.SingleRelationshipMapping
containsSpecifiedJoinColumns, joinColumnsSize, moveSpecifiedJoinColumn, removeSpecifiedJoinColumn, removeSpecifiedJoinColumn, specifiedJoinColumnsSize
 
Methods inherited from interface org.eclipse.jpt.core.context.RelationshipMapping
getCascade, getDefaultTargetEntity, getEntity, getResolvedTargetEntity, getSpecifiedTargetEntity, getTargetEntity, isRelationshipOwner, setSpecifiedTargetEntity, targetEntityIsValid
 
Methods inherited from interface org.eclipse.jpt.core.context.Fetchable
getDefaultFetch, getFetch, getSpecifiedFetch, setSpecifiedFetch
 
Methods inherited from interface org.eclipse.jpt.core.context.Nullable
getDefaultOptional, getOptional, getSpecifiedOptional, setSpecifiedOptional
 

Method Detail

initialize

void initialize(XmlOneToOne oneToOne)

update

void update(XmlOneToOne oneToOne)

joinColumns

java.util.ListIterator<OrmJoinColumn> joinColumns()
Description copied from interface: SingleRelationshipMapping
Return a list iterator of the join columns whether specified or default. This will not be null.

Specified by:
joinColumns in interface OrmSingleRelationshipMapping
Specified by:
joinColumns in interface SingleRelationshipMapping

specifiedJoinColumns

java.util.ListIterator<OrmJoinColumn> specifiedJoinColumns()
Description copied from interface: SingleRelationshipMapping
Return a list iterator of the specified join columns. This will not be null.

Specified by:
specifiedJoinColumns in interface OrmSingleRelationshipMapping
Specified by:
specifiedJoinColumns in interface SingleRelationshipMapping

primaryKeyJoinColumns

java.util.ListIterator<OrmPrimaryKeyJoinColumn> primaryKeyJoinColumns()
Description copied from interface: OneToOneMapping
Return a list iterator of the primary key join columns. This will not be null.

Specified by:
primaryKeyJoinColumns in interface OneToOneMapping

addPrimaryKeyJoinColumn

OrmPrimaryKeyJoinColumn addPrimaryKeyJoinColumn(int index)
Description copied from interface: OneToOneMapping
Add a specified join column to the join table return the object representing it.

Specified by:
addPrimaryKeyJoinColumn in interface OneToOneMapping