X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.structural2%2Fsrc%2Forg%2Fsimantics%2Fstructural2%2Fvariables%2FVariableConnectionPointDescriptor.java;h=403280aea6eb0279841d21bbd0d12a4914f99c9d;hb=refs%2Fchanges%2F38%2F238%2F2;hp=5b18bba00c271be3d346faf9432ed2e4039f8cb7;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/VariableConnectionPointDescriptor.java b/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/VariableConnectionPointDescriptor.java index 5b18bba00..403280aea 100644 --- a/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/VariableConnectionPointDescriptor.java +++ b/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/VariableConnectionPointDescriptor.java @@ -1,22 +1,22 @@ -package org.simantics.structural2.variables; - -import java.util.Collection; - -import org.simantics.db.ReadGraph; -import org.simantics.db.Resource; -import org.simantics.db.exception.DatabaseException; -import org.simantics.db.layer0.variable.Variable; -import org.simantics.structural2.Functions.InterfaceResolution; - -public interface VariableConnectionPointDescriptor { - - public boolean isFlattenedFrom(ReadGraph graph, Variable possiblyStructuralCp) throws DatabaseException; - public Variable getVariable(ReadGraph graph) throws DatabaseException; - public Resource getConnectionPointResource(ReadGraph graph) throws DatabaseException; - public String getURI(ReadGraph graph) throws DatabaseException; - public Collection getInterfaceDescription(ReadGraph graph) throws DatabaseException; - public boolean isLeaf(ReadGraph graph) throws DatabaseException; - public boolean hasClassification(ReadGraph graph, String classification) throws DatabaseException; - public String getRelativeRVI(ReadGraph graph, Variable base) throws DatabaseException; - +package org.simantics.structural2.variables; + +import java.util.Collection; + +import org.simantics.db.ReadGraph; +import org.simantics.db.Resource; +import org.simantics.db.exception.DatabaseException; +import org.simantics.db.layer0.variable.Variable; +import org.simantics.structural2.Functions.InterfaceResolution; + +public interface VariableConnectionPointDescriptor { + + public boolean isFlattenedFrom(ReadGraph graph, Variable possiblyStructuralCp) throws DatabaseException; + public Variable getVariable(ReadGraph graph) throws DatabaseException; + public Resource getConnectionPointResource(ReadGraph graph) throws DatabaseException; + public String getURI(ReadGraph graph) throws DatabaseException; + public Collection getInterfaceDescription(ReadGraph graph) throws DatabaseException; + public boolean isLeaf(ReadGraph graph) throws DatabaseException; + public boolean hasClassification(ReadGraph graph, String classification) throws DatabaseException; + public String getRelativeRVI(ReadGraph graph, Variable base) throws DatabaseException; + } \ No newline at end of file