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

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.AbstractXmlMultiRelationshipMapping
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, XmlAttributeMapping_2_0, XmlMapKeyAttributeOverrideContainer_2_0, XmlMultiRelationshipMapping_2_0, XmlOrderable_2_0, XmlAccessHolder, XmlAttributeMapping, XmlJoinTableMapping, XmlMappedByMapping, XmlOrderable, JpaEObject
Direct Known Subclasses:
XmlManyToMany, XmlOneToMany

public abstract class AbstractXmlMultiRelationshipMapping
extends AbstractXmlRelationshipMapping
implements XmlMappedByMapping, XmlJoinTableMapping, XmlOrderable, XmlMultiRelationshipMapping_2_0

A representation of the model object 'Multi 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.getAbstractXmlMultiRelationshipMapping()

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)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetMapKey(MapKey newMapKey, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetMapKeyClass(XmlClassReference newMapKeyClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetMapKeyColumn(XmlColumn newMapKeyColumn, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetOrderColumn(XmlOrderColumn newOrderColumn, 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)
           
 XmlJoinTable getJoinTable()
          Returns the value of the 'Join Table' containment reference.
 MapKey getMapKey()
          Returns the value of the 'Map Key' containment reference.
 org.eclipse.emf.common.util.EList<XmlAttributeOverride> getMapKeyAttributeOverrides()
          Returns the value of the 'Map Key Attribute Overrides' containment reference list.
 XmlClassReference getMapKeyClass()
          Returns the value of the 'Map Key Class' containment reference.
 XmlColumn getMapKeyColumn()
          Returns the value of the 'Map Key Column' containment reference.
 EnumType getMapKeyEnumerated()
          Returns the value of the 'Map Key Enumerated' attribute.
 org.eclipse.emf.common.util.EList<XmlJoinColumn> getMapKeyJoinColumns()
          Returns the value of the 'Map Key Join Columns' containment reference list.
 TemporalType getMapKeyTemporal()
          Returns the value of the 'Map Key Temporal' attribute.
 java.lang.String getMappedBy()
          Returns the value of the 'Mapped By' attribute.
 TextRange getMappedByTextRange()
           
 java.lang.String getOrderBy()
          Returns the value of the 'Order By' attribute.
 XmlOrderColumn getOrderColumn()
          Returns the value of the 'Order Column' containment reference.
 void setJoinTable(XmlJoinTable newJoinTable)
          Sets the value of the 'Join Table' containment reference.
 void setMapKey(MapKey newMapKey)
          Sets the value of the 'Map Key' containment reference.
 void setMapKeyClass(XmlClassReference newMapKeyClass)
          Sets the value of the 'Map Key Class' containment reference.
 void setMapKeyColumn(XmlColumn newMapKeyColumn)
          Sets the value of the 'Map Key Column' containment reference.
 void setMapKeyEnumerated(EnumType newMapKeyEnumerated)
          Sets the value of the 'Map Key Enumerated' attribute.
 void setMapKeyTemporal(TemporalType newMapKeyTemporal)
          Sets the value of the 'Map Key Temporal' attribute.
 void setMappedBy(java.lang.String newMappedBy)
          Sets the value of the 'Mapped By' attribute.
 void setOrderBy(java.lang.String newOrderBy)
          Sets the value of the 'Order By' attribute.
 void setOrderColumn(XmlOrderColumn newOrderColumn)
          Sets the value of the 'Order Column' containment reference.
 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.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

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()

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()

getOrderColumn

public XmlOrderColumn getOrderColumn()
Returns the value of the 'Order Column' containment reference.

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

Specified by:
getOrderColumn in interface XmlOrderable_2_0
Returns:
the value of the 'Order Column' containment reference.
See Also:
setOrderColumn(XmlOrderColumn), org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlOrderable_2_0_OrderColumn()

basicSetOrderColumn

public org.eclipse.emf.common.notify.NotificationChain basicSetOrderColumn(XmlOrderColumn newOrderColumn,
                                                                           org.eclipse.emf.common.notify.NotificationChain msgs)


setOrderColumn

public void setOrderColumn(XmlOrderColumn newOrderColumn)
Sets the value of the 'Order Column' containment reference.

Specified by:
setOrderColumn in interface XmlOrderable_2_0
Parameters:
value - the new value of the 'Order Column' containment reference.
See Also:
getOrderColumn()

getOrderBy

public java.lang.String getOrderBy()
Returns the value of the 'Order By' attribute.

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

Specified by:
getOrderBy in interface XmlOrderable
Returns:
the value of the 'Order By' attribute.
See Also:
setOrderBy(String), OrmPackage.getXmlOrderable_OrderBy()

setOrderBy

public void setOrderBy(java.lang.String newOrderBy)
Sets the value of the 'Order By' attribute.

Specified by:
setOrderBy in interface XmlOrderable
Parameters:
value - the new value of the 'Order By' attribute.
See Also:
getOrderBy()

getMapKeyAttributeOverrides

public org.eclipse.emf.common.util.EList<XmlAttributeOverride> getMapKeyAttributeOverrides()
Returns the value of the 'Map Key Attribute Overrides' containment reference list. The list contents are of type XmlAttributeOverride.

If the meaning of the 'Map Key Attribute Overrides' containment reference list isn't clear, there really should be more of a description here...

Specified by:
getMapKeyAttributeOverrides in interface XmlMapKeyAttributeOverrideContainer_2_0
Returns:
the value of the 'Map Key Attribute Overrides' containment reference list.
See Also:
org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlMapKeyAttributeOverrideContainer_2_0_MapKeyAttributeOverrides()

getMapKeyClass

public XmlClassReference getMapKeyClass()
Returns the value of the 'Map Key Class' containment reference.

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

Specified by:
getMapKeyClass in interface XmlMultiRelationshipMapping_2_0
Returns:
the value of the 'Map Key Class' containment reference.
See Also:
setMapKeyClass(XmlClassReference), org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlMultiRelationshipMapping_2_0_MapKeyClass()

basicSetMapKeyClass

public org.eclipse.emf.common.notify.NotificationChain basicSetMapKeyClass(XmlClassReference newMapKeyClass,
                                                                           org.eclipse.emf.common.notify.NotificationChain msgs)


setMapKeyClass

public void setMapKeyClass(XmlClassReference newMapKeyClass)
Sets the value of the 'Map Key Class' containment reference.

Specified by:
setMapKeyClass in interface XmlMultiRelationshipMapping_2_0
Parameters:
value - the new value of the 'Map Key Class' containment reference.
See Also:
getMapKeyClass()

getMapKeyTemporal

public TemporalType getMapKeyTemporal()
Returns the value of the 'Map Key Temporal' attribute. The literals are from the enumeration TemporalType.

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

Specified by:
getMapKeyTemporal in interface XmlMultiRelationshipMapping_2_0
Returns:
the value of the 'Map Key Temporal' attribute.
See Also:
TemporalType, setMapKeyTemporal(TemporalType), org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlMultiRelationshipMapping_2_0_MapKeyTemporal()

setMapKeyTemporal

public void setMapKeyTemporal(TemporalType newMapKeyTemporal)
Sets the value of the 'Map Key Temporal' attribute.

Specified by:
setMapKeyTemporal in interface XmlMultiRelationshipMapping_2_0
Parameters:
value - the new value of the 'Map Key Temporal' attribute.
See Also:
TemporalType, getMapKeyTemporal()

getMapKeyEnumerated

public EnumType getMapKeyEnumerated()
Returns the value of the 'Map Key Enumerated' attribute. The literals are from the enumeration EnumType.

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

Specified by:
getMapKeyEnumerated in interface XmlMultiRelationshipMapping_2_0
Returns:
the value of the 'Map Key Enumerated' attribute.
See Also:
EnumType, setMapKeyEnumerated(EnumType), org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlMultiRelationshipMapping_2_0_MapKeyEnumerated()

setMapKeyEnumerated

public void setMapKeyEnumerated(EnumType newMapKeyEnumerated)
Sets the value of the 'Map Key Enumerated' attribute.

Specified by:
setMapKeyEnumerated in interface XmlMultiRelationshipMapping_2_0
Parameters:
value - the new value of the 'Map Key Enumerated' attribute.
See Also:
EnumType, getMapKeyEnumerated()

getMapKeyColumn

public XmlColumn getMapKeyColumn()
Returns the value of the 'Map Key Column' containment reference.

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

Specified by:
getMapKeyColumn in interface XmlMultiRelationshipMapping_2_0
Returns:
the value of the 'Map Key Column' containment reference.
See Also:
setMapKeyColumn(XmlColumn), org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlMultiRelationshipMapping_2_0_MapKeyColumn()

basicSetMapKeyColumn

public org.eclipse.emf.common.notify.NotificationChain basicSetMapKeyColumn(XmlColumn newMapKeyColumn,
                                                                            org.eclipse.emf.common.notify.NotificationChain msgs)


setMapKeyColumn

public void setMapKeyColumn(XmlColumn newMapKeyColumn)
Sets the value of the 'Map Key Column' containment reference.

Specified by:
setMapKeyColumn in interface XmlMultiRelationshipMapping_2_0
Parameters:
value - the new value of the 'Map Key Column' containment reference.
See Also:
getMapKeyColumn()

getMapKeyJoinColumns

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

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

Specified by:
getMapKeyJoinColumns in interface XmlMultiRelationshipMapping_2_0
Returns:
the value of the 'Map Key Join Columns' containment reference list.
See Also:
org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlMultiRelationshipMapping_2_0_MapKeyJoinColumns()

getMapKey

public MapKey getMapKey()
Returns the value of the 'Map Key' containment reference.

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

Returns:
the value of the 'Map Key' containment reference.
See Also:
setMapKey(MapKey), OrmPackage.getAbstractXmlMultiRelationshipMapping_MapKey()

basicSetMapKey

public org.eclipse.emf.common.notify.NotificationChain basicSetMapKey(MapKey newMapKey,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)


setMapKey

public void setMapKey(MapKey newMapKey)
Sets the value of the 'Map Key' containment reference.

Parameters:
value - the new value of the 'Map Key' containment reference.
See Also:
getMapKey()

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

getMappedByTextRange

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