@SuppressWarnings("unchecked")
 public void setRenderArgs(java.util.Map<String, Object> args) {
   if (null != args && args.containsKey("type")) this.type = (String) args.get("type");
   if (null != args && args.containsKey("flash"))
     this.flash = (play.mvc.Scope.Flash) args.get("flash");
   if (null != args && args.containsKey("error_index"))
     this.error_index = (Integer) args.get("error_index");
   if (null != args && args.containsKey("error"))
     this.error = (play.data.validation.Error) args.get("error");
   if (null != args && args.containsKey("params"))
     this.params = (play.mvc.Scope.Params) args.get("params");
   if (null != args && args.containsKey("lang")) this.lang = (java.lang.String) args.get("lang");
   if (null != args && args.containsKey("messages"))
     this.messages = (play.i18n.Messages) args.get("messages");
   if (null != args && args.containsKey("error_isFirst"))
     this.error_isFirst = (Boolean) args.get("error_isFirst");
   if (null != args && args.containsKey("errors"))
     this.errors = (java.util.List<play.data.validation.Error>) args.get("errors");
   if (null != args && args.containsKey("error_isLast"))
     this.error_isLast = (Boolean) args.get("error_isLast");
   if (null != args && args.containsKey("session"))
     this.session = (play.mvc.Scope.Session) args.get("session");
   if (null != args && args.containsKey("request"))
     this.request = (play.mvc.Http.Request) args.get("request");
   if (null != args && args.containsKey("_rythmPlugin"))
     this._rythmPlugin = (com.greenlaw110.rythm.play.RythmPlugin) args.get("_rythmPlugin");
   if (null != args && args.containsKey("_response_encoding"))
     this._response_encoding = (java.lang.String) args.get("_response_encoding");
   if (null != args && args.containsKey("_renderArgs"))
     this._renderArgs = (play.mvc.Scope.RenderArgs) args.get("_renderArgs");
   if (null != args && args.containsKey("_rythm"))
     this._rythm = (com.greenlaw110.rythm.RythmEngine) args.get("_rythm");
   if (null != args && args.containsKey("error_parity"))
     this.error_parity = (java.lang.String) args.get("error_parity");
   if (null != args && args.containsKey("_play")) this._play = (play.Play) args.get("_play");
   super.setRenderArgs(args);
 }
 @SuppressWarnings("unchecked")
 @Override
 public void setRenderArg(String name, Object arg) {
   if ("type".equals(name)) this.type = (String) arg;
   if ("flash".equals(name)) this.flash = (play.mvc.Scope.Flash) arg;
   if ("error_index".equals(name)) this.error_index = (Integer) arg;
   if ("error".equals(name)) this.error = (play.data.validation.Error) arg;
   if ("params".equals(name)) this.params = (play.mvc.Scope.Params) arg;
   if ("lang".equals(name)) this.lang = (java.lang.String) arg;
   if ("messages".equals(name)) this.messages = (play.i18n.Messages) arg;
   if ("error_isFirst".equals(name)) this.error_isFirst = (Boolean) arg;
   if ("errors".equals(name)) this.errors = (java.util.List<play.data.validation.Error>) arg;
   if ("error_isLast".equals(name)) this.error_isLast = (Boolean) arg;
   if ("session".equals(name)) this.session = (play.mvc.Scope.Session) arg;
   if ("request".equals(name)) this.request = (play.mvc.Http.Request) arg;
   if ("_rythmPlugin".equals(name))
     this._rythmPlugin = (com.greenlaw110.rythm.play.RythmPlugin) arg;
   if ("_response_encoding".equals(name)) this._response_encoding = (java.lang.String) arg;
   if ("_renderArgs".equals(name)) this._renderArgs = (play.mvc.Scope.RenderArgs) arg;
   if ("_rythm".equals(name)) this._rythm = (com.greenlaw110.rythm.RythmEngine) arg;
   if ("error_parity".equals(name)) this.error_parity = (java.lang.String) arg;
   if ("_play".equals(name)) this._play = (play.Play) arg;
   super.setRenderArg(name, arg);
 }