comparison src/main/java/de/mpiwg/itgroup/annotations/Person.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 Person extends Actor {
11
12 public Person(String uri, String name) {
13 super();
14 this.uri = uri;
15 this.name = name;
16 }
17
18 public Person() {
19 }
20
21 public Person(String id) {
22 this.id = id;
23 }
24
25 @Override
26 public boolean isGroup() {
27 return false;
28 }
29
30 public String getIdString() {
31 if (id == null) {
32 id = getIdFromUri(uri, false);
33 }
34 return id;
35 }
36
37 }