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

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.gmt.umlx.ucore.impl.UConstraintImpl
                          extended by org.eclipse.gmt.umlx.ucore.impl.UOCLConstraintImpl
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, UConstraint, UOCLConstraint, UOCLContainer

public class UOCLConstraintImpl
extends UConstraintImpl
implements UOCLConstraint

An implementation of the model object 'U2 Constraint'.

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.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetConstraint(UExpression newConstraint, 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)
           
 UExpression getConstraint()
           
 org.eclipse.emf.ocl.expressions.OCLExpression getExpressionValue(java.lang.String string)
           
 org.eclipse.emf.ocl.expressions.OCLExpression getOCLExpression()
           
 java.lang.String getOCLString()
           
 UExpression getUExpression()
           
 void setConstraint(UExpression newConstraint)
           
 org.eclipse.emf.ocl.helper.OCLParsingException simpleGetOCLException()
           
 org.eclipse.emf.ocl.expressions.OCLExpression simpleGetOCLExpression()
           
 java.lang.String simpleGetOCLString()
           
 
Methods inherited from class org.eclipse.gmt.umlx.ucore.impl.UConstraintImpl
eBasicRemoveFromContainerFeature, eInverseAdd, getURelation, setURelation
 
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
getName, getNameGen, setName, toString
 
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, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, 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.gmt.umlx.ucore.UConstraint
getURelation, setURelation
 
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.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getConstraint

public UExpression getConstraint()

Specified by:
getConstraint in interface UOCLConstraint
Returns:
the value of the 'Constraint' containment reference.
See Also:
UOCLConstraint.setConstraint(UExpression), UcorePackage.getUOCLConstraint_Constraint()

basicSetConstraint

public org.eclipse.emf.common.notify.NotificationChain basicSetConstraint(UExpression newConstraint,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)


setConstraint

public void setConstraint(UExpression newConstraint)

Specified by:
setConstraint in interface UOCLConstraint
Parameters:
newConstraint - the new value of the 'Constraint' containment reference.
See Also:
UOCLConstraint.getConstraint()

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

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

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 UConstraintImpl

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 UConstraintImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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