All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.bpmn.runtime.handler.SplitInfo Maven / Gradle / Ivy

Go to download

The Jadex BPMN kernel provides a workflow kernel for the standardized business process modeling notation. The kernel relies on annotated BPMN diagrams, which include detailed execution information.

There is a newer version: 4.0.267
Show newest version
package jadex.bpmn.runtime.handler;

import java.util.Set;

/**
 *  Keep information about a thread spawned at a split gateway used later when processing
 *  the corresponding join.
 */
public class SplitInfo
{
	//-------- attributes --------
	
	/** The split id (the same for all threads spawned at the same split). */
	protected String	splitid;
	
	/** The path id (unique for each spawned thread). */
	protected String	pathid;
	
	/** All path ids belonging to the split id. */
	protected Set	pathids;
	
	//-------- constructors --------
	
	public SplitInfo()
	{
	}
	
	/**
	 *  Create a new split info.
	 */
	public SplitInfo(String splitid, String pathid, Set pathids)
	{
		this.splitid	= splitid;
		this.pathid	= pathid;
		this.pathids	= pathids;
	}
	
	//-------- methods --------

	/**
	 *  Get the split id.
	 */
	public String	getSplitId()
	{
		return splitid;
	}
	
	/**
	 *  Get the path id.
	 */
	public String	getPathId()
	{
		return pathid;
	}
	
	/**
	 *  Get the path ids of the split.
	 */
	public Set	getPathIds()
	{
		return pathids;
	}

	/**
	 *  Gets the splitid.
	 *
	 *  @return The splitid.
	 */
	public String getSplitid()
	{
		return splitid;
	}

	/**
	 *  Sets the splitid.
	 *
	 *  @param splitid The splitid to set.
	 */
	public void setSplitid(String splitid)
	{
		this.splitid = splitid;
	}

	/**
	 *  Gets the pathid.
	 *
	 *  @return The pathid.
	 */
	public String getPathid()
	{
		return pathid;
	}

	/**
	 *  Sets the pathid.
	 *
	 *  @param pathid The pathid to set.
	 */
	public void setPathid(String pathid)
	{
		this.pathid = pathid;
	}

	/**
	 *  Gets the pathids.
	 *
	 *  @return The pathids.
	 */
	public Set getPathids()
	{
		return pathids;
	}

	/**
	 *  Sets the pathids.
	 *
	 *  @param pathids The pathids to set.
	 */
	public void setPathids(Set pathids)
	{
		this.pathids = pathids;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy