001/* 002 * To change this template, choose Tools | Templates 003 * and open the template in the editor. 004 */ 005package org.kuali.rice.krms.api.repository; 006 007import java.util.List; 008 009/** 010 * Natural Language representation of a proposition 011 * 012 * @see NaturalLanguageTree 013 */ 014public interface NaturalLanguageTreeContract { 015 016 /** 017 * Returns the natural language representation for this node in the tree 018 * 019 * @return the natural language representation for this node in the tree 020 */ 021 String getNaturalLanguage(); 022 023 /** 024 * Returns the natural language for children of this node 025 * 026 * @return the natural language for children of this node 027 */ 028 List<? extends NaturalLanguageTreeContract> getChildren(); 029 030 031}