/** * Set the name of the form attribute in the model. * <p>May be a runtime expression. */ publicvoidsetModelAttribute(String modelAttribute){ this.modelAttribute = modelAttribute; }
/** * Get the name of the form attribute in the model. */ protected String getModelAttribute(){ returnthis.modelAttribute; }
/** * Set the name of the form attribute in the model. * <p>May be a runtime expression. * @see #setModelAttribute */ publicvoidsetCommandName(String commandName){ this.modelAttribute = commandName; }
/** * Get the name of the form attribute in the model. * @see #getModelAttribute */ protected String getCommandName(){ returnthis.modelAttribute; }