]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.structural2/src/org/simantics/structural2/variables/VariableConnectionPointDescriptor.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.structural2 / src / org / simantics / structural2 / variables / VariableConnectionPointDescriptor.java
1 package org.simantics.structural2.variables;\r
2 \r
3 import java.util.Collection;\r
4 \r
5 import org.simantics.db.ReadGraph;\r
6 import org.simantics.db.Resource;\r
7 import org.simantics.db.exception.DatabaseException;\r
8 import org.simantics.db.layer0.variable.Variable;\r
9 import org.simantics.structural2.Functions.InterfaceResolution;\r
10 \r
11 public interface VariableConnectionPointDescriptor {\r
12         \r
13         public boolean isFlattenedFrom(ReadGraph graph, Variable possiblyStructuralCp) throws DatabaseException;\r
14         public Variable getVariable(ReadGraph graph) throws DatabaseException;\r
15         public Resource getConnectionPointResource(ReadGraph graph) throws DatabaseException;\r
16         public String getURI(ReadGraph graph) throws DatabaseException;\r
17         public Collection<InterfaceResolution> getInterfaceDescription(ReadGraph graph) throws DatabaseException;\r
18         public boolean isLeaf(ReadGraph graph) throws DatabaseException;\r
19         public boolean hasClassification(ReadGraph graph, String classification) throws DatabaseException;\r
20         public String getRelativeRVI(ReadGraph graph, Variable base) throws DatabaseException;\r
21         \r
22 }