org.ow2.bonita.pvm.internal.model
Class ProcessElementImpl

java.lang.Object
  extended by org.ow2.bonita.pvm.internal.model.ProcessElementImpl
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EventImpl, ObjectReference, ObservableElementImpl

public class ProcessElementImpl
extends java.lang.Object
implements java.io.Serializable

superclass for NodeImpl, TransitionImpl and PVMProcessDefinitionImpl.

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  long dbid
           
protected  int dbversion
           
protected  java.util.List<ExceptionHandlerImpl> exceptionHandlers
           
protected  PVMProcessDefinitionImpl processDefinition
           
protected  WireProperties properties
           
 
Constructor Summary
ProcessElementImpl()
           
 
Method Summary
 void addExceptionHandler(ExceptionHandlerImpl exceptionHandler)
           
 void addProperty(Descriptor descriptor)
           
 ExceptionHandlerImpl createExceptionHandler()
           
 long getDbid()
          the database id.
 java.util.List<ExceptionHandlerImpl> getExceptionHandlers()
           
 OpenProcessDefinition getProcessDefinition()
           
 WireProperties getProperties()
           
 java.lang.Object getProperty(java.lang.String key)
           
 java.util.Set<java.lang.String> getPropertyKeys()
           
 void setExceptionHandlers(java.util.List<ExceptionHandlerImpl> exceptionHandlers)
           
 void setProcessDefinition(PVMProcessDefinitionImpl processDefinition)
           
 void setProperties(WireProperties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dbid

protected long dbid

dbversion

protected int dbversion

processDefinition

protected PVMProcessDefinitionImpl processDefinition

exceptionHandlers

protected java.util.List<ExceptionHandlerImpl> exceptionHandlers

properties

protected WireProperties properties
Constructor Detail

ProcessElementImpl

public ProcessElementImpl()
Method Detail

createExceptionHandler

public ExceptionHandlerImpl createExceptionHandler()

addExceptionHandler

public void addExceptionHandler(ExceptionHandlerImpl exceptionHandler)

addProperty

public void addProperty(Descriptor descriptor)

getProperty

public java.lang.Object getProperty(java.lang.String key)

getPropertyKeys

public java.util.Set<java.lang.String> getPropertyKeys()

getDbid

public long getDbid()
the database id.


getProcessDefinition

public OpenProcessDefinition getProcessDefinition()

setProcessDefinition

public void setProcessDefinition(PVMProcessDefinitionImpl processDefinition)

getProperties

public WireProperties getProperties()

setProperties

public void setProperties(WireProperties properties)

getExceptionHandlers

public java.util.List<ExceptionHandlerImpl> getExceptionHandlers()

setExceptionHandlers

public void setExceptionHandlers(java.util.List<ExceptionHandlerImpl> exceptionHandlers)


Copyright © 2009 OW2 Consortium. All Rights Reserved.