org.eclipse.ocl.expressions.impl
Class VariableExpImpl<C,PM>
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.ocl.expressions.impl.OCLExpressionImpl<C>
org.eclipse.ocl.expressions.impl.VariableExpImpl<C,PM>
- All Implemented Interfaces:
- Notifier, EObject, InternalEObject, OCLExpression<C>, VariableExp<C,PM>, ASTNode, TypedElement<C>, Visitable
public class VariableExpImpl<C,PM>
- extends OCLExpressionImpl<C>
- implements VariableExp<C,PM>
An implementation of the model object 'Variable Exp'.
The following features are implemented:
Method Summary |
<T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>>
T |
|
accept(U v)
|
Variable<C,PM> |
basicGetReferredVariable()
|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
Variable<C,PM> |
getReferredVariable()
|
void |
setReferredVariable(Variable<C,PM> newReferredVariable)
|
Methods inherited from class org.eclipse.ocl.expressions.impl.OCLExpressionImpl |
eBaseStructuralFeatureID, eDerivedStructuralFeatureID, getEndPosition, getName, getStartPosition, getType, setEndPosition, setName, setStartPosition, setType, toString |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues |
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.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
referredVariable
protected Variable<C,PM> referredVariable
- The cached value of the '
Referred Variable
' reference.
- See Also:
getReferredVariable()
VariableExpImpl
protected VariableExpImpl()
-
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass
in class OCLExpressionImpl<C>
getReferredVariable
public Variable<C,PM> getReferredVariable()
-
- Specified by:
getReferredVariable
in interface VariableExp<C,PM>
- Returns:
- the value of the 'Referred Variable' reference.
- See Also:
VariableExp.setReferredVariable(Variable)
,
ExpressionsPackage.getVariableExp_ReferredVariable()
basicGetReferredVariable
public Variable<C,PM> basicGetReferredVariable()
-
setReferredVariable
public void setReferredVariable(Variable<C,PM> newReferredVariable)
-
- Specified by:
setReferredVariable
in interface VariableExp<C,PM>
- Parameters:
newReferredVariable
- the new value of the 'Referred Variable' reference.- See Also:
VariableExp.getReferredVariable()
eGet
public Object eGet(int featureID,
boolean resolve,
boolean coreType)
-
- Specified by:
eGet
in interface InternalEObject
- Overrides:
eGet
in class OCLExpressionImpl<C>
eSet
public void eSet(int featureID,
Object newValue)
-
- Specified by:
eSet
in interface InternalEObject
- Overrides:
eSet
in class OCLExpressionImpl<C>
eUnset
public void eUnset(int featureID)
-
- Specified by:
eUnset
in interface InternalEObject
- Overrides:
eUnset
in class OCLExpressionImpl<C>
eIsSet
public boolean eIsSet(int featureID)
-
- Specified by:
eIsSet
in interface InternalEObject
- Overrides:
eIsSet
in class OCLExpressionImpl<C>
accept
public <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
- Description copied from class:
OCLExpressionImpl
-
- Specified by:
accept
in interface Visitable
- Overrides:
accept
in class OCLExpressionImpl<C>