\r
/** Tree based implementation of a structure registry. */\r
public class TreeSRegistry implements StructureRegistry {\r
+ public final static String STATUS_ACTIVE = "STATUS_ACTIVE";\r
+ \r
/** For ORM */\r
private Long tid;\r
- private TreeSPath root;\r
+ private String status;\r
private Map<TreeSPath, SimpleSElement> elements = new TreeMap<TreeSPath, SimpleSElement>();\r
\r
private String mode = StructureRegistry.ALL;\r
this.activePaths = activePaths;\r
}\r
\r
- /** Gets the related root path. */\r
- public TreeSPath getRoot() {\r
- return root;\r
+\r
+ public String getStatus() {\r
+ return status;\r
}\r
\r
- /** Sets the related root path. */\r
- public void setRoot(TreeSPath root) {\r
- this.root = root;\r
+ public void setStatus(String status) {\r
+ this.status = status;\r
}\r
\r
/** Gets the elements. */\r