org.kuali.student.krms.naturallanguage.config.context
Class LrcContextImpl

java.lang.Object
  extended by org.kuali.student.r2.core.krms.naturallanguage.AbstractContext
      extended by org.kuali.student.krms.naturallanguage.config.context.BasicContextImpl
          extended by org.kuali.student.krms.naturallanguage.config.context.LrcContextImpl
All Implemented Interfaces:
Context

public class LrcContextImpl
extends BasicContextImpl

This class creates the template context for grade condition type.


Field Summary
static String GRADE_TOKEN
          Total credits template token
static String GRADE_TYPE_TOKEN
           
 
Fields inherited from class org.kuali.student.krms.naturallanguage.config.context.BasicContextImpl
FREE_TEXT_TOKEN, NL_HELPER_TOKEN
 
Fields inherited from class org.kuali.student.r2.core.krms.naturallanguage.AbstractContext
FIELDS_TOKEN
 
Constructor Summary
LrcContextImpl()
           
 
Method Summary
 Map<String,Object> createContextMap(Map<String,Object> parameters, ContextInfo contextInfo)
          Creates the context map (template data) for the requirement component.
 TypeService getTypeService()
           
 void setLrcService(LRCService lrcService)
           
 void setTypeService(TypeService typeService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GRADE_TOKEN

public static final String GRADE_TOKEN
Total credits template token

See Also:
Constant Field Values

GRADE_TYPE_TOKEN

public static final String GRADE_TYPE_TOKEN
See Also:
Constant Field Values
Constructor Detail

LrcContextImpl

public LrcContextImpl()
Method Detail

setLrcService

public void setLrcService(LRCService lrcService)

getTypeService

public TypeService getTypeService()

setTypeService

public void setTypeService(TypeService typeService)

createContextMap

public Map<String,Object> createContextMap(Map<String,Object> parameters,
                                           ContextInfo contextInfo)
                                    throws OperationFailedException
Creates the context map (template data) for the requirement component.

Specified by:
createContextMap in interface Context
Overrides:
createContextMap in class BasicContextImpl
Parameters:
parameters -
Throws:
OperationFailedException - Creating context map fails


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