|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.agila.impl.BusinessProcessImpl
public class BusinessProcessImpl
simple implementation of a business process. really just a holder for the node/connection graph.
Constructor Summary | |
---|---|
BusinessProcessImpl()
|
|
BusinessProcessImpl(BusinessProcess businessProcess)
|
Method Summary | |
---|---|
void |
addConnection(int startNodeID,
int endNodeID,
java.lang.String name)
|
void |
addNode(Node n)
|
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()
|
void |
registerNode(Node n)
|
void |
setBusinessProcessID(BusinessProcessID id)
|
void |
setGraphAsXML(java.lang.String graph)
|
void |
setName(java.lang.String name)
|
void |
setRoot(Node node)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BusinessProcessImpl()
public BusinessProcessImpl(BusinessProcess businessProcess)
Method Detail |
---|
public void addNode(Node n)
public void registerNode(Node n)
public int getNodeCount()
BusinessProcess
getNodeCount
in interface BusinessProcess
public void addConnection(int startNodeID, int endNodeID, java.lang.String name)
public java.lang.String getName()
BusinessProcess
getName
in interface BusinessProcess
public void setName(java.lang.String name)
public void setBusinessProcessID(BusinessProcessID id)
public BusinessProcessID getBusinessProcessID()
BusinessProcess
getBusinessProcessID
in interface BusinessProcess
public Node getRoot()
BusinessProcess
getRoot
in interface BusinessProcess
public void setRoot(Node node)
public Node getNode(NodeID nodeId)
BusinessProcess
getNode
in interface BusinessProcess
public java.lang.String getGraphAsXML()
getGraphAsXML
in interface BusinessProcess
public void addVariable(Variable v)
addVariable
in interface BusinessProcess
public java.util.Map getVariables()
getVariables
in interface BusinessProcess
public void setGraphAsXML(java.lang.String graph)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |