--- /dev/null
+package org.simantics.structural2.variables;\r
+\r
+import java.util.Collection;\r
+\r
+import org.simantics.db.ReadGraph;\r
+import org.simantics.db.Resource;\r
+import org.simantics.db.exception.DatabaseException;\r
+import org.simantics.db.layer0.variable.Variable;\r
+import org.simantics.structural2.Functions.InterfaceResolution;\r
+\r
+public interface VariableConnectionPointDescriptor {\r
+ \r
+ public boolean isFlattenedFrom(ReadGraph graph, Variable possiblyStructuralCp) throws DatabaseException;\r
+ public Variable getVariable(ReadGraph graph) throws DatabaseException;\r
+ public Resource getConnectionPointResource(ReadGraph graph) throws DatabaseException;\r
+ public String getURI(ReadGraph graph) throws DatabaseException;\r
+ public Collection<InterfaceResolution> getInterfaceDescription(ReadGraph graph) throws DatabaseException;\r
+ public boolean isLeaf(ReadGraph graph) throws DatabaseException;\r
+ public boolean hasClassification(ReadGraph graph, String classification) throws DatabaseException;\r
+ public String getRelativeRVI(ReadGraph graph, Variable base) throws DatabaseException;\r
+ \r
+}
\ No newline at end of file