com.hammurapi.reasoning.spi.model
Interface RuleSet

All Superinterfaces:
CommonObject, org.eclipse.emf.ecore.EObject, Factory, Named, NamedObjectDefinition, org.eclipse.emf.common.notify.Notifier, ObjectDefinition, PropertySource
All Known Implementing Classes:
RuleSetImpl

public interface RuleSet
extends NamedObjectDefinition

A representation of the model object 'Rule Set'. Ruleset is a container of rule definitions.

The following features are supported:

See Also:
ModelPackage.getRuleSet()

Method Summary
 org.eclipse.emf.common.util.EList<RuleSet> getBase()
          Returns the value of the 'Base' reference list.
 org.eclipse.emf.common.util.EList<Rule> getRule()
          Returns the value of the 'Rule' containment reference list.
 
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
 

Method Detail

getRule

org.eclipse.emf.common.util.EList<Rule> getRule()
Returns the value of the 'Rule' containment reference list. The list contents are of type Rule. Rule set contains zero or more rule classes.

Returns:
the value of the 'Rule' containment reference list.
See Also:
ModelPackage.getRuleSet_Rule()

getBase

org.eclipse.emf.common.util.EList<RuleSet> getBase()
Returns the value of the 'Base' reference list. The list contents are of type RuleSet. Rule set can extend one or more other rule sets. In the case of extension, rules from the base rule sets are included into this rule set. Ruleset level configuration of base rule sets is ignored.

Returns:
the value of the 'Base' reference list.
See Also:
ModelPackage.getRuleSet_Base()