code: public final Object buildModel(CommandGroup commandGroup)
      {
          Object model = buildRootModel(commandGroup);
  
          recurse(commandGroup, model, 0);
  
          return model;
      }
docs: Main service method of this method to call.
  
  This builds the complete mapping object-model by traversing the complete
  passed in command-group structure by performing the appropriate callbacks
  to the subclass implementations of {@link #buildRootModel(CommandGroup)},
  {@link #buildChildModel(Object, AbstractCommand, int)}, and
  {@link #buildGroupModel(Object, CommandGroup, int)}.
  
  Additionally,
  
  @param commandGroup
  the root of the structure for which an mapping objectmodel
  will be built.
  @return the build object model