commonsrdf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [2/4] incubator-commonsrdf git commit: asJenaModel() might be made on demand
Date Thu, 29 Sep 2016 14:58:00 GMT
asJenaModel() might be made on demand

See
https://github.com/apache/incubator-commonsrdf/pull/23#pullrequestreview-2146939


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

Branch: refs/heads/jena
Commit: 2462a9540c67113c797c309d1998d5336c88c9a0
Parents: c763ffa
Author: Stian Soiland-Reyes <stain@apache.org>
Authored: Thu Sep 29 15:42:53 2016 +0100
Committer: Stian Soiland-Reyes <stain@apache.org>
Committed: Thu Sep 29 15:42:53 2016 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/commons/rdf/jena/JenaGraph.java | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/2462a954/jena/src/main/java/org/apache/commons/rdf/jena/JenaGraph.java
----------------------------------------------------------------------
diff --git a/jena/src/main/java/org/apache/commons/rdf/jena/JenaGraph.java b/jena/src/main/java/org/apache/commons/rdf/jena/JenaGraph.java
index fa8954e..2ce453f 100644
--- a/jena/src/main/java/org/apache/commons/rdf/jena/JenaGraph.java
+++ b/jena/src/main/java/org/apache/commons/rdf/jena/JenaGraph.java
@@ -34,12 +34,16 @@ public interface JenaGraph extends org.apache.commons.rdf.api.Graph {
 	public Graph asJenaGraph();
 
 	/**
-	 * Return the underlying Jena {@link Model}.
+	 * Return the graph as a Jena {@link Model}.
 	 * <p>
 	 * Changes to the Jena model are reflected in the Commons RDF graph and vice
 	 * versa.
+	 * <p>
+	 * Note that in some cases there is no underlying Jena {@link Model}, in
+	 * which case this method will create one. Subsequent calls should return
+	 * the same model.
 	 * 
 	 * @return A Jena {@link Model}
-	 */	
+	 */
 	public Model asJenaModel();
 }


Mime
View raw message