1 package org.simantics.structural2.variables;
3 import org.simantics.db.ReadGraph;
4 import org.simantics.db.Resource;
5 import org.simantics.db.exception.DatabaseException;
6 import org.simantics.db.layer0.variable.Variable;
8 public interface VariableConnectionPointDescriptor extends ConnectionBrowserConnectionPointDescriptor {
10 public boolean isFlattenedFrom(ReadGraph graph, Variable possiblyStructuralCp) throws DatabaseException;
11 public Variable getVariable(ReadGraph graph) throws DatabaseException;
12 public Resource getConnectionPointResource(ReadGraph graph) throws DatabaseException;
13 public String getURI(ReadGraph graph) throws DatabaseException;
14 public boolean hasClassification(ReadGraph graph, String classification) throws DatabaseException;
15 public String getRelativeRVI(ReadGraph graph, Variable base) throws DatabaseException;