1 package org.simantics.db.layer0.variable;
5 import org.simantics.db.ReadGraph;
6 import org.simantics.db.exception.DatabaseException;
8 public interface VariableMap {
9 Variable getVariable(ReadGraph graph, Variable context, String name) throws DatabaseException;
10 // Must not modify collection in any way not possible with put-method.
11 Map<String, Variable> getVariables(ReadGraph graph, Variable context, Map<String, Variable> map) throws DatabaseException;
12 Map<String, Variable> getVariables(ReadGraph graph, Variable context, String classification, Map<String, Variable> map) throws DatabaseException;