public ModuleType<ApplicationDescriptor> getOrCreateModule()
   {
      List<Node> nodeList = model.get("module");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new ModuleTypeImpl<ApplicationDescriptor>(this, "module", model, nodeList.get(0));
      }
      return createModule();
   }
public ModuleType < ApplicationDescriptor > getOrCreateModule ( ) { List < Node > nodeList = model . get ( "module" ) ; if ( nodeList != null && nodeList . size ( ) > 0 ) { return new ModuleTypeImpl < ApplicationDescriptor > ( this , "module" , model , nodeList . get ( 0 ) ) ; } return createModule ( ) ; }
If not already created, a new <code>module</code> element will be created and returned.
Otherwise, the first existing <code>module</code> element will be returned.
@return the instance defined for the element <code>module</code>