@Override
public Object getValue(ReadGraph graph, Variable context) throws DatabaseException {
StandardGraphPropertyVariable variable = (StandardGraphPropertyVariable)context;
@Override
public Object getValue(ReadGraph graph, Variable context) throws DatabaseException {
StandardGraphPropertyVariable variable = (StandardGraphPropertyVariable)context;
if(represents == null) return null;
Map<String, Resource> children = graph.syncRequest(new UnescapedChildMapOfResource(represents));
Resource child = children.get(name);
if(represents == null) return null;
Map<String, Resource> children = graph.syncRequest(new UnescapedChildMapOfResource(represents));
Resource child = children.get(name);
return StandardChildDomainChildren.getStandardChildDomainChildVariable(graph, context, child, name);
}
return StandardChildDomainChildren.getStandardChildDomainChildVariable(graph, context, child, name);
}
- Function1<Variable,Object> exp = graph.syncRequest(new CompileStructuralValueRequest(graph, context) {
+ Function1<Object,Object> exp = graph.syncRequest(new CompileStructuralValueRequest(graph, context) {
sclContext.put("graph", graph);
return exp.apply(context);
} catch (DatabaseException e) {
sclContext.put("graph", graph);
return exp.apply(context);
} catch (DatabaseException e) {