public class IfExpImpl<C> extends OCLExpressionImpl<C> implements IfExp<C>
The following features are implemented:
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplorg.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| Modifier and Type | Field and Description |
|---|---|
protected OCLExpression<C> |
condition
The cached value of the '
Condition' containment reference. |
protected OCLExpression<C> |
elseExpression
The cached value of the '
Else Expression' containment reference. |
protected OCLExpression<C> |
thenExpression
The cached value of the '
Then Expression' containment reference. |
END_POSITION_EDEFAULT, endPosition, START_POSITION_EDEFAULT, startPositioneAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY| Modifier | Constructor and Description |
|---|---|
protected |
IfExpImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> |
accept(U v) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetCondition(OCLExpression<C> newCondition,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetElseExpression(OCLExpression<C> newElseExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetThenExpression(OCLExpression<C> newThenExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
checkBooleanCondition(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
boolean |
checkIfType(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
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) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
OCLExpression<C> |
getCondition() |
OCLExpression<C> |
getElseExpression() |
OCLExpression<C> |
getThenExpression() |
void |
setCondition(OCLExpression<C> newCondition) |
void |
setElseExpression(OCLExpression<C> newElseExpression) |
void |
setThenExpression(OCLExpression<C> newThenExpression) |
eBaseStructuralFeatureID, eDerivedStructuralFeatureID, getEndPosition, getName, getStartPosition, getType, setEndPosition, setName, setStartPosition, setType, toStringeAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValueseBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getType, setName, setTypegetEndPosition, getStartPosition, setEndPosition, setStartPositioneAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected OCLExpression<C> condition
Condition' containment reference.
getCondition()protected OCLExpression<C> thenExpression
Then Expression' containment reference.
getThenExpression()protected OCLExpression<C> elseExpression
Else Expression' containment reference.
getElseExpression()protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class OCLExpressionImpl<C>public OCLExpression<C> getCondition()
getCondition in interface IfExp<C>IfExp.setCondition(OCLExpression),
ExpressionsPackage.getIfExp_Condition()public org.eclipse.emf.common.notify.NotificationChain basicSetCondition(OCLExpression<C> newCondition, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setCondition(OCLExpression<C> newCondition)
setCondition in interface IfExp<C>newCondition - the new value of the 'Condition' containment reference.IfExp.getCondition()public OCLExpression<C> getThenExpression()
getThenExpression in interface IfExp<C>IfExp.setThenExpression(OCLExpression),
ExpressionsPackage.getIfExp_ThenExpression()public org.eclipse.emf.common.notify.NotificationChain basicSetThenExpression(OCLExpression<C> newThenExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setThenExpression(OCLExpression<C> newThenExpression)
setThenExpression in interface IfExp<C>newThenExpression - the new value of the 'Then Expression' containment reference.IfExp.getThenExpression()public OCLExpression<C> getElseExpression()
getElseExpression in interface IfExp<C>IfExp.setElseExpression(OCLExpression),
ExpressionsPackage.getIfExp_ElseExpression()public org.eclipse.emf.common.notify.NotificationChain basicSetElseExpression(OCLExpression<C> newElseExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setElseExpression(OCLExpression<C> newElseExpression)
setElseExpression in interface IfExp<C>newElseExpression - the new value of the 'Else Expression' containment reference.IfExp.getElseExpression()public boolean checkBooleanCondition(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
checkBooleanCondition in interface IfExp<C>diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
public boolean checkIfType(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
checkIfType in interface IfExp<C>diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class OCLExpressionImpl<C>public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class OCLExpressionImpl<C>public void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class OCLExpressionImpl<C>public boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class OCLExpressionImpl<C>public <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
OCLExpressionImplaccept in interface Visitableaccept in class OCLExpressionImpl<C>