public class IfExpImpl extends OCLExpressionImpl implements IfExp
The following features are implemented:
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
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
Modifier and Type | Field and Description |
---|---|
protected OCLExpression<org.eclipse.uml2.uml.Classifier> |
condition
The cached value of the '
Condition ' containment reference. |
protected OCLExpression<org.eclipse.uml2.uml.Classifier> |
elseExpression
The cached value of the '
Else Expression ' containment reference. |
protected OCLExpression<org.eclipse.uml2.uml.Classifier> |
thenExpression
The cached value of the '
Then Expression ' containment reference. |
END_POSITION_EDEFAULT, endPosition, START_POSITION_EDEFAULT, startPosition
name, NAME_EDEFAULT, NAME_ESETFLAG, nameExpression, OWNED_ELEMENT_ESUBSETS, QUALIFIED_NAME_EDEFAULT, VISIBILITY_EDEFAULT, VISIBILITY_EFLAG, VISIBILITY_EFLAG_DEFAULT, VISIBILITY_EFLAG_OFFSET, VISIBILITY_EFLAG_VALUES, VISIBILITY_ESETFLAG
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
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.uml2.uml.Classifier> newCondition,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetElseExpression(OCLExpression<org.eclipse.uml2.uml.Classifier> newElseExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetThenExpression(OCLExpression<org.eclipse.uml2.uml.Classifier> 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.uml2.uml.Classifier> |
getCondition() |
OCLExpression<org.eclipse.uml2.uml.Classifier> |
getElseExpression() |
OCLExpression<org.eclipse.uml2.uml.Classifier> |
getThenExpression() |
void |
setCondition(OCLExpression<org.eclipse.uml2.uml.Classifier> newCondition) |
void |
setElseExpression(OCLExpression<org.eclipse.uml2.uml.Classifier> newElseExpression) |
void |
setThenExpression(OCLExpression<org.eclipse.uml2.uml.Classifier> newThenExpression) |
getEndPosition, getStartPosition, getType, setEndPosition, setStartPosition, setType, toString
basicGetType, setType
allNamespaces, allOwningPackages, basicGetNameExpression, basicGetNamespace, basicGetOwner, basicSetNameExpression, createDependency, createNameExpression, createUsage, eInvoke, eObjectForURIFragmentSegment, eURIFragmentSegment, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getOwnedElements, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetNamespace, isSetNamespaceGen, isSetOwnedElements, isSetOwner, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
addKeyword, allOwnedElements, applyStereotype, basicGetOwnerGen, create, createEAnnotation, createOwnedComment, destroy, eAdapters, eBasicSetContainer, eNotificationRequired, eNotify, eSetDeliver, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getCacheAdapter, getKeywords, getModel, getNearestPackage, getOwnedComments, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isSetOwnerGen, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
eInverseAdd, eSetDirectResource, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
eBasicSetContainer, eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetProxyURI, eSettings
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, 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, eVirtualValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
getName, getType, setName, setType
getEndPosition, getStartPosition, setEndPosition, setStartPosition
protected OCLExpression<org.eclipse.uml2.uml.Classifier> condition
Condition
' containment reference.
getCondition()
protected OCLExpression<org.eclipse.uml2.uml.Classifier> thenExpression
Then Expression
' containment reference.
getThenExpression()
protected OCLExpression<org.eclipse.uml2.uml.Classifier> elseExpression
Else Expression
' containment reference.
getElseExpression()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class OCLExpressionImpl
public OCLExpression<org.eclipse.uml2.uml.Classifier> getCondition()
getCondition
in interface IfExp<org.eclipse.uml2.uml.Classifier>
IfExp.setCondition(OCLExpression)
,
ExpressionsPackage.getIfExp_Condition()
public org.eclipse.emf.common.notify.NotificationChain basicSetCondition(OCLExpression<org.eclipse.uml2.uml.Classifier> newCondition, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setCondition(OCLExpression<org.eclipse.uml2.uml.Classifier> newCondition)
setCondition
in interface IfExp<org.eclipse.uml2.uml.Classifier>
newCondition
- the new value of the 'Condition' containment reference.IfExp.getCondition()
public OCLExpression<org.eclipse.uml2.uml.Classifier> getThenExpression()
getThenExpression
in interface IfExp<org.eclipse.uml2.uml.Classifier>
IfExp.setThenExpression(OCLExpression)
,
ExpressionsPackage.getIfExp_ThenExpression()
public org.eclipse.emf.common.notify.NotificationChain basicSetThenExpression(OCLExpression<org.eclipse.uml2.uml.Classifier> newThenExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setThenExpression(OCLExpression<org.eclipse.uml2.uml.Classifier> newThenExpression)
setThenExpression
in interface IfExp<org.eclipse.uml2.uml.Classifier>
newThenExpression
- the new value of the 'Then Expression' containment reference.IfExp.getThenExpression()
public OCLExpression<org.eclipse.uml2.uml.Classifier> getElseExpression()
getElseExpression
in interface IfExp<org.eclipse.uml2.uml.Classifier>
IfExp.setElseExpression(OCLExpression)
,
ExpressionsPackage.getIfExp_ElseExpression()
public org.eclipse.emf.common.notify.NotificationChain basicSetElseExpression(OCLExpression<org.eclipse.uml2.uml.Classifier> newElseExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setElseExpression(OCLExpression<org.eclipse.uml2.uml.Classifier> newElseExpression)
setElseExpression
in interface IfExp<org.eclipse.uml2.uml.Classifier>
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.uml2.uml.Classifier>
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.uml2.uml.Classifier>
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.uml2.uml.internal.impl.NamedElementImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class OCLExpressionImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class OCLExpressionImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class OCLExpressionImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class OCLExpressionImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
eBaseStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID
in class OCLExpressionImpl
public int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eDerivedStructuralFeatureID
in class OCLExpressionImpl
public <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
accept
in interface Visitable
accept
in class OCLExpressionImpl