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

jadex.gpmn.model.MPlanEdge Maven / Gradle / Ivy

Go to download

The Jadex GPMN (goal oriented process modeling notation) kernel provides a goal-oriented workflow kernel. The idea is that a workflow is specified as declarative goal hierarchy, which describes what has to be achieved to fulfill the workflow. At runtime goals are pursued by executing plans represented by standard BPMN workflows. The execution of goal-based workflows is achieved by conversion to BDI agents.

The newest version!
package jadex.gpmn.model;

/**
 *  An edge is a connection between 
 *  two diagram elements.
 */
public class MPlanEdge
{
	/** The id. */
	protected String id;
	
	/** The source ID */
	protected String sourceid;
	
	/** The target ID */
	protected String targetid;
	
	/**
	 *  Get the id.
	 *  @return The id.
	 */
	public String getId()
	{
		return this.id;
	}

	/**
	 *  Set the id.
	 *  @param id the id to set.
	 */
	public void setId(String id)
	{
		this.id = id;
	}

	/**
	 *  Get the sourceid.
	 *  @return The sourceid.
	 */
	public String getSourceId()
	{
		return sourceid;
	}

	/**
	 *  Set the sourceid.
	 *  @param sourceid The sourceid to set.
	 */
	public void setSourceId(String sourceid)
	{
		this.sourceid = sourceid;
	}

	/**
	 *  Get the targetid.
	 *  @return The targetid.
	 */
	public String getTargetId()
	{
		return targetid;
	}

	/**
	 *  Set the targetid.
	 *  @param targetid The targetid to set.
	 */
	public void setTargetId(String targetid)
	{
		this.targetid = targetid;
	}
	
	public String toString()
	{
		return "[Plan Edge " + id + " from " + sourceid + " to " + targetid + "]";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy