source: AnnotationManagerN4J/src/main/java/de/mpiwg/itgroup/annotations/Group.java @ 12:5928c5d9aae8

Last change on this file since 12:5928c5d9aae8 was 12:5928c5d9aae8, checked in by casties, 12 years ago

more work on permissions...

File size: 535 bytes
Line 
1/**
2 *
3 */
4package de.mpiwg.itgroup.annotations;
5
6/**
7 * @author casties
8 *
9 */
10public class Group extends Actor {
11
12    public Group(String id) {
13        super();
14        this.id = id;
15    }
16
17    public Group(String uri, String name) {
18        super();
19        this.uri = uri;
20        this.name = name;
21    }
22
23    @Override
24    public boolean isGroup() {
25        return true;
26    }
27
28    public String getIdString() {
29        if (id == null) {
30            id = getIdFromUri(uri, true);
31        }
32        return "group:" + id;
33    }
34
35}
Note: See TracBrowser for help on using the repository browser.