1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.primefaces.extensions.component.orgchart;
17
18 import java.util.List;
19
20
21
22
23
24
25
26
27 public interface OrgChartNode {
28
29 public String getId();
30
31 public void setId(String id);
32
33 String getName();
34
35 void setName(String name);
36
37 String getTitle();
38
39 void setTitle(String title);
40
41 List<OrgChartNode> getChildren();
42
43 void setChildren(List<OrgChartNode> children);
44
45 OrgChartNode getParent();
46
47 void setParent(OrgChartNode parent);
48
49 public void addChild(OrgChartNode child);
50
51 public void clearChildren();
52
53 public void clearParent();
54
55 public String getClassName();
56
57 public void setClassName(String className);
58
59 public int getChildCount();
60
61 }