actiondefinition.java

来自「反向的AJAX。最大的特性是我们成为反向的Ajax。DWR1.x允许你用java」· Java 代码 · 共 92 行

JAVA
92
字号
package org.directwebremoting.webwork;/** * A simple WebWork action invocation definition * (it is mapped to a <code>com.opensymphony.webwork.dispatcher.mapper.ActionMapping</code>). * * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a> */public class ActionDefinition{    /**     * @return Returns the action.     */    public String getAction()    {        return action;    }    /**     * @param action The action to set.     */    public void setAction(String action)    {        this.action = action;    }    /**     * @return Returns the executeResult.     */    public boolean isExecuteResult()    {        return executeResult;    }    /**     * @param executeResult The executeResult to set.     */    public void setExecuteResult(boolean executeResult)    {        this.executeResult = executeResult;    }    /**     * @return Returns the method.     */    public String getMethod()    {        return method;    }    /**     * @param method The method to set.     */    public void setMethod(String method)    {        this.method = method;    }    /**     * @return Returns the namespace.     */    public String getNamespace()    {        return namespace;    }    /**     * @param namespace The namespace to set.     */    public void setNamespace(String namespace)    {        this.namespace = namespace;    }    /* (non-Javadoc)     * @see java.lang.Object#toString()     */    public String toString()    {        return "[ActionDefinition: namespace=" + namespace + " action=" + action + " method=" + method + " executeResult=" + executeResult + "]";    }    protected String namespace;    protected String action;    protected String method;    protected boolean executeResult;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?