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

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.emf.ocl.expressions.internal.impl.VariableDeclarationImpl
                          extended by org.eclipse.gmt.umlx.ucore.impl.UVariableImpl
                              extended by org.eclipse.gmt.umlx.ucore.impl.UExpressionVariableImpl
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, org.eclipse.emf.ocl.expressions.VariableDeclaration, org.eclipse.emf.ocl.internal.utilities.ASTNode, org.eclipse.emf.ocl.internal.utilities.TypedASTNode, org.eclipse.emf.ocl.internal.utilities.Visitable, UExpressionVariable, UOCLContainer, UVariable

public class UExpressionVariableImpl
extends UVariableImpl
implements UExpressionVariable

An implementation of the model object 'U2 Data Type Variable'.

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.ocl.expressions.internal.impl.VariableDeclarationImpl
copyright
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ocl.expressions.VariableDeclaration
copyright
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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)
           
 org.eclipse.emf.ocl.expressions.OCLExpression getUsage()
           
 int getUsageFeatureID()
           
 org.eclipse.emf.ecore.EPackage getUsedPackage()
           
 org.eclipse.emf.common.util.EList getValuations()
           
 org.eclipse.emf.ocl.expressions.OCLExpression simpleGetInitExpression()
           
 
Methods inherited from class org.eclipse.gmt.umlx.ucore.impl.UVariableImpl
accept, eBasicRemoveFromContainerFeature, eGet, eSet, getExpressionValue, getOCLExpression, getOCLString, getUExpression, getURelation, getVarName, setURelation, setVarName, simpleGetOCLException, simpleGetOCLExpression, simpleGetOCLString
 
Methods inherited from class org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl
basicGetType, basicSetInitExpression, eBaseStructuralFeatureID, eDerivedStructuralFeatureID, getBaseExp, getEndPosition, getInitExpression, getLoopExpr, getStartPosition, getType, getTypeEndPosition, getTypeStartPosition, setBaseExp, setEndPosition, setInitExpression, setLoopExpr, setStartPosition, setType, setTypeEndPosition, setTypeStartPosition, toString
 
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, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, 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.UVariable
getURelation, setURelation
 
Methods inherited from interface org.eclipse.emf.ocl.expressions.VariableDeclaration
accept, getBaseExp, getInitExpression, getLoopExpr, getType, getVarName, setBaseExp, setInitExpression, setLoopExpr, setType, setVarName
 
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.ocl.internal.utilities.TypedASTNode
getTypeEndPosition, getTypeStartPosition, setTypeEndPosition, setTypeStartPosition
 
Methods inherited from interface org.eclipse.emf.ocl.internal.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
Methods inherited from interface org.eclipse.gmt.umlx.ucore.UOCLContainer
getExpressionValue, getOCLExpression, getOCLString, getUExpression, simpleGetOCLException, simpleGetOCLExpression, simpleGetOCLString
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getUsage

public org.eclipse.emf.ocl.expressions.OCLExpression getUsage()

Specified by:
getUsage in interface UVariable
Specified by:
getUsage in class UVariableImpl

getUsageFeatureID

public int getUsageFeatureID()

Specified by:
getUsageFeatureID in interface UVariable
Specified by:
getUsageFeatureID in class UVariableImpl

getUsedPackage

public org.eclipse.emf.ecore.EPackage getUsedPackage()

Specified by:
getUsedPackage in interface UVariable
Specified by:
getUsedPackage in class UVariableImpl

getValuations

public org.eclipse.emf.common.util.EList getValuations()

Specified by:
getValuations in interface UExpressionVariable
Returns:
the value of the 'Valuations' reference list.
See Also:
UcorePackage.getUExpressionVariable_Valuations(), UAttributeVariable2UExpressionVariable.getTarget()

simpleGetInitExpression

public org.eclipse.emf.ocl.expressions.OCLExpression simpleGetInitExpression()


eInverseAdd

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

Overrides:
eInverseAdd in class UVariableImpl

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 UVariableImpl

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 UVariableImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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