public Alternatives<BeansDescriptor> getOrCreateAlternatives()
   {
      List<Node> nodeList = model.get("alternatives");
      if (nodeList != null && nodeList.size() > 0)
      {
         return new AlternativesImpl<BeansDescriptor>(this, "alternatives", model, nodeList.get(0));
      }
      return createAlternatives();
   }
public Alternatives < BeansDescriptor > getOrCreateAlternatives ( ) { List < Node > nodeList = model . get ( "alternatives" ) ; if ( nodeList != null && nodeList . size ( ) > 0 ) { return new AlternativesImpl < BeansDescriptor > ( this , "alternatives" , model , nodeList . get ( 0 ) ) ; } return createAlternatives ( ) ; }
If not already created, a new <code>alternatives</code> element will be created and returned. Otherwise, the first
existing <code>alternatives</code> element will be returned.

@return the instance defined for the element <code>alternatives</code>