1 package org.equanda.tapestry5.data;
2
3 import java.util.List;
4
5 /**
6 * This interface must be implemented by an object that must be rendered
7 * in a tapestry page using the TreeTable component.
8 *
9 * @author Geert Mergan
10 */
11 public interface Tree {
12
13 public List<Tree> getChildren();
14
15 public void setChildren(List<Tree> children);
16
17 public boolean isLeaf();
18
19 public String getLabel();
20 }