View Javadoc

1   /*
2    * To change this template, choose Tools | Templates
3    * and open the template in the editor.
4    */
5   package org.kuali.rice.krms.api.repository;
6   
7   import java.util.List;
8   
9   /**
10   * Natural Language representation of a proposition
11   * 
12   * @see NaturalLanguageTree
13   */
14  public interface NaturalLanguageTreeContract {
15  
16      /**
17       * Returns the natural language representation for this node in the tree
18       * 
19       * @return the natural language representation for this node in the tree
20       */
21      String getNaturalLanguage();
22      
23      /**
24       * Returns the natural language for children of this node
25       * 
26       * @return the natural language for children of this node
27       */
28      List<? extends NaturalLanguageTreeContract> getChildren();
29  
30      
31  }