1 package org.argeo.slc.client.ui.dist.model;
2
3
4
5
6
7 public class GroupBaseElem extends DistParentElem {
8
9 private String groupId;
10
11 public GroupBaseElem(WorkspaceElem wkspElem, String groupId) {
12 super(groupId, wkspElem.inHome(), wkspElem.isReadOnly());
13
14 setParent(wkspElem);
15
16 this.groupId = groupId;
17 }
18
19 public Object[] getChildren() {
20 return null;
21 }
22
23 public String getLabel() {
24 return groupId;
25 }
26
27
28
29
30
31
32
33
34 public WorkspaceElem getWorkspaceElem() {
35 return (WorkspaceElem) getParent();
36 }
37
38 public String getGroupId() {
39 return getName();
40 }
41 }