|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jbpm.pvm.impl.ProcessElementImpl
org.jbpm.pvm.impl.ObservableElementImpl
org.jbpm.pvm.impl.CompositeElementImpl
public class CompositeElementImpl
| Field Summary | |
|---|---|
protected boolean |
hasVariableDefinitions
|
protected java.util.List<NodeImpl> |
nodes
|
protected java.util.Map<java.lang.String,NodeImpl> |
nodesMap
|
protected java.util.List<VariableDefinitionImpl> |
variableDefinitions
|
| Fields inherited from class org.jbpm.pvm.impl.ObservableElementImpl |
|---|
description, events, name |
| Fields inherited from class org.jbpm.pvm.impl.ProcessElementImpl |
|---|
dbid, dbversion, exceptionHandlers, processDefinition, properties |
| Constructor Summary | |
|---|---|
CompositeElementImpl()
|
|
| Method Summary | |
|---|---|
Node |
addNode(NodeImpl node)
|
Node |
createNode()
creates a nested node. |
NodeImpl |
createNode(java.lang.String nodeName)
creates a nested node with the given name. |
Node |
findNode(java.lang.String nodeName)
searches for the given node in this node, including this node and all child nodes recursively. |
NodeImpl |
getNode(java.lang.String nodeName)
the first nested node with the given name or null of no such node exists. |
java.util.List<Node> |
getNodes()
the list of nested activities. |
java.util.Map<java.lang.String,Node> |
getNodesMap()
the nested activities, keyed by node name. |
java.util.List<VariableDefinition> |
getVariableDefinitions()
|
boolean |
hasNode(java.lang.String nodeName)
is this node present ? |
boolean |
hasNodes()
indicates if this processDefinition has nodes. |
boolean |
removeNode(NodeImpl node)
removes the given node from the nested activities. |
void |
setVariableDefinitions(java.util.List<VariableDefinitionImpl> variableDefinitions)
|
| Methods inherited from class org.jbpm.pvm.impl.ObservableElementImpl |
|---|
addEvent, createEvent, getDescription, getEvent, getEvents, getName, getParent, hasEvent, setDescription, setEvents, setName |
| Methods inherited from class org.jbpm.pvm.impl.ProcessElementImpl |
|---|
addExceptionHandler, addProperty, createExceptionHandler, getDbid, getExceptionHandlers, getProcessDefinition, getProperties, getProperty, getPropertyKeys, setExceptionHandlers, setProcessDefinition, setProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jbpm.pvm.ObservableElement |
|---|
getDescription, getEvent, getEvents, getName, getParent, hasEvent |
| Methods inherited from interface org.jbpm.pvm.ProcessElement |
|---|
getDbid, getExceptionHandlers, getProcessDefinition, getProperty, getPropertyKeys |
| Field Detail |
|---|
protected java.util.List<NodeImpl> nodes
protected boolean hasVariableDefinitions
protected java.util.List<VariableDefinitionImpl> variableDefinitions
protected transient java.util.Map<java.lang.String,NodeImpl> nodesMap
| Constructor Detail |
|---|
public CompositeElementImpl()
| Method Detail |
|---|
public Node createNode()
public NodeImpl createNode(java.lang.String nodeName)
nodeName - may be null.public Node addNode(NodeImpl node)
public boolean removeNode(NodeImpl node)
public NodeImpl getNode(java.lang.String nodeName)
getNode in interface CompositeElementpublic boolean hasNode(java.lang.String nodeName)
hasNode in interface CompositeElementpublic Node findNode(java.lang.String nodeName)
CompositeElement
findNode in interface CompositeElementpublic java.util.List<Node> getNodes()
getNodes in interface CompositeElementpublic java.util.Map<java.lang.String,Node> getNodesMap()
getNodesMap in interface CompositeElementpublic boolean hasNodes()
hasNodes in interface CompositeElementpublic java.util.List<VariableDefinition> getVariableDefinitions()
public void setVariableDefinitions(java.util.List<VariableDefinitionImpl> variableDefinitions)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||