package register;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequest;

public class RegisterActionForm extends ActionForm {
    private String accept;
    private String accepted;
    private String address;
    private String contactnum;
    private String emailid;
    private String name;
    public String getAccept() {
        return accept;
    }

    public void setAccept(String accept) {
        this.accept = accept;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setEmailid(String emailid) {
        this.emailid = emailid;
    }

    public void setContactnum(String contactnum) {
        this.contactnum = contactnum;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setAccepted(String accepted) {
        this.accepted = accepted;
    }

    public String getAccepted() {
        return accepted;
    }

    public String getAddress() {
        return address;
    }

    public String getContactnum() {
        return contactnum;
    }

    public String getEmailid() {
        return emailid;
    }

    public String getName() {
        return name;
    }

    public ActionErrors validate(ActionMapping actionMapping,
                                 HttpServletRequest httpServletRequest) {
            /** @todo: finish this method, this is just the skeleton.*/
        return null;
    }

    public void reset(ActionMapping actionMapping,
                      HttpServletRequest servletRequest) {
    }
}
