All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.directwebremoting.webwork.ActionDefinition Maven / Gradle / Ivy


package org.directwebremoting.webwork;

/**
 * A simple WebWork action invocation definition
 * (it is mapped to a com.opensymphony.webwork.dispatcher.mapper.ActionMapping).
 *
 * @author Alexandru Popescu
 */
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;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy