Mercurial > hg > AnnotationManagerN4J
comparison src/main/java/de/mpiwg/itgroup/annotations/Group.java @ 10:90911b2da322
more work on permissions...
author | casties |
---|---|
date | Thu, 12 Jul 2012 17:01:32 +0200 |
parents | |
children | 5928c5d9aae8 |
comparison
equal
deleted
inserted
replaced
9:b2bfc3bc9ba8 | 10:90911b2da322 |
---|---|
1 /** | |
2 * | |
3 */ | |
4 package de.mpiwg.itgroup.annotations; | |
5 | |
6 /** | |
7 * @author casties | |
8 * | |
9 */ | |
10 public class Group extends Actor { | |
11 | |
12 public Group(String id) { | |
13 this.id = id; | |
14 } | |
15 | |
16 @Override | |
17 public boolean isGroup() { | |
18 return true; | |
19 } | |
20 | |
21 public String getIdString() { | |
22 if (id == null) { | |
23 id = getIdFromUri(uri, true); | |
24 } | |
25 return "group:" + id; | |
26 } | |
27 | |
28 } |