org.kuali.ole.ingest.resolver
Class AbstractProfileTermResolver

java.lang.Object
  extended by org.kuali.ole.ingest.resolver.AbstractProfileTermResolver
All Implemented Interfaces:
org.kuali.rice.krms.api.engine.TermResolver<Object>
Direct Known Subclasses:
ExistingTermResolver, IncomingTermResolver

public abstract class AbstractProfileTermResolver
extends Object
implements org.kuali.rice.krms.api.engine.TermResolver<Object>

Created by IntelliJ IDEA. User: pvsubrah Date: 3/28/12 Time: 3:09 PM To change this template use File | Settings | File Templates.


Constructor Summary
AbstractProfileTermResolver()
           
 
Method Summary
 int getCost()
          Gets the cost attribute value
 Set<String> getParameterNames()
          This method gets the empty immutable set of parameterNames
 Set<String> getPrerequisites()
          This method gets the unique prerequisites based on OleConstant value.
 Object resolve(Map<String,Object> resolvedPrereqs, Map<String,String> parameters)
          Returns the resolved prerequisites as profileTerm object
protected abstract  Object resolveFromProfileTerm(ProfileTerm profileTerm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.krms.api.engine.TermResolver
getOutput
 

Constructor Detail

AbstractProfileTermResolver

public AbstractProfileTermResolver()
Method Detail

getPrerequisites

public Set<String> getPrerequisites()
This method gets the unique prerequisites based on OleConstant value.

Specified by:
getPrerequisites in interface org.kuali.rice.krms.api.engine.TermResolver<Object>
Returns:
prerequisite.

getParameterNames

public Set<String> getParameterNames()
This method gets the empty immutable set of parameterNames

Specified by:
getParameterNames in interface org.kuali.rice.krms.api.engine.TermResolver<Object>
Returns:
parameterNames.

getCost

public int getCost()
Gets the cost attribute value

Specified by:
getCost in interface org.kuali.rice.krms.api.engine.TermResolver<Object>
Returns:
1.

resolve

public Object resolve(Map<String,Object> resolvedPrereqs,
                      Map<String,String> parameters)
               throws org.kuali.rice.krms.api.engine.TermResolutionException
Returns the resolved prerequisites as profileTerm object

Specified by:
resolve in interface org.kuali.rice.krms.api.engine.TermResolver<Object>
Parameters:
resolvedPrereqs -
parameters -
Returns:
profileTerm
Throws:
org.kuali.rice.krms.api.engine.TermResolutionException

resolveFromProfileTerm

protected abstract Object resolveFromProfileTerm(ProfileTerm profileTerm)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.