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

import java.io.Serializable;

import workflow.WorkflowElement;

/**
 * @author reic
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public class LiveElement implements Serializable
{
	protected String uuid;
	protected String name;
	protected String description;

	/** 
	 * Construct a new Element.
	 */
	public LiveElement()
	{
	}

	/** 
	 * Construct a new Element.
	 */
	public LiveElement(WorkflowElement element)
	{
		this.uuid=element.getUUID();
		this.name=element.getName();
		this.description=element.getDescription();
	}
	
	/** Get the workflow element's ID.
	
		@return The ID
	*/
	public String getUUID()
	{
		return uuid;
	}

	/** Get the workflow element's name.
	 *  @return The name
	 */

	public String getName()
	{
		return name;
	}

	/** Set the workflow element's name.
	
		@param name The new name
	*/

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

	/** Get the workflow element's description.
	
		@return The description
	*/

	public String getDescription()
	{
		return description;
	}

	/** Set the workflow element's description.
	
		@param description The new description
	*/

	public void setDescription(String description)
	{
		this.description = description;
	}
}
