From 963afbe0fb65736dcc2ff549214bf60e9846dd8d Mon Sep 17 00:00:00 2001 From: "luca.frosini" Date: Mon, 19 Dec 2016 14:56:16 +0000 Subject: [PATCH] Refactoring EntityManagement git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141257 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../ermanagement/entity/ResourceManagement.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/ermanagement/entity/ResourceManagement.java b/src/main/java/org/gcube/informationsystem/resourceregistry/ermanagement/entity/ResourceManagement.java index f2c3817..ddb7687 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/ermanagement/entity/ResourceManagement.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/ermanagement/entity/ResourceManagement.java @@ -57,6 +57,12 @@ public class ResourceManagement extends EntityManagement { * JSONArray isRelatedToArray = new JSONArray(); */ + /* + * Due to orientdb bug cannot get ConsistsOf edge only because + * are filtered in hasNext() function + * vertex.getEdges(Direction.OUT, ConsistsOf.NAME); + */ + Iterable edges = vertex.getEdges(Direction.OUT); for(Edge edge : edges){ @SuppressWarnings("rawtypes")