org.eclipse.jpt.core.resource.orm
Interface XmlOneToOne

All Superinterfaces:
org.eclipse.emf.ecore.EObject, JpaEObject, org.eclipse.emf.common.notify.Notifier, XmlAttributeMapping, XmlRelationshipMapping, XmlSingleRelationshipMapping
All Known Implementing Classes:
XmlOneToOneImpl

public interface XmlOneToOne
extends XmlSingleRelationshipMapping

A representation of the model object 'One To One'. 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.

The following features are supported:

See Also:
OrmPackage.getXmlOneToOne()

Method Summary
 java.lang.String getMappedBy()
          Returns the value of the 'Mapped By' attribute.
 TextRange getMappedByTextRange()
           
 org.eclipse.emf.common.util.EList<XmlPrimaryKeyJoinColumn> getPrimaryKeyJoinColumns()
          Returns the value of the 'Primary Key Join Columns' containment reference list.
 void setMappedBy(java.lang.String value)
          Sets the value of the 'Mapped By' attribute.
 
Methods inherited from interface org.eclipse.jpt.core.resource.orm.XmlSingleRelationshipMapping
getJoinColumns, getOptional, setOptional
 
Methods inherited from interface org.eclipse.jpt.core.resource.orm.XmlRelationshipMapping
getCascade, getFetch, getJoinTable, getTargetEntity, setCascade, setFetch, setJoinTable, setTargetEntity
 
Methods inherited from interface org.eclipse.jpt.core.resource.orm.XmlAttributeMapping
getName, getNameTextRange, setName
 
Methods inherited from interface org.eclipse.jpt.core.resource.common.JpaEObject
containsOffset, getPlatformResource, getResource, getRoot, getSelectionTextRange, getValidationTextRange, isAllFeaturesUnset
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getMappedBy

java.lang.String getMappedBy()
Returns the value of the 'Mapped By' attribute.

If the meaning of the 'Mapped By' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Mapped By' attribute.
See Also:
setMappedBy(String), OrmPackage.getXmlOneToOne_MappedBy()

setMappedBy

void setMappedBy(java.lang.String value)
Sets the value of the 'Mapped By' attribute.

Parameters:
value - the new value of the 'Mapped By' attribute.
See Also:
getMappedBy()

getPrimaryKeyJoinColumns

org.eclipse.emf.common.util.EList<XmlPrimaryKeyJoinColumn> getPrimaryKeyJoinColumns()
Returns the value of the 'Primary Key Join Columns' containment reference list. The list contents are of type XmlPrimaryKeyJoinColumn.

If the meaning of the 'Primary Key Join Columns' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Primary Key Join Columns' containment reference list.
See Also:
OrmPackage.getXmlOneToOne_PrimaryKeyJoinColumns()

getMappedByTextRange

TextRange getMappedByTextRange()