code: public List<FacesConfigFlowDefinitionType<WebFacesConfigDescriptor>> getAllFlowDefinition()
     {
        List<FacesConfigFlowDefinitionType<WebFacesConfigDescriptor>> list = new ArrayList<FacesConfigFlowDefinitionType<WebFacesConfigDescriptor>>();
        List<Node> nodeList = model.get("flow-definition");
        for(Node node: nodeList)
        {
           FacesConfigFlowDefinitionType<WebFacesConfigDescriptor>  type = new FacesConfigFlowDefinitionTypeImpl<WebFacesConfigDescriptor>(this, "flow-definition", model, node);
           list.add(type);
        }
        return list;
     }
docs: Returns all <code>flow-definition</code> elements
  @return list of <code>flow-definition</code>