org.eclipse.gmt.umlx.ucore.impl
Class UAttributeVariableImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.ENamedElementImpl
org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl
org.eclipse.gmt.umlx.ucore.impl.UVariableImpl
org.eclipse.gmt.umlx.ucore.impl.UAttributeVariableImpl
- 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, UAttributeVariable, UOCLContainer, UVariable
public class UAttributeVariableImpl
- extends UVariableImpl
- implements UAttributeVariable
An implementation of the model object 'U2 Attribute Variable'.
The following features are implemented:
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 |
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 |
Methods inherited from class org.eclipse.gmt.umlx.ucore.impl.UVariableImpl |
accept, eGet, eSet, getExpressionValue, getOCLExpression, getOCLString, getUExpression, 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.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.emf.ecore.InternalEObject |
eNotificationRequired |
getAttributions
public org.eclipse.emf.common.util.EList getAttributions()
-
- Specified by:
getAttributions
in interface UAttributeVariable
- Returns:
- the value of the 'Attributions' reference list.
- See Also:
UcorePackage.getUAttributeVariable_Attributions()
,
UClassVariable2UAttributeVariable.getTarget()
getValuations
public org.eclipse.emf.common.util.EList getValuations()
-
- Specified by:
getValuations
in interface UAttributeVariable
- Returns:
- the value of the 'Valuations' reference list.
- See Also:
UcorePackage.getUAttributeVariable_Valuations()
,
UAttributeVariable2UExpressionVariable.getSource()
simpleGetUsedElement
public org.eclipse.emf.ecore.EAttribute simpleGetUsedElement()
-
- Specified by:
simpleGetUsedElement
in interface UAttributeVariable
getURelation
public URelation getURelation()
-
- Specified by:
getURelation
in interface UVariable
- Overrides:
getURelation
in class UVariableImpl
- Returns:
- the value of the 'URelation' container reference.
- See Also:
UVariable.setURelation(URelation)
,
UcorePackage.getUVariable_URelation()
,
URelation.getUVariables()
getScope
public UClassVariable getScope()
-
- Specified by:
getScope
in interface UAttributeVariable
- Returns:
- the value of the 'Scope' container reference.
- See Also:
UAttributeVariable.setScope(UClassVariable)
,
UcorePackage.getUAttributeVariable_Scope()
,
UClassVariable.getAttributeVariables()
setScope
public void setScope(UClassVariable newScope)
-
- Specified by:
setScope
in interface UAttributeVariable
- Parameters:
newScope
- the new value of the 'Scope' container reference.- See Also:
UAttributeVariable.getScope()
getUsedElement
public org.eclipse.emf.ecore.EAttribute getUsedElement()
-
- Specified by:
getUsedElement
in interface UAttributeVariable
- Returns:
- the value of the 'Used Element' reference.
- See Also:
UAttributeVariable.setUsedElement(EAttribute)
,
UcorePackage.getUAttributeVariable_UsedElement()
basicGetUsedElement
public org.eclipse.emf.ecore.EAttribute basicGetUsedElement()
-
setUsedElement
public void setUsedElement(org.eclipse.emf.ecore.EAttribute newUsedElement)
-
- Specified by:
setUsedElement
in interface UAttributeVariable
- Parameters:
newUsedElement
- the new value of the 'Used Element' reference.- See Also:
UAttributeVariable.getUsedElement()
getUsage
public org.eclipse.emf.ecore.EAttribute 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
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
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
-
- Overrides:
eBasicRemoveFromContainerFeature
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