code: public List<FacesConfigFlowDefinitionSwitchType<FacesConfigFlowDefinitionType<T>>> getAllSwitch()
     {
        List<FacesConfigFlowDefinitionSwitchType<FacesConfigFlowDefinitionType<T>>> list = new ArrayList<FacesConfigFlowDefinitionSwitchType<FacesConfigFlowDefinitionType<T>>>();
        List<Node> nodeList = childNode.get("switch");
        for(Node node: nodeList)
        {
           FacesConfigFlowDefinitionSwitchType<FacesConfigFlowDefinitionType<T>>  type = new FacesConfigFlowDefinitionSwitchTypeImpl<FacesConfigFlowDefinitionType<T>>(this, "switch", childNode, node);
           list.add(type);
        }
        return list;
     }
docs: Returns all <code>switch</code> elements
  @return list of <code>switch</code>