/**
 * 
 */
package org.ajax4jsf.model;

/**
 * Action parameter object for proper JAVA type converter
 * @author Andrey Markavtsov
 *
 */
public class ActionParamObject2 {
	String name;
	String date;
	
	public ActionParamObject2(String name) {
		super();
		this.name = name;
	}
	
	@Override
	public boolean equals(Object obj) {
		if (!(obj instanceof ActionParamObject)) {
			return false;
		}
		
		ActionParamObject o = (ActionParamObject)obj;
		return o.name.equals(this.name) && o.date.equals(this.date);
	}

	public String getName() {
		return name;
	}

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

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}
}
