org.eclipse.emf.ecp.view.spi.rule.model.impl
Class LeafConditionImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.ecp.view.spi.rule.model.impl.ConditionImpl
                  extended by org.eclipse.emf.ecp.view.spi.rule.model.impl.LeafConditionImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Condition, LeafCondition

public class LeafConditionImpl
extends ConditionImpl
implements LeafCondition

An implementation of the model object 'Leaf Condition'.

The following features are implemented:

Since:
1.2

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
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
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetDomainModelReference(VDomainModelReference newDomainModelReference, 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)
           
 void eUnset(int featureID)
           
 boolean evaluate()
          Evaluates the given condition.
 boolean evaluateChangedValues(Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues)
          Evaluates the given condition.
 VDomainModelReference getDomainModelReference()
           
 Object getExpectedValue()
           
 void setDomainModelReference(VDomainModelReference newDomainModelReference)
           
 void setExpectedValue(Object newExpectedValue)
           
 String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getExpectedValue

public Object getExpectedValue()

Specified by:
getExpectedValue in interface LeafCondition
Returns:
the value of the 'Expected Value' attribute.
See Also:
LeafCondition.setExpectedValue(Object), RulePackage.getLeafCondition_ExpectedValue()

setExpectedValue

public void setExpectedValue(Object newExpectedValue)

Specified by:
setExpectedValue in interface LeafCondition
Parameters:
newExpectedValue - the new value of the 'Expected Value' attribute.
See Also:
LeafCondition.getExpectedValue()

getDomainModelReference

public VDomainModelReference getDomainModelReference()

Specified by:
getDomainModelReference in interface LeafCondition
Returns:
the value of the 'Domain Model Reference' containment reference.
See Also:
LeafCondition.setDomainModelReference(VDomainModelReference), RulePackage.getLeafCondition_DomainModelReference()

basicSetDomainModelReference

public org.eclipse.emf.common.notify.NotificationChain basicSetDomainModelReference(VDomainModelReference newDomainModelReference,
                                                                                    org.eclipse.emf.common.notify.NotificationChain msgs)


setDomainModelReference

public void setDomainModelReference(VDomainModelReference newDomainModelReference)

Specified by:
setDomainModelReference in interface LeafCondition
Parameters:
newDomainModelReference - the new value of the 'Domain Model Reference' containment reference.
See Also:
LeafCondition.getDomainModelReference()

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

evaluate

public boolean evaluate()
Evaluates the given condition.

Specified by:
evaluate in interface Condition
Returns:
true, if the condition matches, false otherwise
See Also:
Condition.evaluate()

evaluateChangedValues

public boolean evaluateChangedValues(Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues)
Evaluates the given condition.

Specified by:
evaluateChangedValues in interface Condition
Parameters:
possibleNewValues - the new value that should be compared against the expected value of the condition
Returns:
true, if the condition matches, false otherwise
See Also:
Condition.evaluateChangedValues(java.util.Map)


Copyright © 2014. All Rights Reserved.