[MOBY-guts] biomoby commit
Gary Schlitz
gss at pub.open-bio.org
Sat Mar 27 01:14:23 UTC 2004
gss
Fri Mar 26 20:14:22 EST 2004
Update of /home/repository/moby/moby-live/S-MOBY/ref-impl/core/org/smoby/tools/common/graph
In directory pub.open-bio.org:/tmp/cvs-serv2417/org/smoby/tools/common/graph
Modified Files:
MOBYGraph.java
Log Message:
More reorganization
moby-live/S-MOBY/ref-impl/core/org/smoby/tools/common/graph MOBYGraph.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/S-MOBY/ref-impl/core/org/smoby/tools/common/graph/MOBYGraph.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/S-MOBY/ref-impl/core/org/smoby/tools/common/graph/MOBYGraph.java 2004/03/22 22:06:00 1.2
+++ /home/repository/moby/moby-live/S-MOBY/ref-impl/core/org/smoby/tools/common/graph/MOBYGraph.java 2004/03/27 01:14:22 1.3
@@ -187,6 +187,88 @@
}
/**
+ * Return the statement asserting the provider to be
+ * a MOBY Provider
+ * <br>
+ * (<URL> rdf:type moby:Provider)
+ * @return the asserting statement
+ */
+ public Statement getProviderTypeStmt()
+ {
+ return providerType;
+ }
+
+ /**
+ * Return the statement asserting that the provider operates
+ * on some resource
+ * <br>
+ * (<URL> moby:operatesOn <bnode1>)
+ * @return the asserting statement
+ */
+ public Statement getOperatesOnStmt()
+ {
+ return operatesOn;
+ }
+
+ /**
+ * Return the statement asserting that the resource operated on
+ * by the provider is a MOBY Graph (<bnode1> rdf:type moby:Graph)
+ * <br>
+ * @return the asserting statement
+ */
+ public Statement getGraphTypeStmt()
+ {
+ return graphType;
+ }
+
+ /**
+ * Return the statement asserting that the resource operated
+ * on by the provider has a MOBY mapping to some other resource
+ * <br>
+ * (<bnode1> moby:hasMapping <bnode2>)
+ * @return the asserting statement
+ */
+ public Statement getHasMappingStmt()
+ {
+ return hasMapping;
+ }
+
+ /**
+ * Return the statement asserting that the resource that is
+ * the subject of the "has mapping" statement is a MOBY Subject
+ * <br>
+ * (<bnode2> rdf:type moby:Subject)
+ * @return the asserting statement
+ */
+ public Statement getSubjectTypeStmt()
+ {
+ return subjectType;
+ }
+
+ /**
+ * Return the statement asserting that the object of the
+ * "has mapping" statement maps to some other resource
+ * <br>
+ * (<bnode2> moby:mapsTo <bnode3>)<br>
+ * @return the asserting statement
+ */
+ public Statement getMapsToStmt()
+ {
+ return mapsTo;
+ }
+
+ /**
+ * Return the statement asserting that the object of the
+ * "has mapping" statement is a MOBY Object
+ * <br>
+ * (<bnode3> rdf:type moby:Object)
+ */
+ public Statement getObjectTypeStmt()
+ {
+ return objectType;
+ }
+
+ /**
* Return the Resource that describes this provider
* @return the Resource
*/
More information about the MOBY-guts
mailing list