org.kuali.rice.krms.api.repository
Class NaturalLanguageTree

java.lang.Object
  extended by org.kuali.rice.krms.api.repository.NaturalLanguageTree
All Implemented Interfaces:
NaturalLanguageTreeContract

public class NaturalLanguageTree
extends Object
implements NaturalLanguageTreeContract

Concrete model object implementation of a natural language tree immutable. Instances of natural language tree can be (un)marshalled to and from XML.

See Also:
NaturalLanguageTreeContract

Nested Class Summary
static class NaturalLanguageTree.Builder
          This builder is used to construct instances of KRMS Repository Agenda.
static class NaturalLanguageTree.Cache
           
static class NaturalLanguageTree.Constants
          Defines some constants used on this class.
static class NaturalLanguageTree.Elements
          A private class which exposes constants which define the XML element names to use when this object is marshalled to XML.
 
Constructor Summary
NaturalLanguageTree()
          This constructor should never be called.
 
Method Summary
 List<NaturalLanguageTree> getChildren()
          Returns the natural language for children of this node
 String getNaturalLanguage()
          Returns the natural language representation for this node in the tree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NaturalLanguageTree

public NaturalLanguageTree()
This constructor should never be called. It is only present for use during JAXB unmarshalling.

Method Detail

getNaturalLanguage

public String getNaturalLanguage()
Description copied from interface: NaturalLanguageTreeContract
Returns the natural language representation for this node in the tree

Specified by:
getNaturalLanguage in interface NaturalLanguageTreeContract
Returns:
the natural language representation for this node in the tree

getChildren

public List<NaturalLanguageTree> getChildren()
Description copied from interface: NaturalLanguageTreeContract
Returns the natural language for children of this node

Specified by:
getChildren in interface NaturalLanguageTreeContract
Returns:
the natural language for children of this node


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.