public class LeafConditionImpl extends ConditionImpl implements LeafCondition
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 CompareType |
COMPARE_TYPE_EDEFAULT
The default value of the '
Compare Type' attribute. |
protected CompareType |
compareType
The cached value of the '
Compare Type' attribute. |
protected VDomainModelReference |
domainModelReference
The cached value of the '
Domain Model Reference' containment
reference. |
protected static Object |
EXPECTED_VALUE_EDEFAULT
The default value of the '
Expected Value' attribute. |
protected Object |
expectedValue
The cached value of the '
Expected Value' attribute. |
protected VDomainModelReference |
valueDomainModelReference
The cached value of the '
Value Domain Model Reference'
containment reference. |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY| Modifier | Constructor and Description |
|---|---|
protected |
LeafConditionImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetDomainModelReference(VDomainModelReference newDomainModelReference,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetValueDomainModelReference(VDomainModelReference newValueDomainModelReference,
org.eclipse.emf.common.notify.NotificationChain msgs) |
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.
|
CompareType |
getCompareType() |
VDomainModelReference |
getDomainModelReference() |
Object |
getExpectedValue() |
VDomainModelReference |
getValueDomainModelReference() |
void |
setCompareType(CompareType newCompareType) |
void |
setDomainModelReference(VDomainModelReference newDomainModelReference) |
void |
setExpectedValue(Object newExpectedValue) |
void |
setValueDomainModelReference(VDomainModelReference newValueDomainModelReference) |
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 Object EXPECTED_VALUE_EDEFAULT
Expected Value' attribute.
getExpectedValue()protected Object expectedValue
Expected Value' attribute.
getExpectedValue()protected VDomainModelReference domainModelReference
Domain Model Reference' containment
reference.
getDomainModelReference()protected VDomainModelReference valueDomainModelReference
Value Domain Model Reference'
containment reference.
getValueDomainModelReference()protected static final CompareType COMPARE_TYPE_EDEFAULT
Compare Type' attribute.
getCompareType()protected CompareType compareType
Compare Type' attribute.
getCompareType()protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class ConditionImplpublic Object getExpectedValue()
getExpectedValue in interface LeafConditionLeafCondition.setExpectedValue(Object),
RulePackage.getLeafCondition_ExpectedValue()public void setExpectedValue(Object newExpectedValue)
setExpectedValue in interface LeafConditionnewExpectedValue - the new value of the 'Expected Value' attribute.LeafCondition.getExpectedValue()public VDomainModelReference getDomainModelReference()
getDomainModelReference in interface LeafConditionLeafCondition.setDomainModelReference(VDomainModelReference),
RulePackage.getLeafCondition_DomainModelReference()public org.eclipse.emf.common.notify.NotificationChain basicSetDomainModelReference(VDomainModelReference newDomainModelReference, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setDomainModelReference(VDomainModelReference newDomainModelReference)
setDomainModelReference in interface LeafConditionnewDomainModelReference - the new value of the 'Domain Model Reference' containment reference.LeafCondition.getDomainModelReference()public VDomainModelReference getValueDomainModelReference()
getValueDomainModelReference in interface LeafConditionLeafCondition.setValueDomainModelReference(VDomainModelReference),
RulePackage.getLeafCondition_ValueDomainModelReference()public org.eclipse.emf.common.notify.NotificationChain basicSetValueDomainModelReference(VDomainModelReference newValueDomainModelReference, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setValueDomainModelReference(VDomainModelReference newValueDomainModelReference)
setValueDomainModelReference in interface LeafConditionnewValueDomainModelReference - the new value of the 'Value Domain Model Reference' containment reference.LeafCondition.getValueDomainModelReference()public CompareType getCompareType()
getCompareType in interface LeafConditionCompareType,
LeafCondition.setCompareType(CompareType),
RulePackage.getLeafCondition_CompareType()public void setCompareType(CompareType newCompareType)
setCompareType in interface LeafConditionnewCompareType - the new value of the 'Compare Type' attribute.CompareType,
LeafCondition.getCompareType()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)
evaluate in interface ConditiondomainModel - The root domain object of this condition.true, if the condition matches, false otherwiseCondition.evaluate(org.eclipse.emf.ecore.EObject)public boolean evaluateChangedValues(org.eclipse.emf.ecore.EObject domainModel,
Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues)
evaluateChangedValues 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 otherwiseCondition.evaluateChangedValues(org.eclipse.emf.ecore.EObject,
java.util.Map)Copyright © 2019. All rights reserved.