org.kuali.student.r2.lum.statement.config.context
Class BasicContextImpl
java.lang.Object
org.kuali.student.r1.core.statement.naturallanguage.AbstractContext<ReqComponentInfo>
org.kuali.student.r2.lum.statement.config.context.BasicContextImpl
- All Implemented Interfaces:
- Context<ReqComponentInfo>
- Direct Known Subclasses:
- AtpContextImpl, CluContextImpl, GpaContextImpl, LrcContextImpl, OrganizationContextImpl, PersonContextImpl
public class BasicContextImpl
- extends AbstractContext<ReqComponentInfo>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NL_HELPER_TOKEN
public static final String NL_HELPER_TOKEN
NLHelper
token (key) references a static natural language
helper class for use in templates.
e.g. '$NLHelper.getProperGrammer($intValue, "course", "courses")'
- See Also:
- Constant Field Values
OPERATOR_TOKEN
public static final String OPERATOR_TOKEN
- Relational operator token.
- See Also:
- Constant Field Values
INTEGER_VALUE_TOKEN
public static final String INTEGER_VALUE_TOKEN
- An integer value token.
- See Also:
- Constant Field Values
BasicContextImpl
public BasicContextImpl()
- Constructor.
createContextMap
public Map<String,Object> createContextMap(ReqComponentInfo reqComponent,
ContextInfo contextInfo)
throws OperationFailedException
- Creates the context map (template data) for the requirement component.
Also, adds the field token map to the context map.
- Specified by:
createContextMap
in interface Context<ReqComponentInfo>
- Overrides:
createContextMap
in class AbstractContext<ReqComponentInfo>
- Parameters:
reqComponent
- Requirement componentcontextInfo
-
- Throws:
OperationFailedException
- Creating context map fails
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.