org.smartcomps.twister.engine.priv.core.definition.impl
Class ProcessImpl
java.lang.Object
|
+--org.smartcomps.twister.engine.priv.core.definition.impl.ProcessImpl
- All Implemented Interfaces:
- TwisterProcess
- public class ProcessImpl
- extends java.lang.Object
- implements TwisterProcess
Persistent implementation of the TwisterProcess interface.
- See Also:
TwisterProcess
Method Summary |
void |
addCorrelationSet(org.smartcomps.twister.engine.priv.core.definition.CorrelationSet set)
|
void |
addInstance(org.smartcomps.twister.engine.priv.core.dynamic.ProcessInstance context)
|
void |
addProperty(org.smartcomps.twister.engine.priv.core.definition.Property prop)
|
org.smartcomps.twister.engine.priv.core.dynamic.ProcessInstance |
execute(java.lang.String correlationSetName,
java.util.Map correlation)
|
org.smartcomps.twister.engine.priv.core.definition.Activity |
getActivity()
|
org.smartcomps.twister.engine.priv.core.definition.CorrelationSet |
getCorrelationSet(java.lang.String setName)
|
java.util.Collection |
getCorrelationSets()
|
java.lang.Long |
getId()
|
java.util.Collection |
getInstances()
|
java.lang.String |
getName()
|
protected org.smartcomps.twister.engine.priv.core.dynamic.ProcessInstanceFactory |
getProcessInstanceFactory()
|
java.util.Collection |
getProperties()
|
org.smartcomps.twister.engine.priv.core.definition.Property |
getProperty(java.lang.String propName)
|
void |
setActivity(org.smartcomps.twister.engine.priv.core.definition.Activity activity)
|
void |
setCorrelationSets(java.util.Collection correlationSets)
|
void |
setId(java.lang.Long id)
|
void |
setInstances(java.util.Collection instances)
|
void |
setName(java.lang.String name)
|
void |
setProperties(java.util.Collection properties)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessImpl
public ProcessImpl()
getId
public java.lang.Long getId()
setId
public void setId(java.lang.Long id)
getName
public java.lang.String getName()
- Specified by:
getName
in interface TwisterProcess
setName
public void setName(java.lang.String name)
getActivity
public org.smartcomps.twister.engine.priv.core.definition.Activity getActivity()
- Specified by:
getActivity
in interface TwisterProcess
setActivity
public void setActivity(org.smartcomps.twister.engine.priv.core.definition.Activity activity)
getInstances
public java.util.Collection getInstances()
- Specified by:
getInstances
in interface TwisterProcess
setInstances
public void setInstances(java.util.Collection instances)
addInstance
public void addInstance(org.smartcomps.twister.engine.priv.core.dynamic.ProcessInstance context)
getCorrelationSets
public java.util.Collection getCorrelationSets()
- Specified by:
getCorrelationSets
in interface TwisterProcess
getCorrelationSet
public org.smartcomps.twister.engine.priv.core.definition.CorrelationSet getCorrelationSet(java.lang.String setName)
- Specified by:
getCorrelationSet
in interface TwisterProcess
setCorrelationSets
public void setCorrelationSets(java.util.Collection correlationSets)
addCorrelationSet
public void addCorrelationSet(org.smartcomps.twister.engine.priv.core.definition.CorrelationSet set)
getProperties
public java.util.Collection getProperties()
- Specified by:
getProperties
in interface TwisterProcess
getProperty
public org.smartcomps.twister.engine.priv.core.definition.Property getProperty(java.lang.String propName)
- Specified by:
getProperty
in interface TwisterProcess
setProperties
public void setProperties(java.util.Collection properties)
addProperty
public void addProperty(org.smartcomps.twister.engine.priv.core.definition.Property prop)
execute
public org.smartcomps.twister.engine.priv.core.dynamic.ProcessInstance execute(java.lang.String correlationSetName,
java.util.Map correlation)
throws EngineException
EngineException
getProcessInstanceFactory
protected org.smartcomps.twister.engine.priv.core.dynamic.ProcessInstanceFactory getProcessInstanceFactory()
Copyright © 2003 SmartComps. All Rights Reserved.