org.kuali.rice.krms.util
Class NaturalLanguageHelper

java.lang.Object
  extended by org.kuali.rice.krms.util.NaturalLanguageHelper

public class NaturalLanguageHelper
extends Object

Created with IntelliJ IDEA. User: SW Date: 2013/04/08 Time: 11:41 AM To change this template use File | Settings | File Templates.


Nested Class Summary
protected  class NaturalLanguageHelper.TreeIterator
          Put the natural language descriptions in a queue and retrieve them in the same order as the propostion tree.
 
Constructor Summary
NaturalLanguageHelper()
           
 
Method Summary
 RuleManagementService getRuleManagementService()
           
 void setNaturalLanguageForUsage(PropositionEditor proposition, String usageName)
          This method should set the natural language only for the given proposition.
 void setNaturalLanguageTreeForUsage(PropositionEditor proposition, String usageName)
          This method sets the natural language descriptions for the given proposition and all its child propositions as well.
 void setRuleManagementService(RuleManagementService ruleManagementService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NaturalLanguageHelper

public NaturalLanguageHelper()
Method Detail

setNaturalLanguageForUsage

public void setNaturalLanguageForUsage(PropositionEditor proposition,
                                       String usageName)
This method should set the natural language only for the given proposition. It does not do a recursive call through the tree structure.

Parameters:
proposition -
usageName -

setNaturalLanguageTreeForUsage

public void setNaturalLanguageTreeForUsage(PropositionEditor proposition,
                                           String usageName)
This method sets the natural language descriptions for the given proposition and all its child propositions as well.

Parameters:
proposition -
usageName -

getRuleManagementService

public RuleManagementService getRuleManagementService()

setRuleManagementService

public void setRuleManagementService(RuleManagementService ruleManagementService)


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