com.hammurapi.reasoning.spi.model.impl
Class RuleImpl

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 com.hammurapi.config.impl.NamedObjectDefinitionImpl
                  extended by com.hammurapi.reasoning.spi.model.impl.RuleImpl
All Implemented Interfaces:
Factory, Named, NamedObjectDefinition, ObjectDefinition, PropertySource, CommonObject, Rule, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class RuleImpl
extends NamedObjectDefinitionImpl
implements Rule

An implementation of the model object 'Rule'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
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>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  int priority
          The cached value of the 'Priority' attribute.
protected static int PRIORITY_EDEFAULT
          The default value of the 'Priority' attribute.
 
Fields inherited from class com.hammurapi.config.impl.NamedObjectDefinitionImpl
classPath, CONFIG_SCRIPT_EDEFAULT, configScript, constructor, description, DESCRIPTION_EDEFAULT, enabled, ENABLED_EDEFAULT, HOME_PAGE_EDEFAULT, homePage, id, ID_EDEFAULT, name, NAME_EDEFAULT, profile, property, roles, runtime, RUNTIME_EDEFAULT, service, source, supportedExecutionEnvironments, type, TYPE_EDEFAULT, value, VALUE_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected RuleImpl()
           
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 int getPriority()
           
 void setPriority(int newPriority)
           
 String toString()
           
 
Methods inherited from class com.hammurapi.config.impl.NamedObjectDefinitionImpl
basicSetConstructor, compile, create, create, eBaseStructuralFeatureID, eDerivedStructuralFeatureID, eInverseAdd, eInverseRemove, getClassPath, getConfigScript, getConstructor, getDescription, getHomePage, getId, getName, getProfile, getProperty, getRoles, getService, getSource, getSupportedExecutionEnvironments, getType, getValue, inject, inject, injectProperties, isEnabled, isRuntime, setConfigScript, setConstructor, setDescription, setEnabled, setHomePage, setId, setName, setRuntime, setType, setValue
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hammurapi.config.Named
getName, inject, isRuntime, setName, setRuntime
 
Methods inherited from interface com.hammurapi.config.ObjectDefinition
getConstructor, getType, getValue, setConstructor, setType, setValue
 
Methods inherited from interface com.hammurapi.config.Factory
compile, create, getConfigScript, getDescription, getHomePage, getId, getService, getSource, getSupportedExecutionEnvironments, isEnabled, setConfigScript, setDescription, setEnabled, setHomePage, setId
 
Methods inherited from interface com.hammurapi.party.CommonObject
getRoles
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface com.hammurapi.config.PropertySource
getClassPath, getProfile, getProperty, injectProperties
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

PRIORITY_EDEFAULT

protected static final int PRIORITY_EDEFAULT
The default value of the 'Priority' attribute.

See Also:
getPriority(), Constant Field Values

priority

protected int priority
The cached value of the 'Priority' attribute.

See Also:
getPriority()
Constructor Detail

RuleImpl

protected RuleImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class NamedObjectDefinitionImpl

getPriority

public int getPriority()

Specified by:
getPriority in interface Rule
Returns:
the value of the 'Priority' attribute.
See Also:
Rule.setPriority(int), ModelPackage.getRule_Priority()

setPriority

public void setPriority(int newPriority)

Specified by:
setPriority in interface Rule
Parameters:
newPriority - the new value of the 'Priority' attribute.
See Also:
Rule.getPriority()

eGet

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

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

eSet

public void eSet(int featureID,
                 Object newValue)

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public String toString()

Overrides:
toString in class NamedObjectDefinitionImpl