org.kuali.student.lum.statement.config.context
Class LrcContextImpl
java.lang.Object
org.kuali.student.core.statement.naturallanguage.AbstractContext<ReqComponentInfo>
org.kuali.student.lum.statement.config.context.BasicContextImpl
org.kuali.student.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lrcService
private LrcService lrcService
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
LrcContextImpl
public LrcContextImpl()
setLrcService
public void setLrcService(LrcService lrcService)
getResultComponentByResultComponentId
private ResultComponentInfo getResultComponentByResultComponentId(String resultComponentId)
throws OperationFailedException
- Throws:
OperationFailedException
getResultValue
private String getResultValue(ResultComponentInfo resultComponent,
String resultValue)
throws OperationFailedException
- Throws:
OperationFailedException
getResultComponentByResultValueId
private ResultComponentInfo getResultComponentByResultValueId(String resultValueId)
throws OperationFailedException
- Throws:
OperationFailedException
createContextMap
public Map<String,Object> createContextMap(ReqComponentInfo reqComponent)
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 © 2010 The Kuali Foundation. All rights reserved.