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

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
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, UOCLContainer, UVariable
Direct Known Subclasses:
UAttributeVariableImpl, UClassVariableImpl, UExpressionVariableImpl

public abstract class UVariableImpl
extends org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl
implements UVariable

An implementation of the model object 'UVariable Declaration'.

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 accept(org.eclipse.emf.ocl.expressions.Visitor v)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve, boolean coreType)
           
 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(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 org.eclipse.emf.ocl.expressions.OCLExpression getExpressionValue(java.lang.String string)
           
 org.eclipse.emf.ocl.expressions.OCLExpression getOCLExpression()
           
 java.lang.String getOCLString()
           
 UExpression getUExpression()
           
 URelation getURelation()
           
abstract  org.eclipse.emf.ecore.ENamedElement getUsage()
           
abstract  int getUsageFeatureID()
           
abstract  org.eclipse.emf.ecore.EPackage getUsedPackage()
           
 java.lang.String getVarName()
          Eliminate the redundant name.
 void setURelation(URelation newURelation)
           
 void setVarName(java.lang.String name)
          Eliminate the redundant name.
 org.eclipse.emf.ocl.helper.OCLParsingException simpleGetOCLException()
           
 org.eclipse.emf.ocl.expressions.OCLExpression simpleGetOCLExpression()
           
 java.lang.String 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.emf.ocl.expressions.VariableDeclaration
getBaseExp, getInitExpression, getLoopExpr, getType, setBaseExp, setInitExpression, setLoopExpr, setType
 
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.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getURelation

public URelation getURelation()

Specified by:
getURelation in interface UVariable
Returns:
the value of the 'URelation' container reference.
See Also:
UVariable.setURelation(URelation), UcorePackage.getUVariable_URelation(), URelation.getUVariables()

setURelation

public void setURelation(URelation newURelation)

Specified by:
setURelation in interface UVariable
Parameters:
newURelation - the new value of the 'URelation' container reference.
See Also:
UVariable.getURelation()

getExpressionValue

public org.eclipse.emf.ocl.expressions.OCLExpression getExpressionValue(java.lang.String string)
                                                                 throws org.eclipse.emf.ocl.helper.OCLParsingException

Specified by:
getExpressionValue in interface UOCLContainer
Throws:
org.eclipse.emf.ocl.helper.OCLParsingException

getUsage

public abstract org.eclipse.emf.ecore.ENamedElement getUsage()

Specified by:
getUsage in interface UVariable

getUsageFeatureID

public abstract int getUsageFeatureID()

Specified by:
getUsageFeatureID in interface UVariable

getUsedPackage

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

Specified by:
getUsedPackage in interface UVariable

getOCLExpression

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

Specified by:
getOCLExpression in interface UOCLContainer

getOCLString

public java.lang.String getOCLString()

Specified by:
getOCLString in interface UOCLContainer

getUExpression

public UExpression getUExpression()

Specified by:
getUExpression in interface UOCLContainer

simpleGetOCLExpression

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

Specified by:
simpleGetOCLExpression in interface UOCLContainer

simpleGetOCLString

public java.lang.String simpleGetOCLString()

Specified by:
simpleGetOCLString in interface UOCLContainer

simpleGetOCLException

public org.eclipse.emf.ocl.helper.OCLParsingException simpleGetOCLException()

Specified by:
simpleGetOCLException in interface UOCLContainer

getVarName

public java.lang.String getVarName()
Eliminate the redundant name.

Specified by:
getVarName in interface org.eclipse.emf.ocl.expressions.VariableDeclaration
Overrides:
getVarName in class org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl

setVarName

public void setVarName(java.lang.String name)
Eliminate the redundant name.

Specified by:
setVarName in interface org.eclipse.emf.ocl.expressions.VariableDeclaration
Overrides:
setVarName in class org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl

accept

public java.lang.Object accept(org.eclipse.emf.ocl.expressions.Visitor v)
Specified by:
accept in interface org.eclipse.emf.ocl.expressions.VariableDeclaration
Specified by:
accept in interface org.eclipse.emf.ocl.internal.utilities.Visitable
Overrides:
accept in class org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                             boolean resolve,
                             boolean coreType)
Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 java.lang.Object newValue)
Specified by:
eSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

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 org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl

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 org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl

eBasicRemoveFromContainerFeature

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl

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 org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl