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.EPropertiesHolderImpl
org.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, eSetProxyURI
eAddVirtualValue, 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, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected 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 ConditionImpl
public Quantifier getQuantifier()
getQuantifier
in interface IterateCondition
Quantifier
,
IterateCondition.setQuantifier(Quantifier)
,
RulePackage.getIterateCondition_Quantifier()
public void setQuantifier(Quantifier newQuantifier)
setQuantifier
in interface IterateCondition
newQuantifier
- the new value of the 'Quantifier' attribute.Quantifier
,
IterateCondition.getQuantifier()
public boolean isIfEmpty()
isIfEmpty
in interface IterateCondition
IterateCondition.setIfEmpty(boolean)
,
RulePackage.getIterateCondition_IfEmpty()
public void setIfEmpty(boolean newIfEmpty)
setIfEmpty
in interface IterateCondition
newIfEmpty
- the new value of the 'If Empty' attribute.IterateCondition.isIfEmpty()
public VDomainModelReference getItemReference()
getItemReference
in interface IterateCondition
IterateCondition.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 IterateCondition
newItemReference
- the new value of the 'Item Reference' containment reference.IterateCondition.getItemReference()
public Condition getItemCondition()
getItemCondition
in interface IterateCondition
IterateCondition.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 IterateCondition
newItemCondition
- 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.BasicEObjectImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean evaluate(org.eclipse.emf.ecore.EObject domainModel)
Condition
protected boolean doEvaluate(Collection<? extends org.eclipse.emf.ecore.EObject> subjects)
subjects
.subjects
- the objects over which to iterate my condition
public boolean evaluateChangedValues(org.eclipse.emf.ecore.EObject domainModel, Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues)
Condition
evaluateChangedValues
in interface Condition
domainModel
- 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 © 2019. All rights reserved.