org.eclipse.gmt.umlx.ucore.impl
Class UExpressionImpl
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.OCLExpressionImpl
org.eclipse.gmt.umlx.ucore.impl.UExpressionImpl
- 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.OCLExpression, org.eclipse.emf.ocl.internal.utilities.ASTNode, org.eclipse.emf.ocl.internal.utilities.Visitable, UExpression
public class UExpressionImpl
- extends org.eclipse.emf.ocl.expressions.internal.impl.OCLExpressionImpl
- implements UExpression
An implementation of the model object 'UExpression'.
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.OCLExpressionImpl |
copyright |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
ELAST_EOBJECT_FLAG |
Fields inherited from interface org.eclipse.emf.ocl.expressions.OCLExpression |
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 |
basicSetExpression(org.eclipse.emf.ocl.expressions.OCLExpression newExpression,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
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.helper.OCLParsingException |
getException()
|
org.eclipse.emf.ocl.expressions.OCLExpression |
getExpression()
|
org.eclipse.emf.ocl.expressions.OCLExpression |
getOCLExpression(UOCLContainer uContainer)
|
java.lang.String |
getOCLString()
|
java.lang.String |
getValue()
|
void |
setException(org.eclipse.emf.ocl.helper.OCLParsingException newException)
|
void |
setExpression(org.eclipse.emf.ocl.expressions.OCLExpression newExpression)
NB only invoked directly during Ecore read
|
void |
setOCLExpressionAndOCLString(org.eclipse.emf.ocl.expressions.OCLExpression newExpression,
java.lang.String newString)
NB use this method for all updates
|
void |
setValue(java.lang.String newValue)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.emf.ocl.expressions.internal.impl.OCLExpressionImpl |
basicGetType, eBaseStructuralFeatureID, eBasicRemoveFromContainerFeature, eDerivedStructuralFeatureID, eInverseAdd, getAppliedProperty, getEndPosition, getInitializedVariable, getParentOperation, getStartPosition, getType, setAppliedProperty, setEndPosition, setInitializedVariable, setParentOperation, setStartPosition, setType |
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, 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.emf.ocl.expressions.OCLExpression |
getAppliedProperty, getInitializedVariable, getParentOperation, getType, setAppliedProperty, setInitializedVariable, setParentOperation, 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.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.ocl.internal.utilities.ASTNode |
getEndPosition, getStartPosition, setEndPosition, setStartPosition |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
eNotificationRequired |
getException
public org.eclipse.emf.ocl.helper.OCLParsingException getException()
-
- Specified by:
getException
in interface UExpression
- Returns:
- the value of the 'Exception' attribute.
- See Also:
UExpression.setException(OCLParsingException)
,
UcorePackage.getUExpression_Exception()
setException
public void setException(org.eclipse.emf.ocl.helper.OCLParsingException newException)
-
- Specified by:
setException
in interface UExpression
- Parameters:
newException
- the new value of the 'Exception' attribute.- See Also:
UExpression.getException()
getExpression
public org.eclipse.emf.ocl.expressions.OCLExpression getExpression()
-
- Specified by:
getExpression
in interface UExpression
- Returns:
- the value of the 'Expression' containment reference.
- See Also:
UExpression.setExpression(OCLExpression)
,
UcorePackage.getUExpression_Expression()
basicSetExpression
public org.eclipse.emf.common.notify.NotificationChain basicSetExpression(org.eclipse.emf.ocl.expressions.OCLExpression newExpression,
org.eclipse.emf.common.notify.NotificationChain msgs)
-
getOCLExpression
public org.eclipse.emf.ocl.expressions.OCLExpression getOCLExpression(UOCLContainer uContainer)
-
- Specified by:
getOCLExpression
in interface UExpression
setExpression
public void setExpression(org.eclipse.emf.ocl.expressions.OCLExpression newExpression)
-
NB only invoked directly during Ecore read
- Specified by:
setExpression
in interface UExpression
- Parameters:
newExpression
- the new value of the 'Expression' containment reference.- See Also:
UExpression.getExpression()
getValue
public java.lang.String getValue()
-
- Specified by:
getValue
in interface UExpression
- Returns:
- the value of the 'Value' attribute.
- See Also:
UExpression.setValue(String)
,
UcorePackage.getUExpression_Value()
setValue
public void setValue(java.lang.String newValue)
-
- Specified by:
setValue
in interface UExpression
- Parameters:
newValue
- the new value of the 'Value' attribute.- See Also:
UExpression.getValue()
getOCLString
public java.lang.String getOCLString()
-
- Specified by:
getOCLString
in interface UExpression
setOCLExpressionAndOCLString
public void setOCLExpressionAndOCLString(org.eclipse.emf.ocl.expressions.OCLExpression newExpression,
java.lang.String newString)
-
NB use this method for all updates
- Specified by:
setOCLExpressionAndOCLString
in interface UExpression
accept
public java.lang.Object accept(org.eclipse.emf.ocl.expressions.Visitor v)
- Specified by:
accept
in interface org.eclipse.emf.ocl.expressions.OCLExpression
- Specified by:
accept
in interface org.eclipse.emf.ocl.internal.utilities.Visitable
- Overrides:
accept
in class org.eclipse.emf.ocl.expressions.internal.impl.OCLExpressionImpl
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.OCLExpressionImpl
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.OCLExpressionImpl
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.OCLExpressionImpl
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.OCLExpressionImpl
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.OCLExpressionImpl
toString
public java.lang.String toString()
-
- Overrides:
toString
in class org.eclipse.emf.ocl.expressions.internal.impl.OCLExpressionImpl