jadex.bpmn.runtime.handler.SplitInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-kernel-bpmn Show documentation
Show all versions of jadex-kernel-bpmn Show documentation
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.
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;
}
}