Refactoring EntityManagement

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141257 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2016-12-19 14:56:16 +00:00
parent 8b68f5d93f
commit 963afbe0fb
1 changed files with 6 additions and 0 deletions

View File

@ -57,6 +57,12 @@ public class ResourceManagement extends EntityManagement<Resource> {
* 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<Edge> edges = vertex.getEdges(Direction.OUT);
for(Edge edge : edges){
@SuppressWarnings("rawtypes")