unit tests - catalog-be
[sdc.git] / catalog-dao / src / main / java / org / openecomp / sdc / be / dao / neo4j / BatchBuilder.java
index 9d30c20..a13c231 100644 (file)
@@ -26,16 +26,10 @@ import java.util.ArrayList;
 import java.util.List;
 
 public class BatchBuilder {
-       // private Map<String, List<Neo4jNode>> nodes;
-       // private List<Neo4jRelation> relations;
-       //
-       private List<GraphElement> elements;
 
-       // TODO add filter
+       private List<GraphElement> elements;
 
        protected BatchBuilder() {
-               // nodes = new HashMap<String, List<Neo4jNode>>();
-               // relations = new ArrayList<Neo4jRelation>();
                elements = new ArrayList<>();
        }
 
@@ -52,28 +46,5 @@ public class BatchBuilder {
                return elements;
        }
 
-       // public BatchBuilder add( Neo4jNode element ){
-       // String label = element.getLabel();
-       // List<Neo4jNode> list = nodes.get(label);
-       // if ( list == null ){
-       // list = new ArrayList<Neo4jNode>();
-       // }
-       // list.add(element);
-       // nodes.put(label, list);
-
-       // return this;
-       // }
-       // public BatchBuilder add( Neo4jRelation relation ){
-       // relations.add(relation);
-       // return this;
-       // }
-       //
-       // public Map<String, List<Neo4jNode>> getNodes() {
-       // return nodes;
-       // }
-       //
-       // public List<Neo4jRelation> getRelations() {
-       // return relations;
-       // }
 
 }