Line | |
---|
1 | /** |
---|
2 | * |
---|
3 | */ |
---|
4 | package de.mpiwg.itgroup.annotations; |
---|
5 | |
---|
6 | /** |
---|
7 | * @author casties |
---|
8 | * |
---|
9 | */ |
---|
10 | public 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.