Skip to content

Commit

Permalink
added toString()
Browse files Browse the repository at this point in the history
  • Loading branch information
Achim Brandt committed May 23, 2015
1 parent 16c2f1f commit 20a698b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/com/arangodb/blueprints/ArangoDBGraph.java
Original file line number Diff line number Diff line change
Expand Up @@ -378,5 +378,4 @@ public ArangoDBSimpleGraphClient getClient() {
public String getId() {
return simpleGraph.getGraphEntity().getDocumentKey();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,9 @@ public GraphEntity getGraphEntity() {
return graphEntity;
}

public String toString() {
return "{\"name\":\"" + getName() + "\",\"vertices\":\"" + getVertexCollection() + "\",\"edges\":\""
+ getEdgeCollection() + "\"}";
}

}

0 comments on commit 20a698b

Please sign in to comment.