-package org.simantics.db.layer0.variable;\r
-\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.Resource;\r
-import org.simantics.db.common.request.ResourceRead;\r
-import org.simantics.db.exception.DatabaseException;\r
-import org.simantics.layer0.Layer0;\r
-\r
-public class PropertyVariableMapRequest extends ResourceRead<VariableMap> {\r
-\r
- public PropertyVariableMapRequest(Resource context) {\r
- super(context);\r
- }\r
-\r
- @Override\r
- public VariableMap perform(ReadGraph graph) throws DatabaseException {\r
- return graph.getPossibleRelatedValue2(resource, Layer0.getInstance(graph).domainProperties, resource);\r
- }\r
-\r
-}\r
+package org.simantics.db.layer0.variable;
+
+import org.simantics.db.ReadGraph;
+import org.simantics.db.Resource;
+import org.simantics.db.common.request.ResourceRead;
+import org.simantics.db.exception.DatabaseException;
+import org.simantics.layer0.Layer0;
+
+public class PropertyVariableMapRequest extends ResourceRead<VariableMap> {
+
+ public PropertyVariableMapRequest(Resource context) {
+ super(context);
+ }
+
+ @Override
+ public VariableMap perform(ReadGraph graph) throws DatabaseException {
+ return graph.getPossibleRelatedValue2(resource, Layer0.getInstance(graph).domainProperties, resource);
+ }
+
+}