/* ===================================================================
 * UserCommand.java
 * 
 * Created Sep 20, 2004 6:04:03 PM
 * 
 * Copyright (c) 2004 Matt Magoffin (spamsqr@msqr.us)
 * 
 * This program is free software; you can redistribute it and/or 
 * modify it under the terms of the GNU General Public License as 
 * published by the Free Software Foundation; either version 2 of 
 * the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful, 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
 * General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License 
 * along with this program; if not, write to the Free Software 
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 
 * 02111-1307 USA
 * ===================================================================
 * $Id: UserCommand.java 26 2009-05-03 23:35:54Z msqr $
 * ===================================================================
 */

package magoffin.matt.ieat.util;

import magoffin.matt.ieat.biz.RecipeSearchBiz;

/**
 * Recipe command object.
 * 
 * @author Matt Magoffin (spamsqr@msqr.us)
 * @version $Revision: 26 $ $Date: 2009-05-04 11:35:54 +1200 (Mon, 04 May 2009) $
 */

public class UserCommand {
	
	private Integer userId;
	private RecipeSearchBiz.IndexCriteria index;
	
	/**
	 * @return the userId
	 */
	public Integer getUserId() {
		return userId;
	}
	
	/**
	 * @param userId the userId to set
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	
	/**
	 * @return the index
	 */
	public RecipeSearchBiz.IndexCriteria getIndex() {
		return index;
	}
	
	/**
	 * @param index the index to set
	 */
	public void setIndex(RecipeSearchBiz.IndexCriteria index) {
		this.index = index;
	}

}
