public class IterateConditionImpl extends ConditionImpl implements IterateCondition
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 Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
IF_EMPTY_EDEFAULT
The default value of the '
If Empty' attribute. |
protected boolean |
ifEmpty
The cached value of the '
If Empty' attribute. |
protected Condition |
itemCondition
The cached value of the '
Item Condition' containment reference. |
protected VDomainModelReference |
itemReference
The cached value of the '
Item Reference' containment reference. |
protected Quantifier |
quantifier
The cached value of the '
Quantifier' attribute. |
protected static Quantifier |
QUANTIFIER_EDEFAULT
The default value of the '
Quantifier' attribute. |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY| Modifier | Constructor and Description |
|---|---|
protected |
IterateConditionImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetItemCondition(Condition newItemCondition,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetItemReference(VDomainModelReference newItemReference,
org.eclipse.emf.common.notify.NotificationChain msgs) |
protected boolean |
doEvaluate(Collection<? extends org.eclipse.emf.ecore.EObject> subjects)
Evaluates me by iteration of the given
subjects. |
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,
Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
boolean |
evaluate(org.eclipse.emf.ecore.EObject domainModel)
Evaluates the given condition.
|
boolean |
evaluateChangedValues(org.eclipse.emf.ecore.EObject domainModel,
Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues)
Evaluates the given condition.
|
Condition |
getItemCondition() |
VDomainModelReference |
getItemReference() |
Quantifier |
getQuantifier() |
boolean |
isIfEmpty() |
void |
setIfEmpty(boolean newIfEmpty) |
void |
setItemCondition(Condition newItemCondition) |
void |
setItemReference(VDomainModelReference newItemReference) |
void |
setQuantifier(Quantifier newQuantifier) |
String |
toString() |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, 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, waiteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected static final Quantifier QUANTIFIER_EDEFAULT
Quantifier' attribute.
getQuantifier()protected Quantifier quantifier
Quantifier' attribute.
getQuantifier()protected static final boolean IF_EMPTY_EDEFAULT
If Empty' attribute.
isIfEmpty(),
Constant Field Valuesprotected boolean ifEmpty
If Empty' attribute.
isIfEmpty()protected VDomainModelReference itemReference
Item Reference' containment reference.
getItemReference()protected Condition itemCondition
Item Condition' containment reference.
getItemCondition()protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class ConditionImplpublic Quantifier getQuantifier()
getQuantifier in interface IterateConditionQuantifier,
IterateCondition.setQuantifier(Quantifier),
RulePackage.getIterateCondition_Quantifier()public void setQuantifier(Quantifier newQuantifier)
setQuantifier in interface IterateConditionnewQuantifier - the new value of the 'Quantifier' attribute.Quantifier,
IterateCondition.getQuantifier()public boolean isIfEmpty()
isIfEmpty in interface IterateConditionIterateCondition.setIfEmpty(boolean),
RulePackage.getIterateCondition_IfEmpty()public void setIfEmpty(boolean newIfEmpty)
setIfEmpty in interface IterateConditionnewIfEmpty - the new value of the 'If Empty' attribute.IterateCondition.isIfEmpty()public VDomainModelReference getItemReference()
getItemReference in interface IterateConditionIterateCondition.setItemReference(VDomainModelReference),
RulePackage.getIterateCondition_ItemReference()public org.eclipse.emf.common.notify.NotificationChain basicSetItemReference(VDomainModelReference newItemReference, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setItemReference(VDomainModelReference newItemReference)
setItemReference in interface IterateConditionnewItemReference - the new value of the 'Item Reference' containment reference.IterateCondition.getItemReference()public Condition getItemCondition()
getItemCondition in interface IterateConditionIterateCondition.setItemCondition(Condition),
RulePackage.getIterateCondition_ItemCondition()public org.eclipse.emf.common.notify.NotificationChain basicSetItemCondition(Condition newItemCondition, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setItemCondition(Condition newItemCondition)
setItemCondition in interface IterateConditionnewItemCondition - the new value of the 'Item Condition' containment reference.IterateCondition.getItemCondition()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 Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eSet(int featureID,
Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic String toString()
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean evaluate(org.eclipse.emf.ecore.EObject domainModel)
Conditionprotected boolean doEvaluate(Collection<? extends org.eclipse.emf.ecore.EObject> subjects)
subjects.subjects - the objects over which to iterate my conditionpublic boolean evaluateChangedValues(org.eclipse.emf.ecore.EObject domainModel,
Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues)
ConditionevaluateChangedValues in interface ConditiondomainModel - The root domain object of this condition.possibleNewValues - the new value that should be compared against the expected value of the conditiontrue, if the condition matches, false otherwiseCopyright © 2020. All rights reserved.