+
+ public Resource getParentResource(ReadGraph g) throws DatabaseException {
+ Layer0 l0 = Layer0.getInstance(g);
+ return g.getPossibleObject(getResource(), l0.PartOf);
+ }
+
+
+ @Override
+ public String toString() {
+ String s = this.getClass().getSimpleName();
+ if (selected)
+ s += " selected";
+ if (enabled)
+ s += " enabled";
+ if (visible)
+ s += " visible";
+ if (applied)
+ s += " applied";
+ return s;
+ }