org.apache.agila.model
Interface BusinessProcess

All Known Implementing Classes:
BusinessProcessImpl

public interface BusinessProcess

Simple interface to contain the object graph of a workflow process.

Version:
$Id: $
Author:
Geir Magnusson Jr.

Method Summary
 void addVariable(Variable v)
           
 BusinessProcessID getBusinessProcessID()
          Returns the system-specified unique ID of this graph
 java.lang.String getGraphAsXML()
          Returns the workflow graph in it's XML representation
 java.lang.String getName()
          returns the name of the business process
 Node getNode(NodeID nodeId)
          Returns a given node, by ID, from the graph
 int getNodeCount()
          Returns the number of nodes
 Node getRoot()
          Returns the node designated as the 'start' node of the graph
 java.util.Map getVariables()
           
 

Method Detail

getName

java.lang.String getName()
returns the name of the business process

Returns:

getBusinessProcessID

BusinessProcessID getBusinessProcessID()
Returns the system-specified unique ID of this graph

Returns:

getRoot

Node getRoot()
Returns the node designated as the 'start' node of the graph

Returns:

getNode

Node getNode(NodeID nodeId)
Returns a given node, by ID, from the graph

Parameters:
nodeId -
Returns:

getNodeCount

int getNodeCount()
Returns the number of nodes


getGraphAsXML

java.lang.String getGraphAsXML()
Returns the workflow graph in it's XML representation

Returns:

addVariable

void addVariable(Variable v)

getVariables

java.util.Map getVariables()


Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.