| java.lang.Object xflow.common.DirectedGraph
DirectedGraph | public DirectedGraph()(Code) | | Constructor
|
DirectedGraph | public DirectedGraph(String name)(Code) | | Creates a new instance of DirectedGraph with name
Parameters: name - The name of the graph |
DirectedGraph | public DirectedGraph(String name, int vers)(Code) | | Creates a new instance of DirectedGraph with name and version
Parameters: name - The name of the graph Parameters: version - The version of the graph |
getGraphId | public int getGraphId()(Code) | | |
getNode | public Node getNode(int nodeId)(Code) | | Gets a node given the node Id
|
getNode | public Node getNode(String nodeName)(Code) | | Gets a node given the node name
|
getRootNode | public Node getRootNode()(Code) | | Gets the root node of this graph
|
getVersion | public int getVersion()(Code) | | |
loadByGraphId | public static DirectedGraph loadByGraphId(int gid) throws XflowException(Code) | | Retrieves a graph from the Database using graph ID, including all of its nodes.
|
loadDB | public void loadDB() throws XflowException(Code) | | Retrieves a graph from the Database, including all of its nodes.
|
saveDB | public void saveDB() throws XflowException(Code) | | Save the graph and all its nodes to the Database.
|
setGraphId | public void setGraphId(int i)(Code) | | |
setRootNode | public void setRootNode(Node node)(Code) | | Sets the root node of this graph.
Node, the root node |
setVersion | public void setVersion(int v)(Code) | | |
|
|