/**
 * 
 */
package org.richfaces.ui.model;

import java.util.HashMap;
import java.util.Map;

import javax.el.MethodExpression;

/**
 * @author asmirnov
 *
 */
public class StateImpl extends HashMap<String, Object> implements State {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 5521648998682443502L;
	
	private Map<String,String>navigations = new HashMap<String, String>();



	/* (non-Javadoc)
	 * @see org.richfaces.ui.model.State#getNavigation(java.lang.String)
	 */
	public String getNavigation(String outcome) {
		// TODO Auto-generated method stub
		return navigations.get(outcome);
	}


	public void setNavigation(String outcome, String navigation) {
		navigations.put(outcome, navigation);
		
	}


}
