|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.orchestra.pvm.internal.model.ProcessElementImpl
org.ow2.orchestra.pvm.internal.model.ObservableElementImpl
org.ow2.orchestra.pvm.internal.model.CompositeElementImpl
public abstract class CompositeElementImpl
| Field Summary | |
|---|---|
protected boolean |
hasTimerDefinitions
|
protected boolean |
hasVariableDefinitions
|
protected List<NodeImpl> |
nodes
|
protected Map<String,NodeImpl> |
nodesMap
|
protected Set<TimerDefinitionImpl> |
timerDefinitions
|
protected List<VariableDefinitionImpl> |
variableDefinitions
|
| Fields inherited from class org.ow2.orchestra.pvm.internal.model.ObservableElementImpl |
|---|
description, events, name |
| Fields inherited from class org.ow2.orchestra.pvm.internal.model.ProcessElementImpl |
|---|
dbid, dbversion, exceptionHandlers, processDefinition, properties |
| Constructor Summary | |
|---|---|
CompositeElementImpl()
|
|
| Method Summary | |
|---|---|
Node |
addNode(NodeImpl node)
|
Node |
createNode()
creates a nested node. |
NodeImpl |
createNode(String nodeName)
creates a nested node with the given name. |
TimerDefinitionImpl |
createTimerDefinition()
|
VariableDefinitionImpl |
createVariableDefinition()
|
Node |
findNode(String nodeName)
searches for the given node in this node, including this node and all child nodes recursively. |
NodeImpl |
getNode(String nodeName)
the first nested node with the given name or null of no such node exists. |
List<Node> |
getNodes()
the list of nested activities. |
Map<String,Node> |
getNodesMap()
the nested activities, keyed by node name. |
Set<TimerDefinitionImpl> |
getTimerDefinitions()
|
List<VariableDefinitionImpl> |
getVariableDefinitions()
|
boolean |
hasNode(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. |
| Methods inherited from class org.ow2.orchestra.pvm.internal.model.ObservableElementImpl |
|---|
addEvent, createEvent, getDescription, getEvent, getEvents, getName, getParent, hasEvent, setDescription, setEvents, setName |
| Methods inherited from class org.ow2.orchestra.pvm.internal.model.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.ow2.orchestra.pvm.model.ObservableElement |
|---|
getDbid, getName, getParent, getProcessDefinition, getProperty, getPropertyKeys, hasEvent |
| Field Detail |
|---|
protected List<NodeImpl> nodes
protected boolean hasVariableDefinitions
protected List<VariableDefinitionImpl> variableDefinitions
protected boolean hasTimerDefinitions
protected Set<TimerDefinitionImpl> timerDefinitions
protected transient Map<String,NodeImpl> nodesMap
| Constructor Detail |
|---|
public CompositeElementImpl()
| Method Detail |
|---|
public Node createNode()
public NodeImpl createNode(String nodeName)
nodeName - may be null.public Node addNode(NodeImpl node)
public boolean removeNode(NodeImpl node)
public NodeImpl getNode(String nodeName)
getNode in interface CompositeElementpublic boolean hasNode(String nodeName)
hasNode in interface CompositeElementpublic Node findNode(String nodeName)
CompositeElement
findNode in interface CompositeElementpublic List<Node> getNodes()
getNodes in interface CompositeElementpublic Map<String,Node> getNodesMap()
getNodesMap in interface CompositeElementpublic boolean hasNodes()
hasNodes in interface CompositeElementpublic List<VariableDefinitionImpl> getVariableDefinitions()
public VariableDefinitionImpl createVariableDefinition()
public Set<TimerDefinitionImpl> getTimerDefinitions()
public TimerDefinitionImpl createTimerDefinition()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||