Mercurial > hg > AnnotationManagerN4J
view src/main/java/de/mpiwg/itgroup/annotations/Group.java @ 38:6efcd16594ec
Merge with d339bd2a4f4a6bc69544a83232e7c00830788f6a
| author | dwinter |
|---|---|
| date | Wed, 26 Sep 2012 14:49:37 +0200 |
| parents | 58357a4b86de |
| children | 2b1e6df5e21a |
line wrap: on
line source
/** * */ package de.mpiwg.itgroup.annotations; /** * @author casties * */ public class Group extends Actor { public Group(String id) { super(); this.id = id; } public Group(String uri, String name) { super(); this.uri = uri; this.name = name; } public Group(String id, String uri, String name) { super(); this.id = id; this.uri = uri; this.name = name; } @Override public boolean isGroup() { return true; } public String getIdString() { if (id == null) { id = getIdFromUri(uri, true); } return "group:" + id; } }
