Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit 20a698b

Browse files
author
Achim Brandt
committed
added toString()
1 parent 16c2f1f commit 20a698b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/main/java/com/arangodb/blueprints/ArangoDBGraph.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,5 +378,4 @@ public ArangoDBSimpleGraphClient getClient() {
378378
public String getId() {
379379
return simpleGraph.getGraphEntity().getDocumentKey();
380380
}
381-
382381
}

src/main/java/com/arangodb/blueprints/client/ArangoDBSimpleGraph.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,9 @@ public GraphEntity getGraphEntity() {
7373
return graphEntity;
7474
}
7575

76+
public String toString() {
77+
return "{\"name\":\"" + getName() + "\",\"vertices\":\"" + getVertexCollection() + "\",\"edges\":\""
78+
+ getEdgeCollection() + "\"}";
79+
}
80+
7681
}

0 commit comments

Comments
 (0)