Mercurial > hg > AnnotationManagerN4J
comparison src/main/java/de/mpiwg/itgroup/annotations/Actor.java @ 13:abe25edf2178
storing and retrieving permissions works now.
author | casties |
---|---|
date | Fri, 13 Jul 2012 17:22:05 +0200 |
parents | 90911b2da322 |
children | 629e15b345aa |
comparison
equal
deleted
inserted
replaced
12:5928c5d9aae8 | 13:abe25edf2178 |
---|---|
24 * @return the uri | 24 * @return the uri |
25 */ | 25 */ |
26 public String getUri() { | 26 public String getUri() { |
27 return uri; | 27 return uri; |
28 } | 28 } |
29 | |
30 /** | |
31 * Returns the uri (uses id if empty). | |
32 * | |
33 * @return the uri | |
34 */ | |
35 public String getUriString() { | |
36 if (uri == null) { | |
37 return getUriFromId(id, isGroup()); | |
38 } | |
39 return uri; | |
40 } | |
41 | |
29 /** | 42 /** |
30 * @param uri the uri to set | 43 * @param uri the uri to set |
31 */ | 44 */ |
32 public void setUri(String uri) { | 45 public void setUri(String uri) { |
33 this.uri = uri; | 46 this.uri = uri; |