org.eclipse.gmt.umlx.ucore.impl
Class URelationshipImpl

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.emf.ecore.impl.EModelElementImpl
                  extended by org.eclipse.emf.ecore.impl.ENamedElementImpl
                      extended by org.eclipse.gmt.umlx.ucore.impl.UConstraintImpl
                          extended by org.eclipse.gmt.umlx.ucore.impl.URelationshipImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, UConstraint, URelationship
Direct Known Subclasses:
UAttributeVariable2UExpressionVariableImpl, UClassVariable2UAttributeVariableImpl, UClassVariable2UClassVariableImpl

public abstract class URelationshipImpl
extends UConstraintImpl
implements URelationship

An implementation of the model object 'U2 Relationship'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
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
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 int getLowerSourceBound()
           
abstract  UVariable getSource()
           
abstract  UVariable getTarget()
           
 int getUpperSourceBound()
           
abstract  E2Link getUsedElement()
           
 void setLowerSourceBound(int newLowerSourceBound)
           
 void setUpperSourceBound(int newUpperSourceBound)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.gmt.umlx.ucore.impl.UConstraintImpl
eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getURelation, setURelation
 
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
getName, getNameGen, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotation, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.gmt.umlx.ucore.UConstraint
getURelation, setURelation
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getLowerSourceBound

public int getLowerSourceBound()

Specified by:
getLowerSourceBound in interface URelationship
Returns:
the value of the 'Lower Source Bound' attribute.
See Also:
URelationship.setLowerSourceBound(int), UcorePackage.getURelationship_LowerSourceBound()

setLowerSourceBound

public void setLowerSourceBound(int newLowerSourceBound)

Specified by:
setLowerSourceBound in interface URelationship
Parameters:
newLowerSourceBound - the new value of the 'Lower Source Bound' attribute.
See Also:
URelationship.getLowerSourceBound()

getUpperSourceBound

public int getUpperSourceBound()

Specified by:
getUpperSourceBound in interface URelationship
Returns:
the value of the 'Upper Source Bound' attribute.
See Also:
URelationship.setUpperSourceBound(int), UcorePackage.getURelationship_UpperSourceBound()

setUpperSourceBound

public void setUpperSourceBound(int newUpperSourceBound)

Specified by:
setUpperSourceBound in interface URelationship
Parameters:
newUpperSourceBound - the new value of the 'Upper Source Bound' attribute.
See Also:
URelationship.getUpperSourceBound()

getSource

public abstract UVariable getSource()

Specified by:
getSource in interface URelationship

getTarget

public abstract UVariable getTarget()

Specified by:
getTarget in interface URelationship

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 UConstraintImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

getUsedElement

public abstract E2Link getUsedElement()

Specified by:
getUsedElement in interface URelationship

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.ENamedElementImpl