public class IfExpImpl extends OCLExpressionImpl implements IfExp
The following features are implemented:
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamicorg.eclipse.emf.ecore.impl.MinimalEObjectImpl.Containerorg.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<org.eclipse.emf.ecore.EClassifier> |
condition
The cached value of the '
Condition' containment reference. |
protected OCLExpression<org.eclipse.emf.ecore.EClassifier> |
elseExpression
The cached value of the '
Else Expression' containment reference. |
protected OCLExpression<org.eclipse.emf.ecore.EClassifier> |
thenExpression
The cached value of the '
Then Expression' containment reference. |
END_POSITION_EDEFAULT, endPosition, START_POSITION_EDEFAULT, startPositioneGenericType, eType, LOWER_BOUND_EDEFAULT, lowerBound, MANY_EDEFAULT, ORDERED_EDEFAULT, ORDERED_EFLAG, REQUIRED_EDEFAULT, UNIQUE_EDEFAULT, UNIQUE_EFLAG, UPPER_BOUND_EDEFAULT, upperBoundeAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAGEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETUNBOUNDED_MULTIPLICITY, UNSPECIFIED_MULTIPLICITY| 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<org.eclipse.emf.ecore.EClassifier> newCondition,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetElseExpression(OCLExpression<org.eclipse.emf.ecore.EClassifier> newElseExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetThenExpression(OCLExpression<org.eclipse.emf.ecore.EClassifier> 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) |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass) |
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<org.eclipse.emf.ecore.EClassifier> |
getCondition() |
OCLExpression<org.eclipse.emf.ecore.EClassifier> |
getElseExpression() |
OCLExpression<org.eclipse.emf.ecore.EClassifier> |
getThenExpression() |
void |
setCondition(OCLExpression<org.eclipse.emf.ecore.EClassifier> newCondition) |
void |
setElseExpression(OCLExpression<org.eclipse.emf.ecore.EClassifier> newElseExpression) |
void |
setThenExpression(OCLExpression<org.eclipse.emf.ecore.EClassifier> newThenExpression) |
java.lang.String |
toString() |
getEndPosition, getStartPosition, getType, setEndPosition, setStartPosition, setTypebasicGetEType, basicSetEGenericType, basicUnsetEGenericType, freeze, getEGenericType, getEType, getLowerBound, getUpperBound, isMany, isOrdered, isRequired, isSetEGenericType, isSetEType, isUnique, setEGenericType, setEGenericType, setEType, setEType, setLowerBound, setOrdered, setUnique, setUpperBound, unsetEGenericType, unsetETypeeContents, eCrossReferences, getName, getNameGen, setNameeInverseAdd, eInvoke, eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozeneBasicSetContainer, eInternalContainerdynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettingseAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, 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, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValueseNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEGenericType, getEType, getLowerBound, getUpperBound, isMany, isOrdered, isRequired, isUnique, setEGenericType, setEType, setLowerBound, setOrdered, setUnique, setUpperBoundgetEAnnotation, getEAnnotationseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivergetName, getType, setName, setTypegetEndPosition, getStartPosition, setEndPosition, setStartPositionprotected OCLExpression<org.eclipse.emf.ecore.EClassifier> condition
Condition' containment reference.
getCondition()protected OCLExpression<org.eclipse.emf.ecore.EClassifier> thenExpression
Then Expression' containment reference.
getThenExpression()protected OCLExpression<org.eclipse.emf.ecore.EClassifier> elseExpression
Else Expression' containment reference.
getElseExpression()protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class OCLExpressionImplpublic OCLExpression<org.eclipse.emf.ecore.EClassifier> getCondition()
getCondition in interface IfExp<org.eclipse.emf.ecore.EClassifier>IfExp.setCondition(OCLExpression),
ExpressionsPackage.getIfExp_Condition()public org.eclipse.emf.common.notify.NotificationChain basicSetCondition(OCLExpression<org.eclipse.emf.ecore.EClassifier> newCondition, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setCondition(OCLExpression<org.eclipse.emf.ecore.EClassifier> newCondition)
setCondition in interface IfExp<org.eclipse.emf.ecore.EClassifier>newCondition - the new value of the 'Condition' containment reference.IfExp.getCondition()public OCLExpression<org.eclipse.emf.ecore.EClassifier> getThenExpression()
getThenExpression in interface IfExp<org.eclipse.emf.ecore.EClassifier>IfExp.setThenExpression(OCLExpression),
ExpressionsPackage.getIfExp_ThenExpression()public org.eclipse.emf.common.notify.NotificationChain basicSetThenExpression(OCLExpression<org.eclipse.emf.ecore.EClassifier> newThenExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setThenExpression(OCLExpression<org.eclipse.emf.ecore.EClassifier> newThenExpression)
setThenExpression in interface IfExp<org.eclipse.emf.ecore.EClassifier>newThenExpression - the new value of the 'Then Expression' containment reference.IfExp.getThenExpression()public OCLExpression<org.eclipse.emf.ecore.EClassifier> getElseExpression()
getElseExpression in interface IfExp<org.eclipse.emf.ecore.EClassifier>IfExp.setElseExpression(OCLExpression),
ExpressionsPackage.getIfExp_ElseExpression()public org.eclipse.emf.common.notify.NotificationChain basicSetElseExpression(OCLExpression<org.eclipse.emf.ecore.EClassifier> newElseExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setElseExpression(OCLExpression<org.eclipse.emf.ecore.EClassifier> newElseExpression)
setElseExpression in interface IfExp<org.eclipse.emf.ecore.EClassifier>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<org.eclipse.emf.ecore.EClassifier>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<org.eclipse.emf.ecore.EClassifier>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.ETypedElementImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class OCLExpressionImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class OCLExpressionImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class OCLExpressionImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class OCLExpressionImplpublic int eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
eBaseStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObjecteBaseStructuralFeatureID in class OCLExpressionImplpublic int eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObjecteDerivedStructuralFeatureID in class OCLExpressionImplpublic java.lang.String toString()
toString in class OCLExpressionImplpublic <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
OCLExpressionImplaccept in interface Visitableaccept in class OCLExpressionImpl