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.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 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, 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 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 ConditionImpl
public Object getExpectedValue()
getExpectedValue
in interface LeafCondition
LeafCondition.setExpectedValue(Object)
,
RulePackage.getLeafCondition_ExpectedValue()
public void setExpectedValue(Object newExpectedValue)
setExpectedValue
in interface LeafCondition
newExpectedValue
- the new value of the 'Expected Value' attribute.LeafCondition.getExpectedValue()
public VDomainModelReference getDomainModelReference()
getDomainModelReference
in interface LeafCondition
LeafCondition.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 LeafCondition
newDomainModelReference
- the new value of the 'Domain Model Reference' containment reference.LeafCondition.getDomainModelReference()
public VDomainModelReference getValueDomainModelReference()
getValueDomainModelReference
in interface LeafCondition
LeafCondition.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 LeafCondition
newValueDomainModelReference
- the new value of the 'Value Domain Model Reference' containment reference.LeafCondition.getValueDomainModelReference()
public CompareType getCompareType()
getCompareType
in interface LeafCondition
CompareType
,
LeafCondition.setCompareType(CompareType)
,
RulePackage.getLeafCondition_CompareType()
public void setCompareType(CompareType newCompareType)
setCompareType
in interface LeafCondition
newCompareType
- 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.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)
evaluate
in interface Condition
domainModel
- 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 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
otherwiseCondition.evaluateChangedValues(org.eclipse.emf.ecore.EObject,
java.util.Map)
Copyright © 2019. All rights reserved.