org.kuali.student.lum.statement.config.context
Class BasicContextImpl
java.lang.Object
org.kuali.student.core.statement.naturallanguage.AbstractContext<ReqComponentInfo>
org.kuali.student.lum.statement.config.context.BasicContextImpl
- All Implemented Interfaces:
- Context<ReqComponentInfo>
- Direct Known Subclasses:
- AtpContextImpl, GpaContextImpl, LrcContextImpl, LuContextImpl, 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)
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 component
- Throws:
OperationFailedException
- Creating context map fails
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.