org.jbpm.pvm.internal.model
Class ScopeElementImpl

java.lang.Object
  extended by org.jbpm.pvm.internal.model.ProcessElementImpl
      extended by org.jbpm.pvm.internal.model.ObservableElementImpl
          extended by org.jbpm.pvm.internal.model.ScopeElementImpl
All Implemented Interfaces:
java.io.Serializable, ObservableElement
Direct Known Subclasses:
CompositeElementImpl

public class ScopeElementImpl
extends ObservableElementImpl

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  java.util.Set<TimerDefinitionImpl> timerDefinitions
           
protected  java.util.List<VariableDefinitionImpl> variableDefinitions
           
 
Fields inherited from class org.jbpm.pvm.internal.model.ObservableElementImpl
description, events, name
 
Fields inherited from class org.jbpm.pvm.internal.model.ProcessElementImpl
dbid, dbversion, exceptionHandlers, processDefinition, properties
 
Constructor Summary
ScopeElementImpl()
           
 
Method Summary
 void addTimerDefinition(TimerDefinitionImpl timerDefinition)
          Associates the given timer definition with this scope element.
 TimerDefinitionImpl createTimerDefinition()
          Creates an empty TimerDefinitionImpl and associates it with this scope element.
 VariableDefinitionImpl createVariableDefinition()
           
 java.util.Set<TimerDefinitionImpl> getTimerDefinitions()
           
 java.util.List<VariableDefinitionImpl> getVariableDefinitions()
           
 boolean hasTimerDefinitions()
           
 boolean hasVariableDefinitions()
           
 boolean isLocalScope()
           
 
Methods inherited from class org.jbpm.pvm.internal.model.ObservableElementImpl
addEvent, createEvent, getDescription, getEvent, getEvents, getName, getParent, hasEvent, setDescription, setName
 
Methods inherited from class org.jbpm.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.jbpm.pvm.internal.model.ObservableElement
getDbid, getProcessDefinition, getProperty, getPropertyKeys
 

Field Detail

variableDefinitions

protected java.util.List<VariableDefinitionImpl> variableDefinitions

timerDefinitions

protected java.util.Set<TimerDefinitionImpl> timerDefinitions
Constructor Detail

ScopeElementImpl

public ScopeElementImpl()
Method Detail

isLocalScope

public boolean isLocalScope()

hasVariableDefinitions

public boolean hasVariableDefinitions()

getVariableDefinitions

public java.util.List<VariableDefinitionImpl> getVariableDefinitions()

createVariableDefinition

public VariableDefinitionImpl createVariableDefinition()

hasTimerDefinitions

public boolean hasTimerDefinitions()

getTimerDefinitions

public java.util.Set<TimerDefinitionImpl> getTimerDefinitions()

createTimerDefinition

public TimerDefinitionImpl createTimerDefinition()
Creates an empty TimerDefinitionImpl and associates it with this scope element.


addTimerDefinition

public void addTimerDefinition(TimerDefinitionImpl timerDefinition)
Associates the given timer definition with this scope element.



Copyright © 2010 JBoss Community. All Rights Reserved.