You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/05/05 22:04:03 UTC
[3/4] incubator-tinkerpop git commit: Update javadoc.
Update javadoc.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/f3b1c096
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/f3b1c096
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/f3b1c096
Branch: refs/heads/master
Commit: f3b1c096b0e13ce8d5c620e19fc9603fc8cc3fac
Parents: e7ef790
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Tue May 5 16:03:33 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Tue May 5 16:03:33 2015 -0400
----------------------------------------------------------------------
.../main/java/org/apache/tinkerpop/gremlin/structure/Graph.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/f3b1c096/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Graph.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Graph.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Graph.java
index 79ab87e..6765524 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Graph.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Graph.java
@@ -440,7 +440,9 @@ public interface Graph extends AutoCloseable, Host {
/**
* Gets the {@link VertexProperty.Cardinality} for a key. By default, this method will return
- * {@link VertexProperty.Cardinality#list}.
+ * {@link VertexProperty.Cardinality#list}. Implementations that employ a schema can consult it to
+ * determine the {@link VertexProperty.Cardinality}. Those that do no have a schema can return their
+ * default {@link VertexProperty.Cardinality} for every key.
*/
public default VertexProperty.Cardinality getCardinality(final String key) {
return VertexProperty.Cardinality.list;