this.status = status;
this.op = op;
this.r = op.getResource();
- this.label = getLabel(g, r);
+ init(g);
}
public UpdateNode(ReadGraph g, UpdateStatus status, Resource r) throws DatabaseException {
this.status = status;
this.op = null;
this.r = r;
+ init(g);
+ }
+
+ protected void init(ReadGraph g) throws DatabaseException {
this.label = getLabel(g, r);
}