org.kuali.rice.krms.framework.engine
Class TermResolutionEngineImpl
java.lang.Object
org.kuali.rice.krms.framework.engine.TermResolutionEngineImpl
- All Implemented Interfaces:
- TermResolutionEngine
public class TermResolutionEngineImpl
- extends Object
- implements TermResolutionEngine
An implementation of TermResolutionEngine
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TermResolutionEngineImpl
public TermResolutionEngineImpl()
addTermValue
public void addTermValue(Term term,
Object value)
- Description copied from interface:
TermResolutionEngine
- Adds a fact value to the
TermResolutionEngine
's internal state
- Specified by:
addTermValue
in interface TermResolutionEngine
- Parameters:
term
- the named Termvalue
- the fact value
addTermResolver
public void addTermResolver(TermResolver<?> termResolver)
- Description copied from interface:
TermResolutionEngine
- Adds a
TermResolver
to the TermResolutionEngine
. Once added, it may
be used (unsurprisingly) by the engine to resolve Term
s.
- Specified by:
addTermResolver
in interface TermResolutionEngine
- Parameters:
termResolver
- the TermResolver
to add.
resolveTerm
public <T> T resolveTerm(Term term)
throws TermResolutionException
- Description copied from interface:
TermResolutionEngine
- Resolves a given term into a fact
- Specified by:
resolveTerm
in interface TermResolutionEngine
- Parameters:
term
- the Term
to resolve
- Returns:
- the fact value for the given
Term
- Throws:
TermResolutionException
buildTermResolutionPlan
protected List<TermResolutionEngineImpl.TermResolverKey> buildTermResolutionPlan(String termName)
- Parameters:
termName
-
- Returns:
- List<
TermResolutionEngineImpl.TermResolverKey
>
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.