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

com.aoindustries.website.ContactForm Maven / Gradle / Ivy

/*
 * Copyright 2009, 2016 by AO Industries, Inc.,
 * 7262 Bull Pen Cir, Mobile, Alabama, 36695, U.S.A.
 * All rights reserved.
 */
package com.aoindustries.website;

import java.io.Serializable;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.validator.ValidatorForm;

/**
 * @author  AO Industries, Inc.
 */
public class ContactForm extends ValidatorForm implements Serializable {

	private static final long serialVersionUID = 1L;

	private String from;
	private String subject;
	private String message;

	@Override
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		super.reset(mapping, request);
		setFrom("");
		setSubject("");
		setMessage("");
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy