source: AnnotationManagerN4J/src/main/java/de/mpiwg/itgroup/annotations/Person.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: 558 bytes
Line 
1/**
2 *
3 */
4package de.mpiwg.itgroup.annotations;
5
6/**
7 * @author casties
8 *
9 */
10public class Person extends Actor {
11
12    public Person() {
13    }
14
15    public Person(String id) {
16        super();
17        this.id = id;
18    }
19
20    public Person(String uri, String name) {
21        super();
22        this.uri = uri;
23        this.name = name;
24    }
25
26    @Override
27    public boolean isGroup() {
28        return false;
29    }
30
31    public String getIdString() {
32        if (id == null) {
33            id = getIdFromUri(uri, false);
34        }
35        return id;
36    }
37
38}
Note: See TracBrowser for help on using the repository browser.