1 package org.simantics.db.layer0.variable;
3 import org.simantics.db.ReadGraph;
4 import org.simantics.db.Resource;
5 import org.simantics.db.common.request.ResourceRead;
6 import org.simantics.db.exception.DatabaseException;
7 import org.simantics.layer0.Layer0;
9 public class PropertyVariableMapRequest extends ResourceRead<VariableMap> {
11 public PropertyVariableMapRequest(Resource context) {
16 public VariableMap perform(ReadGraph graph) throws DatabaseException {
17 return graph.getPossibleRelatedValue2(resource, Layer0.getInstance(graph).domainProperties, resource);