org.kuali.student.r2.lum.statement.config.context
Class LrcContextImpl

java.lang.Object
  extended by org.kuali.student.r1.core.statement.naturallanguage.AbstractContext<ReqComponentInfo>
      extended by org.kuali.student.r2.lum.statement.config.context.BasicContextImpl
          extended by org.kuali.student.r2.lum.statement.config.context.LrcContextImpl
All Implemented Interfaces:
Context<ReqComponentInfo>

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.r2.lum.statement.config.context.BasicContextImpl
INTEGER_VALUE_TOKEN, NL_HELPER_TOKEN, OPERATOR_TOKEN
 
Fields inherited from class org.kuali.student.r1.core.statement.naturallanguage.AbstractContext
FIELDS_TOKEN
 
Constructor Summary
LrcContextImpl()
           
 
Method Summary
 Map<String,Object> createContextMap(ReqComponentInfo reqComponent, ContextInfo contextInfo)
          Creates the context map (template data) for the requirement component.
 void setLrcService(LrcService lrcService)
           
 
Methods inherited from class org.kuali.student.r1.core.statement.naturallanguage.AbstractContext
getReqComponentFieldMap, getReqComponentFieldValue
 
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)

createContextMap

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

Specified by:
createContextMap in interface Context<ReqComponentInfo>
Overrides:
createContextMap in class BasicContextImpl
Parameters:
reqComponent - Requirement component
Throws:
OperationFailedException - Creating context map fails


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