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