org.eclipse.jpt.core.resource.orm
Class AbstractXmlSingleRelationshipMapping

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.core.resource.xml.AbstractJpaEObject
                  extended by org.eclipse.jpt.core.resource.orm.AbstractXmlAttributeMapping
                      extended by org.eclipse.jpt.core.resource.orm.AbstractXmlRelationshipMapping
                          extended by org.eclipse.jpt.core.resource.orm.AbstractXmlSingleRelationshipMapping
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, XmlSingleRelationshipMapping_2_0, XmlAccessHolder, XmlAttributeMapping, XmlJoinColumnsMapping, XmlJoinTableMapping, JpaEObject
Direct Known Subclasses:
XmlManyToOne, XmlOneToOne

public abstract class AbstractXmlSingleRelationshipMapping
extends AbstractXmlRelationshipMapping
implements XmlJoinTableMapping, XmlJoinColumnsMapping, XmlSingleRelationshipMapping_2_0

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

The following features are supported:

See Also:
OrmPackage.getAbstractXmlSingleRelationshipMapping()

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
 org.eclipse.emf.common.notify.NotificationChain basicSetJoinTable(XmlJoinTable newJoinTable, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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.Boolean getId()
          Returns the value of the 'Id' attribute.
 TextRange getIdTextRange()
          Return the text range of the derived id part of the XML document
 org.eclipse.emf.common.util.EList<XmlJoinColumn> getJoinColumns()
          Returns the value of the 'Join Columns' containment reference list.
 XmlJoinTable getJoinTable()
          Returns the value of the 'Join Table' containment reference.
 java.lang.String getMapsId()
          Returns the value of the 'Maps Id' attribute.
 TextRange getMapsIdTextRange()
          Return the text range of the "maps-id" part of the XML document
 java.lang.Boolean getOptional()
          Returns the value of the 'Optional' attribute.
 void setId(java.lang.Boolean newId)
          Sets the value of the 'Id' attribute.
 void setJoinTable(XmlJoinTable newJoinTable)
          Sets the value of the 'Join Table' containment reference.
 void setMapsId(java.lang.String newMapsId)
          Sets the value of the 'Maps Id' attribute.
 void setOptional(java.lang.Boolean newOptional)
          Sets the value of the 'Optional' attribute.
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.jpt.core.resource.orm.AbstractXmlRelationshipMapping
basicSetCascade, getCascade, getFetch, getTargetEntity, getTargetEntityTextRange, setCascade, setFetch, setTargetEntity
 
Methods inherited from class org.eclipse.jpt.core.resource.orm.AbstractXmlAttributeMapping
getAccess, getName, getNameTextRange, setAccess, setName
 
Methods inherited from class org.eclipse.jpt.core.resource.xml.AbstractJpaEObject
containsOffset, eAdapters, eNotify, 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.core.resource.xml.JpaEObject
containsOffset, 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.jpt.core.resource.xml.JpaEObject
containsOffset, 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.jpt.core.resource.xml.JpaEObject
containsOffset, 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.jpt.core.resource.xml.JpaEObject
containsOffset, 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.jpt.core.resource.orm.XmlAttributeMapping
getMappingKey
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getJoinTable

public XmlJoinTable getJoinTable()
Returns the value of the 'Join Table' containment reference.

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

Specified by:
getJoinTable in interface XmlJoinTableMapping
Returns:
the value of the 'Join Table' containment reference.
See Also:
setJoinTable(XmlJoinTable), OrmPackage.getXmlJoinTableMapping_JoinTable()

basicSetJoinTable

public org.eclipse.emf.common.notify.NotificationChain basicSetJoinTable(XmlJoinTable newJoinTable,
                                                                         org.eclipse.emf.common.notify.NotificationChain msgs)


setJoinTable

public void setJoinTable(XmlJoinTable newJoinTable)
Sets the value of the 'Join Table' containment reference.

Specified by:
setJoinTable in interface XmlJoinTableMapping
Parameters:
value - the new value of the 'Join Table' containment reference.
See Also:
getJoinTable()

getJoinColumns

public org.eclipse.emf.common.util.EList<XmlJoinColumn> getJoinColumns()
Returns the value of the 'Join Columns' containment reference list. The list contents are of type XmlJoinColumn.

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

Specified by:
getJoinColumns in interface XmlJoinColumnsMapping
Returns:
the value of the 'Join Columns' containment reference list.
See Also:
OrmPackage.getXmlJoinColumnsMapping_JoinColumns()

getId

public java.lang.Boolean getId()
Returns the value of the 'Id' attribute.

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

Specified by:
getId in interface XmlDerivedId_2_0
Returns:
the value of the 'Id' attribute.
See Also:
setId(Boolean), org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlDerivedId_2_0_Id()

setId

public void setId(java.lang.Boolean newId)
Sets the value of the 'Id' attribute.

Specified by:
setId in interface XmlDerivedId_2_0
Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()

getMapsId

public java.lang.String getMapsId()
Returns the value of the 'Maps Id' attribute.

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

Specified by:
getMapsId in interface XmlMapsId_2_0
Returns:
the value of the 'Maps Id' attribute.
See Also:
setMapsId(String), org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlMapsId_2_0_MapsId()

setMapsId

public void setMapsId(java.lang.String newMapsId)
Sets the value of the 'Maps Id' attribute.

Specified by:
setMapsId in interface XmlMapsId_2_0
Parameters:
value - the new value of the 'Maps Id' attribute.
See Also:
getMapsId()

getOptional

public java.lang.Boolean getOptional()
Returns the value of the 'Optional' attribute.

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

Returns:
the value of the 'Optional' attribute.
See Also:
setOptional(Boolean), OrmPackage.getAbstractXmlSingleRelationshipMapping_Optional()

setOptional

public void setOptional(java.lang.Boolean newOptional)
Sets the value of the 'Optional' attribute.

Parameters:
value - the new value of the 'Optional' attribute.
See Also:
getOptional()

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 AbstractXmlRelationshipMapping

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 AbstractXmlRelationshipMapping

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

eBaseStructuralFeatureID

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

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

eDerivedStructuralFeatureID

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

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

toString

public java.lang.String toString()

Overrides:
toString in class AbstractXmlRelationshipMapping

getMapsIdTextRange

public TextRange getMapsIdTextRange()
Description copied from interface: XmlMapsId_2_0
Return the text range of the "maps-id" part of the XML document

Specified by:
getMapsIdTextRange in interface XmlMapsId_2_0

getIdTextRange

public TextRange getIdTextRange()
Description copied from interface: XmlDerivedId_2_0
Return the text range of the derived id part of the XML document

Specified by:
getIdTextRange in interface XmlDerivedId_2_0