code: public List<Next<Flow<T>>> getAllNext()
     {
        List<Next<Flow<T>>> list = new ArrayList<Next<Flow<T>>>();
        List<Node> nodeList = childNode.get("next");
        for(Node node: nodeList)
        {
           Next<Flow<T>>  type = new NextImpl<Flow<T>>(this, "next", childNode, node);
           list.add(type);
        }
        return list;
     }
docs: Returns all <code>next</code> elements
  @return list of <code>next</code>