code: public static IModel<ICmdUIObject> getModel(final Long _cmdId,
                                                  final Instance _instance)
      {
          return Model.<ICmdUIObject>of(UICmdObject.get(_cmdId).setInstance(_instance));
      }
docs: Gets the model.
  
  @param _cmdId the cmd id
  @param _instance the instance
  @return the model