/*
 * Created on 2004-3-11
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package workflow.script;

/**
 * @author zosatapo
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public class ScriptParameter
{
  private Class type;
  
  private String name;
  private Object value;
   
  public ScriptParameter(String name_,Class type_,Object value_)
  {
    this.type=type_;
    this.name=name_;
    this.value=value_;
  }
   
  public Class getType()
  {
    return this.type;
  }
  
  public String getName()
  {
    return this.name;
  }
  
  public Object getValue()
  {
    return this.value;
  }
  
  public Object setValue(Object newValue)
  {
    Object oldValue=this.value;
    this.value=newValue;
    return oldValue;
  }
}
