org.deduced
Class RuleExecutionContextImplementation

java.lang.Object
  extended by org.deduced.RuleExecutionContextImplementation
All Implemented Interfaces:
RuleExecutionContext

public class RuleExecutionContextImplementation
extends java.lang.Object
implements RuleExecutionContext

Default implementation of the rule execution context

Author:
Steve McDuff

Field Summary
private  ModelFactory modelFactory
          model factory being used
 
Constructor Summary
RuleExecutionContextImplementation()
          RuleExecutionContextImplementation constructor
 
Method Summary
 ModelFactory getModelFactory()
          (non-Javadoc)
 void setModelFactory(ModelFactory setModelFactory)
          set Model Factory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelFactory

private ModelFactory modelFactory
model factory being used

Constructor Detail

RuleExecutionContextImplementation

public RuleExecutionContextImplementation()
RuleExecutionContextImplementation constructor

Method Detail

getModelFactory

public ModelFactory getModelFactory()
(non-Javadoc)

Specified by:
getModelFactory in interface RuleExecutionContext
Returns:
the model factory used by the collection on which the rule is being executed. This is useful for rules that want to create objects as their output.
See Also:
RuleExecutionContext.getModelFactory()

setModelFactory

public void setModelFactory(ModelFactory setModelFactory)
set Model Factory

Parameters:
setModelFactory - the new model factory to use