Class TreeNode

java.lang.Object
com.appiancorp.suiteapi.common.TreeNode
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Tree

public class TreeNode extends Object implements Serializable
Represents a node in tree without relationships to other nodes.
See Also:
  • Field Details

    • _id

      protected Long _id
    • _name

      protected String _name
    • _data

      protected Object _data
  • Constructor Details

    • TreeNode

      public TreeNode()
  • Method Details

    • getId

      public Long getId()
      Get the local id for this node.
      Returns:
      gets the id
    • setId

      public void setId(Long p_)
      Set the local id for this node.
      Parameters:
      p_ - the id to set
    • getName

      public String getName()
      Get the name for this node.
      Returns:
      the name for this node
    • setName

      public void setName(String p_)
      Set the name for this node.
      Parameters:
      p_ - the name to set
    • getData

      public Object getData()
      Get any data associated with this node.
      Returns:
      the data assocaited with the node
    • setData

      public void setData(Object data_)
      Set any data associated with this node.
      Parameters:
      data_ - the data to set