code: public List<ElementCollection<EmbeddableAttributes<T>>> getAllElementCollection()
     {
        List<ElementCollection<EmbeddableAttributes<T>>> list = new ArrayList<ElementCollection<EmbeddableAttributes<T>>>();
        List<Node> nodeList = childNode.get("element-collection");
        for(Node node: nodeList)
        {
           ElementCollection<EmbeddableAttributes<T>>  type = new ElementCollectionImpl<EmbeddableAttributes<T>>(this, "element-collection", childNode, node);
           list.add(type);
        }
        return list;
     }
docs: Returns all <code>element-collection</code> elements
  @return list of <code>element-collection</code>