commonsrdf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [5/6] incubator-commonsrdf git commit: javadocs
Date Tue, 03 May 2016 23:36:28 GMT
javadocs


Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/d1386378
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/d1386378
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/d1386378

Branch: refs/heads/rdf4j
Commit: d1386378336ab2cf50823207514e9d3c50a9b3b2
Parents: 5e7dfc6
Author: Stian Soiland-Reyes <stain@apache.org>
Authored: Wed May 4 00:15:09 2016 +0100
Committer: Stian Soiland-Reyes <stain@apache.org>
Committed: Wed May 4 00:15:09 2016 +0100

----------------------------------------------------------------------
 .../org/apache/commons/rdf/rdf4j/RDF4JBlankNode.java  | 12 ++++++++++++
 .../java/org/apache/commons/rdf/rdf4j/RDF4JGraph.java | 14 ++++++++++++++
 .../java/org/apache/commons/rdf/rdf4j/RDF4JIRI.java   | 13 +++++++++++++
 .../org/apache/commons/rdf/rdf4j/RDF4JLiteral.java    | 13 +++++++++++++
 .../java/org/apache/commons/rdf/rdf4j/RDF4JTerm.java  | 10 ++++++++++
 .../org/apache/commons/rdf/rdf4j/RDF4JTriple.java     | 10 ++++++++++
 6 files changed, 72 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/d1386378/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JBlankNode.java
----------------------------------------------------------------------
diff --git a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JBlankNode.java b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JBlankNode.java
index 1e28228..0b06144 100644
--- a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JBlankNode.java
+++ b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JBlankNode.java
@@ -17,7 +17,19 @@
  */
 package org.apache.commons.rdf.rdf4j;
 
+import org.openrdf.model.BNode;
+
+/**
+ * Marker interface for RDF4J implementations of BlankNode.
+ * 
+ */
 public interface RDF4JBlankNode 
 	extends RDF4JTerm<org.openrdf.model.BNode>, org.apache.commons.rdf.api.BlankNode {
 
+	/**
+	 * Return the corresponding RDF4J {@link BNode}.
+	 * 
+	 * @return The corresponding RDF4J BNode
+	 */
+	BNode asValue();
 }

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/d1386378/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JGraph.java
----------------------------------------------------------------------
diff --git a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JGraph.java b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JGraph.java
index 1d81282..3bf8000 100644
--- a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JGraph.java
+++ b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JGraph.java
@@ -20,6 +20,20 @@ package org.apache.commons.rdf.rdf4j;
 import org.apache.commons.rdf.api.Graph;
 import org.openrdf.model.Model;
 
+
+/**
+ * Marker interface for RDF4J implementations of Graph.
+ * 
+ */
 public interface RDF4JGraph extends Graph {
+	
+	/**
+	 * Return the corresponding RDF4J {@link Model}.
+	 * <p>
+	 * Changes to the Model are reflected in this Graph, and
+	 * vice versa.
+	 * 
+	 * @return The corresponding RDF4J Model.
+	 */
 	public Model asModel();
 }

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/d1386378/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JIRI.java
----------------------------------------------------------------------
diff --git a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JIRI.java b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JIRI.java
index fd117eb..91386ea 100644
--- a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JIRI.java
+++ b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JIRI.java
@@ -17,6 +17,19 @@
  */
 package org.apache.commons.rdf.rdf4j;
 
+/**
+ * Marker interface for RDF4J implementations of IRI.
+ * 
+ */
 public interface RDF4JIRI 
 	extends RDF4JTerm<org.openrdf.model.IRI>, org.apache.commons.rdf.api.IRI {
+	
+	/**
+	 * Return the corresponding RDF4J {@link org.openrdf.model.IRI}.
+	 * 
+	 * @return The corresponding RDF4J IRI
+	 */
+	public org.openrdf.model.IRI asValue();
+	
+	
 }

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/d1386378/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JLiteral.java
----------------------------------------------------------------------
diff --git a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JLiteral.java b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JLiteral.java
index 8a3877d..804518a 100644
--- a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JLiteral.java
+++ b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JLiteral.java
@@ -17,6 +17,19 @@
  */
 package org.apache.commons.rdf.rdf4j;
 
+import org.openrdf.model.Literal;
+
+/**
+ * Marker interface for RDF4J implementations of Literal.
+ * 
+ */
 public interface RDF4JLiteral 
 	extends RDF4JTerm<org.openrdf.model.Literal>, org.apache.commons.rdf.api.Literal {
+	
+	/**
+	 * Return the corresponding RDF4J {@link org.openrdf.model.Literal}.
+	 * 
+	 * @return The corresponding RDF4J Literal
+	 */
+	Literal asValue();
 }

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/d1386378/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JTerm.java
----------------------------------------------------------------------
diff --git a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JTerm.java b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JTerm.java
index 4fee79c..3225693 100644
--- a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JTerm.java
+++ b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JTerm.java
@@ -20,6 +20,16 @@ package org.apache.commons.rdf.rdf4j;
 import org.apache.commons.rdf.api.RDFTerm;
 import org.openrdf.model.Value;
 
+/**
+ * Marker interface for RDF4J implementations of RDFTerm.
+ *  
+ */
 public interface RDF4JTerm<T extends Value> extends RDFTerm {
+	
+	/**
+	 * Return the RDF4J {@link Value} that this RDFTerm represents.
+	 * 
+	 * @return
+	 */
 	public T asValue();
 }

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/d1386378/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JTriple.java
----------------------------------------------------------------------
diff --git a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JTriple.java b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JTriple.java
index dfe9419..2661a2a 100644
--- a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JTriple.java
+++ b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JTriple.java
@@ -20,6 +20,16 @@ package org.apache.commons.rdf.rdf4j;
 import org.apache.commons.rdf.api.Triple;
 import org.openrdf.model.Statement;
 
+/**
+ * Marker interface for RDF4J implementations of Triple.
+ * 
+ */
 public interface RDF4JTriple extends Triple {
+	
+	/**
+	 * Return the corresponding RDF4J {@link Statement}.
+	 * 
+	 * @return The corresponding RDF4J Statement.
+	 */
 	public Statement asStatement();
 }


Mime
View raw message