]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.graph/src/org/simantics/graph/query/Res.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.graph / src / org / simantics / graph / query / Res.java
diff --git a/bundles/org.simantics.graph/src/org/simantics/graph/query/Res.java b/bundles/org.simantics.graph/src/org/simantics/graph/query/Res.java
new file mode 100644 (file)
index 0000000..9fb078f
--- /dev/null
@@ -0,0 +1,17 @@
+package org.simantics.graph.query;\r
+\r
+\r
+/**\r
+ * A resource\r
+ * @author Hannu Niemistö\r
+ */\r
+public interface Res {\r
+       \r
+       /** \r
+        * Get a name or URI if available\r
+        *\r
+        * @return a name or URI\r
+        */\r
+       public String toString();\r
+       \r
+}\r