org.eclipse.jpt.jpa.core.resource.orm
Class XmlOneToOne

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.jpt.jpa.core.resource.xml.AbstractJpaEObject
                  extended by org.eclipse.jpt.jpa.core.resource.orm.AbstractXmlAttributeMapping
                      extended by org.eclipse.jpt.jpa.core.resource.orm.AbstractXmlRelationshipMapping
                          extended by org.eclipse.jpt.jpa.core.resource.orm.AbstractXmlSingleRelationshipMapping
                              extended by org.eclipse.jpt.jpa.core.resource.orm.XmlOneToOne
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, XmlAttributeMapping_2_0, XmlDerivedId_2_0, XmlMapsId_2_0, XmlOneToOne_2_0, XmlOrphanRemovable_2_0, XmlSingleRelationshipMapping_2_0, XmlAccessHolder, XmlAttributeMapping, XmlJoinColumnContainer, XmlJoinTableContainer, XmlMappedByMapping, XmlPrimaryKeyJoinColumnContainer, JpaEObject
Direct Known Subclasses:
XmlOneToOne

public class XmlOneToOne
extends AbstractXmlSingleRelationshipMapping
implements XmlMappedByMapping, XmlPrimaryKeyJoinColumnContainer, XmlOneToOne_2_0

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.

See Also:
OrmPackage.getXmlOneToOne()

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
static org.eclipse.wst.common.internal.emf.resource.Translator buildTranslator(java.lang.String elementName, org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
           
 int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
           
 int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 java.lang.String getMappedBy()
          Returns the value of the 'Mapped By' attribute.
 TextRange getMappedByTextRange()
           
 java.lang.String getMappingKey()
           
 java.lang.Boolean getOrphanRemoval()
          Returns the value of the 'Orphan Removal' attribute.
 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 newMappedBy)
          Sets the value of the 'Mapped By' attribute.
 void setOrphanRemoval(java.lang.Boolean newOrphanRemoval)
          Sets the value of the 'Orphan Removal' attribute.
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.jpt.jpa.core.resource.orm.AbstractXmlSingleRelationshipMapping
basicSetJoinTable, getId, getIdTextRange, getJoinColumns, getJoinTable, getMapsId, getMapsIdTextRange, getOptional, setId, setJoinTable, setMapsId, setOptional
 
Methods inherited from class org.eclipse.jpt.jpa.core.resource.orm.AbstractXmlRelationshipMapping
basicSetCascade, createRenameTargetEntityEdit, createRenameTargetEntityPackageEdit, getCascade, getFetch, getTargetEntity, getTargetEntityTextRange, setCascade, setFetch, setTargetEntity
 
Methods inherited from class org.eclipse.jpt.jpa.core.resource.orm.AbstractXmlAttributeMapping
getAccess, getName, getNameTextRange, setAccess, setName
 
Methods inherited from class org.eclipse.jpt.jpa.core.resource.xml.AbstractJpaEObject
containsOffset, createDeleteEdit, eAdapters, eNotify, getNodeEndOffset, getSelectionTextRange, getValidationTextRange, isUnset
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jpt.jpa.core.resource.orm.v2_0.XmlDerivedId_2_0
getId, getIdTextRange, setId
 
Methods inherited from interface org.eclipse.jpt.jpa.core.resource.orm.v2_0.XmlMapsId_2_0
getMapsId, getMapsIdTextRange, setMapsId
 
Methods inherited from interface org.eclipse.jpt.jpa.core.resource.xml.JpaEObject
containsOffset, createDeleteEdit, getSelectionTextRange, getValidationTextRange, isUnset
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getMappedBy

public 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...

Specified by:
getMappedBy in interface XmlMappedByMapping
Returns:
the value of the 'Mapped By' attribute.
See Also:
setMappedBy(String), OrmPackage.getXmlMappedByMapping_MappedBy()

setMappedBy

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

Specified by:
setMappedBy in interface XmlMappedByMapping
Parameters:
value - the new value of the 'Mapped By' attribute.
See Also:
getMappedBy()

getOrphanRemoval

public java.lang.Boolean getOrphanRemoval()
Returns the value of the 'Orphan Removal' attribute.

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

Specified by:
getOrphanRemoval in interface XmlOrphanRemovable_2_0
Returns:
the value of the 'Orphan Removal' attribute.
See Also:
setOrphanRemoval(Boolean), org.eclipse.jpt.jpa.core.resource.orm.OrmPackage#getXmlOrphanRemovable_2_0_OrphanRemoval()

setOrphanRemoval

public void setOrphanRemoval(java.lang.Boolean newOrphanRemoval)
Sets the value of the 'Orphan Removal' attribute.

Specified by:
setOrphanRemoval in interface XmlOrphanRemovable_2_0
Parameters:
value - the new value of the 'Orphan Removal' attribute.
See Also:
getOrphanRemoval()

getPrimaryKeyJoinColumns

public 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...

Specified by:
getPrimaryKeyJoinColumns in interface XmlPrimaryKeyJoinColumnContainer
Returns:
the value of the 'Primary Key Join Columns' containment reference list.
See Also:
OrmPackage.getXmlPrimaryKeyJoinColumnContainer_PrimaryKeyJoinColumns()

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class AbstractXmlSingleRelationshipMapping

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class AbstractXmlSingleRelationshipMapping

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class AbstractXmlSingleRelationshipMapping

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class AbstractXmlSingleRelationshipMapping

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class AbstractXmlSingleRelationshipMapping

eBaseStructuralFeatureID

public int eBaseStructuralFeatureID(int derivedFeatureID,
                                    java.lang.Class<?> baseClass)

Specified by:
eBaseStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eBaseStructuralFeatureID in class AbstractXmlSingleRelationshipMapping

eDerivedStructuralFeatureID

public int eDerivedStructuralFeatureID(int baseFeatureID,
                                       java.lang.Class<?> baseClass)

Specified by:
eDerivedStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eDerivedStructuralFeatureID in class AbstractXmlSingleRelationshipMapping

toString

public java.lang.String toString()

Overrides:
toString in class AbstractXmlSingleRelationshipMapping

getMappingKey

public java.lang.String getMappingKey()
Specified by:
getMappingKey in interface XmlAttributeMapping

getMappedByTextRange

public TextRange getMappedByTextRange()
Specified by:
getMappedByTextRange in interface XmlMappedByMapping

buildTranslator

public static org.eclipse.wst.common.internal.emf.resource.Translator buildTranslator(java.lang.String elementName,
                                                                                      org.eclipse.emf.ecore.EStructuralFeature structuralFeature)