| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krms.impl.repository.language.PropositionNaturalLanguageTemplater
public class PropositionNaturalLanguageTemplater
This class translates requirement components into a specific natural language. This class is not thread safe.
| Field Summary | |
|---|---|
| static String | CONSTANT_VALUE_TOKENAn integer value token. | 
| static String | OPERATOR_TOKENRelational operator token. | 
| Constructor Summary | |
|---|---|
| PropositionNaturalLanguageTemplater()Constructs a new proposition natural language templater. | |
| Method Summary | |
|---|---|
|  void | setContextRegistry(ContextRegistry<Context> contextRegistry)Sets the template context registry. | 
|  void | setKrmsTypeRepositoryService(KrmsTypeRepositoryService krmsTypeRepositoryService) | 
|  String | translate(NaturalLanguageTemplate naturalLanguageTemplate,
                   Map<String,Object> parametersMap) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final String OPERATOR_TOKEN
public static final String CONSTANT_VALUE_TOKEN
| Constructor Detail | 
|---|
public PropositionNaturalLanguageTemplater()
| Method Detail | 
|---|
public void setContextRegistry(ContextRegistry<Context> contextRegistry)
contextRegistry - Template context registry
public String translate(NaturalLanguageTemplate naturalLanguageTemplate,
                        Map<String,Object> parametersMap)
translate in interface NaturalLanguageTemplaterContractpublic void setKrmsTypeRepositoryService(KrmsTypeRepositoryService krmsTypeRepositoryService)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||