public Fail<Flow<T>> getOrCreateFail()
   {
      List<Node> nodeList = childNode.get("fail");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new FailImpl<Flow<T>>(this, "fail", childNode, nodeList.get(0));
      }
      return createFail();
   }
public Fail < Flow < T > > getOrCreateFail ( ) { List < Node > nodeList = childNode . get ( "fail" ) ; if ( nodeList != null && nodeList . size ( ) > 0 ) { return new FailImpl < Flow < T > > ( this , "fail" , childNode , nodeList . get ( 0 ) ) ; } return createFail ( ) ; }
If not already created, a new <code>fail</code> element will be created and returned.
Otherwise, the first existing <code>fail</code> element will be returned.
@return the instance defined for the element <code>fail</code>