Package org.eclipse.m2m.atl.common.OCL
Class IfExp
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- org.eclipse.m2m.atl.common.ATL.LocatedElement
-
- org.eclipse.m2m.atl.common.OCL.OclExpression
-
- org.eclipse.m2m.atl.common.OCL.IfExp
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
public class IfExp extends OclExpression
A representation of the model object 'If Exp'.The following features are supported:
- See Also:
OCLPackage.getIfExp()
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected OclExpression
condition
The cached value of the 'Condition
' containment reference.protected OclExpression
elseExpression
The cached value of the 'Else Expression
' containment reference.protected OclExpression
thenExpression
The cached value of the 'Then Expression
' containment reference.-
Fields inherited from class org.eclipse.m2m.atl.common.OCL.OclExpression
type
-
Fields inherited from class org.eclipse.m2m.atl.common.ATL.LocatedElement
commentsAfter, commentsBefore, location, LOCATION_EDEFAULT
-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IfExp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChain
basicSetCondition(OclExpression newCondition, org.eclipse.emf.common.notify.NotificationChain msgs)
org.eclipse.emf.common.notify.NotificationChain
basicSetElseExpression(OclExpression newElseExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
org.eclipse.emf.common.notify.NotificationChain
basicSetThenExpression(OclExpression newThenExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
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(int featureID, java.lang.Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
OclExpression
getCondition()
Returns the value of the 'Condition' containment reference.OclExpression
getElseExpression()
Returns the value of the 'Else Expression' containment reference.OclExpression
getThenExpression()
Returns the value of the 'Then Expression' containment reference.void
setCondition(OclExpression newCondition)
Sets the value of the 'Condition
' containment reference.void
setElseExpression(OclExpression newElseExpression)
Sets the value of the 'Else Expression
' containment reference.void
setThenExpression(OclExpression newThenExpression)
Sets the value of the 'Then Expression
' containment reference.-
Methods inherited from class org.eclipse.m2m.atl.common.OCL.OclExpression
basicSetAppliedProperty, basicSetCollection, basicSetIfExp1, basicSetIfExp2, basicSetIfExp3, basicSetInitializedVariable, basicSetLetExp, basicSetLoopExp, basicSetOwningAttribute, basicSetOwningOperation, basicSetParentOperation, basicSetType, eBasicRemoveFromContainerFeature, getAppliedProperty, getCollection, getIfExp1, getIfExp2, getIfExp3, getInitializedVariable, getLetExp, getLoopExp, getOwningAttribute, getOwningOperation, getParentOperation, getType, setAppliedProperty, setCollection, setIfExp1, setIfExp2, setIfExp3, setInitializedVariable, setLetExp, setLoopExp, setOwningAttribute, setOwningOperation, setParentOperation, setType
-
Methods inherited from class org.eclipse.m2m.atl.common.ATL.LocatedElement
getCommentsAfter, getCommentsBefore, getLocation, setLocation, toString
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
thenExpression
protected OclExpression thenExpression
The cached value of the 'Then Expression
' containment reference.- See Also:
getThenExpression()
-
condition
protected OclExpression condition
The cached value of the 'Condition
' containment reference.- See Also:
getCondition()
-
elseExpression
protected OclExpression elseExpression
The cached value of the 'Else Expression
' containment reference.- See Also:
getElseExpression()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classOclExpression
-
getThenExpression
public OclExpression getThenExpression()
Returns the value of the 'Then Expression' containment reference. It is bidirectional and its opposite is 'If Exp2
'.If the meaning of the 'Then Expression' containment reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Then Expression' containment reference.
- See Also:
setThenExpression(OclExpression)
,OCLPackage.getIfExp_ThenExpression()
,OclExpression.getIfExp2()
-
basicSetThenExpression
public org.eclipse.emf.common.notify.NotificationChain basicSetThenExpression(OclExpression newThenExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setThenExpression
public void setThenExpression(OclExpression newThenExpression)
Sets the value of the 'Then Expression
' containment reference.- Parameters:
value
- the new value of the 'Then Expression' containment reference.- See Also:
getThenExpression()
-
getCondition
public OclExpression getCondition()
Returns the value of the 'Condition' containment reference. It is bidirectional and its opposite is 'If Exp1
'.If the meaning of the 'Condition' containment reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Condition' containment reference.
- See Also:
setCondition(OclExpression)
,OCLPackage.getIfExp_Condition()
,OclExpression.getIfExp1()
-
basicSetCondition
public org.eclipse.emf.common.notify.NotificationChain basicSetCondition(OclExpression newCondition, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setCondition
public void setCondition(OclExpression newCondition)
Sets the value of the 'Condition
' containment reference.- Parameters:
value
- the new value of the 'Condition' containment reference.- See Also:
getCondition()
-
getElseExpression
public OclExpression getElseExpression()
Returns the value of the 'Else Expression' containment reference. It is bidirectional and its opposite is 'If Exp3
'.If the meaning of the 'Else Expression' containment reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Else Expression' containment reference.
- See Also:
setElseExpression(OclExpression)
,OCLPackage.getIfExp_ElseExpression()
,OclExpression.getIfExp3()
-
basicSetElseExpression
public org.eclipse.emf.common.notify.NotificationChain basicSetElseExpression(OclExpression newElseExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setElseExpression
public void setElseExpression(OclExpression newElseExpression)
Sets the value of the 'Else Expression
' containment reference.- Parameters:
value
- the new value of the 'Else Expression' containment reference.- See Also:
getElseExpression()
-
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 classOclExpression
-
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 classOclExpression
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classOclExpression
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classOclExpression
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classOclExpression
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classOclExpression
-
-