1 package org.simantics.structural2.variables;
3 import java.util.Collection;
5 import org.simantics.db.ReadGraph;
6 import org.simantics.db.Resource;
7 import org.simantics.db.exception.DatabaseException;
8 import org.simantics.db.layer0.variable.Variable;
10 public interface Connection {
13 * Return absolute URIs of the connection points. An optional (may be null) relationType may be used
14 * to filter the returned connection points.
16 Collection<String> getConnectionPointURIs(ReadGraph graph, Resource relationType) throws DatabaseException;
18 * Return the connection points. An optional (may be null) relationType may be used
19 * to filter the returned connection points.
21 Collection<Variable> getConnectionPoints(ReadGraph graph, Resource relationType) throws DatabaseException;
23 Collection<VariableConnectionPointDescriptor> getConnectionPointDescriptors(ReadGraph graph, Resource relationType) throws DatabaseException;