public class ModelInstance extends Object implements Collectible, ModelInstanceAware
Modifier and Type | Class and Description |
---|---|
protected static class |
ModelInstance.BaseLevelIdMap
Space optimized map of baseLevelId -> List<
|
Modifier and Type | Field and Description |
---|---|
static String |
SCHEMA_NAMESPACE
ModelInstance schema namespace.
|
Modifier | Constructor and Description |
---|---|
protected |
ModelInstance()
Creates new empty instance of
ModelInstance . |
|
ModelInstance(long id,
long modelId,
Long modelInstanceMigrationId,
String modelName,
String modelVersion,
String modelHash,
CompatibilityVersion compatibilityVersion,
boolean createProcessLog,
Map<String,String> properties,
Long parentId,
ModelInstanceState state,
ModelInstanceType type,
Date startedDate,
Date finishedDate,
ModelInstanceResourceAllocator idAllocator,
long maxAllocatedId,
long currentId,
Set<Context> topNoBaseLevelContexts,
Long detachmentId,
Long detachingTaskId,
Set<String> evaluationLevelsOnDetach,
boolean isUsingEvaluationLevels)
Creates new instance of
ModelInstance . |
|
ModelInstance(long id,
long modelId,
String modelName,
String modelVersion,
String modelHash,
CompatibilityVersion compatibilityVersion,
ModelInstanceType type,
boolean createProcessLog,
Long parentId,
Map<String,String> properties,
ModelInstanceResourceAllocator idAllocator)
Creates new instance of
ModelInstance . |
|
ModelInstance(SModelInstance smi)
Creates a model instance from its serialization companion class.
|
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener listener)
Adds change listener.
|
void |
addChangeListeners(Collection<? extends ChangeListener> listeners)
Adds change listeners.
|
void |
addEntityHolder(Object entity,
ExternalRecordHolder holder)
Adds entity - holder pair
|
void |
addEscalation(Escalation escalation)
Adds an escalation to this model instance.
|
void |
addExecutionTrace(ExecutionTrace et)
Adds an execution trace.
|
void |
addExecutionTraceElement(ExecutionTraceElement e)
Adds an execution trace element.
|
void |
addExternalRecordListener(ExternalRecordListener listener)
Adds an external record listener.
|
void |
addLastPersisted(ExternalValue value)
Add to last persisted objects.
|
ModuleInstance |
addModuleInstance(ModuleInstance moduleInstance)
Adds a module to this model instance.
|
ModuleInstance |
addNewModuleInstance(Context context)
Adds new module instance.
|
ModuleInstance |
addNewModuleInstance(com.whitestein.lsps.model.ProcessModel processModel)
Adds new module instance.
|
void |
addProcessLog(ProcessLog log)
Adds a process log.
|
void |
addProperty(String name,
String value)
Adds a property.
|
void |
addProxySet(RecordProxySetValue proxySet) |
void |
addSignal(Signal signal)
Adds a signal.
|
Signal |
addSignal(Value val)
Adds a new signal.
|
Signal |
addSignal(Value val,
String sourceDescritpion)
Adds a new signal.
|
void |
addTopNoBaseLevelContext(Context context)
adds top no-base level context
|
void |
addValue(EntityWithId val)
Adds value.
|
void |
clearLoadedEntities()
Removes shared runtime values.
|
void |
clearRuntimeValues()
Clears all cached values inside runtime value objects.
|
void |
collect()
Removes itself from the process.
|
void |
collectGarbage()
Collects all
Collectible s which are not persistent and are not
directly or indirectly referenced from a persistent collectible. |
void |
collectGarbageExclude(Collection<? extends Collectible> toRetain)
Collects all
Collectible s which are not persistent and are not
directly or indirectly referenced from a persistent collectible and are not
in the toRetain collection. |
CopyHelper |
createCopyHelper() |
void |
detach(long detachingTaskId,
boolean isUsingEvaluationLevels)
Detach this model instance.
|
ExternalValue |
findCreateExternalValue(String typeString,
String primaryKeyString,
Long processInstanceId)
Finds an existing external value for the type and primary key.
|
ExternalValue |
findCreateExternalValue(String typeString,
String primaryKeyString,
Long processInstanceId,
Long revisionId)
Finds an existing external value for the type and primary key.
|
ExternalValue |
findExternalValue(String typeString,
String objectIdentification,
Long revisionId)
Finds an existing external value for the type and primary key.
|
void |
fireChange(Change change)
Fires a change.
|
void |
fireExternalRecordPropertyAccess(ExternalRecordPropertyAccessEvent event)
Fires an event that external record property was accessed.
|
Collection<? extends EvaluationLevelAware> |
getAllEntitiesInLevel(String level)
Returns all entities in a level.
|
<T extends EvaluationLevelAware> |
getAllEntitiesInLevel(String level,
Class<T> entityClass)
Returns all entities of a given class in a given level.
|
Collection<? extends EvaluationLevelAware> |
getAllEntitiesInLevels(Collection<String> levels)
Returns all entities in given levels.
|
Collection<EvaluationLevelAware> |
getAllEvaluationLevelAwareEntities()
Returns all evaluation aware entities from this model instance.
|
List<? extends EvaluationLevelAware> |
getAllLevelEntities(long baseLevelId)
Returns all entities that have same base evaluation level entity id.
|
Collection<RecordValue> |
getAllNotPersistedRecords(RecordType recordType,
String level,
boolean includeLowerLevels)
Returns all records of the type that exists in the evaluation level that are not persisted to the database.
|
Object |
getApplicationData(String key)
Returns application data.
|
Long |
getBaseLevelEntityIdforEntity(long entityId)
Returns id of the base level entity corresponding to the entity with the specified id.
|
CompatibilityVersion |
getCompatibilityVersion(ModelProvider modelProvider)
Returns compatibility version.
|
CompiledContext |
getCompiledContext(ModelProvider modelProvider,
String moduleName,
String evaluationLevel) |
ComplexValue |
getComplexValue(long id)
Returns complex value for given id.
|
ComplexValue |
getComplexValue(String level,
long baseId)
Returns complex value for given level and baseValueId.
|
Context |
getContext(long id)
Returns context from this model instance for the given id.
|
Context |
getContext(String level,
long baseId)
Returns context from this model instance for the given level and baseContextId.
|
RuntimeToPersistentConverter |
getConverter(ModelProvider modelProvider)
Lazily creates a runtime converter.
|
long |
getCurrentId()
Returns the current id.
|
Long |
getCurrentInvocationTimestamp()
Returns current invocation timestamp
|
ProcessInstance |
getCurrentProcessInstance()
Gets current process instance.
|
Token |
getCurrentToken()
Gets currently handled token.
|
Long |
getDetachingTaskId()
Returns id of a task for which the detached model instance is created.
|
Long |
getDetachmentId()
Returns the last allocated detachment id.
|
String |
getDocumentDescription()
Gets a description of a document or
null if no document
description has been set for this model instance. |
<T extends EntityWithId> |
getEntities(Class<T> entityClass)
Returns a collection of all registered entities for the specified type.
|
EntityWithId |
getEntity(long id)
Returns an entity for the specified id.
|
<T extends EntityWithId> |
getEntity(long id,
Class<T> entityClass)
Returns an entity for the specified id and entity class.
|
List<Escalation> |
getEscalations()
Returns a new list which holds all escalations in the model instance.
|
Set<String> |
getEvaluationLevels()
Returns all current evaluation levels.
|
Set<String> |
getEvaluationLevelsOnDetach()
Set of used evaluation levels at the moment of detachment.
|
ExecutionTrace |
getExecutionTrace() |
List<ExternalRecordListener> |
getExternalRecordListeners()
Returns an unmodifiable list of external record listeners.
|
Map<ExternalValueUniqueKey,ExternalValue> |
getExternalValues()
Returns map of entity identification -> external value
|
Date |
getFinishedDate()
Returns the finished date.
|
ExternalRecordHolder |
getHolderForEntity(Object entity)
Returns holder for an entity.
|
Long |
getId()
Returns the id.
|
ModelInstanceResourceAllocator |
getIdAllocator()
Returns value id allocator.
|
List<ExternalValue> |
getLastPersisted()
Returns records persisted during last evaluation level merge.
|
List<ProcessLog> |
getLogs()
Returns list of process logs.
|
ModuleInstance |
getMainModuleInstance()
Returns the main module (the first module).
|
long |
getMaxAllocatedId()
Returns maximal allocated id.
|
String |
getModelHash()
Returns the model hash.
|
long |
getModelId()
Returns the model id.
|
ModelInstance |
getModelInstance()
Returns the model instance.
|
Long |
getModelInstanceMigrationId()
Returns the model instance migration id.
|
String |
getModelName()
Returns the model name.
|
String |
getModelVersion()
Returns the model version.
|
ModuleInstance |
getModuleInstance(String name)
Returns module from this model instance for the given name.
|
Collection<ModuleInstance> |
getModuleInstances()
Returns all modules in this model instance.
|
Long |
getParentId()
Returns the parent id.
|
ProcessInstance |
getProcessInstance(long id)
Returns process instance from this model instance for the given id.
|
Collection<ProcessInstance> |
getProcessInstances()
Returns a collection of all registered process instances.
|
Map<String,String> |
getProperties()
Returns the properties
|
String |
getProperty(String name)
Returns value of the property.
|
RecordProxySetValue |
getProxySet(long id) |
Collection<RecordProxySetValue> |
getProxySets() |
Collection<Collectible> |
getReferences()
Returns collection of all referenced collectible objects.
|
HolderImpl<? extends ComplexValue> |
getRuntimeValue(ComplexValue value) |
Signal |
getSignal(long id)
Returns signal from this model instance for the given id.
|
Collection<Signal> |
getSignals()
Returns the signals as an unmodifiable view.
|
Date |
getStartedDate()
Returns the started date.
|
ModelInstanceState |
getState()
Returns life-cycle state.
|
Task |
getTask(long id)
Returns task from this model instance for the given id.
|
Collection<Task> |
getTasks()
Returns a collection of all model instance tasks.
|
List<ExternalRecordHolder> |
getToBeRemoved()
Auxiliary collections used for deleting records.
|
Set<Context> |
getTopNoBaseLevelContexts()
Returns top contexts from evaluation levels higher that base level.
|
ModelInstanceType |
getType()
Returns model instance type.
|
Collection<ComplexValue> |
getValues()
Returns the model instance complex values.
|
boolean |
isCanClearRuntimeValues()
Returns true if cleaning of runtime values is on.
|
boolean |
isCreateProcessLog() |
boolean |
isDetached()
Returns true if the model instance is detached.
|
boolean |
isDirty()
Returns true if the model instance is dirty.
|
boolean |
isDocument()
Returns true if the model instance stores state of document.
|
boolean |
isEvaluation()
Returns true if the model instance is used for expression evaluation.
|
boolean |
isFinished()
Returns true if the model instance is finished.
|
boolean |
isFormPreview()
Returns true if the model instance stores state of form preview.
|
boolean |
isMonitoringChanged() |
boolean |
isPersistent()
Returns true if this object cannot be collected.
|
boolean |
isProcess()
Returns true if the model instance stores state of execution of processes.
|
boolean |
isTrackingDirty()
Returns true if tracking of dirtiness is switched on.
|
boolean |
isTrackingVersions()
Returns true if versions of shared entities are tracked so what optimistic locking can be chacked.
|
boolean |
isUsingEvaluationLevels()
Returns true is a detached model instance is using evaluation levels.
|
ModelInstance |
makeCopy()
Returns deep copy of the model instance.
|
long |
nextId()
Returns next id and increments the id counter.
|
void |
rebind(ModelInstance modelInstance)
Re-bind to the provided model instance.
|
boolean |
removeChangeListener(ChangeListener listener)
Removes change listener.
|
void |
removeChangeListeners()
Removes all change listeners.
|
<T extends ChangeListener> |
removeChangeListeners(Class<T> listenerClass)
Remove all listeners of specified class.
|
void |
removeEntityHolder(Object entity)
Removes entity -holder pair
|
void |
removeEscalation(Escalation escalation)
Removes the escalation from this model instance.
|
void |
removeExternalRecordListener(ExternalRecordListener listener)
Removes an external record listener.
|
ModuleInstance |
removeModuleInstance(String name)
Removes a module instance.
|
void |
removeRuntimeValues()
Removes all runtime values.
|
void |
removeSignal(Signal item)
Removes the given signal item.
|
void |
removeValue(EntityWithId val)
Removes value.
|
void |
resetLastPersisted()
Resets last persisted.
|
void |
setApplicationData(String key,
Object value)
Sets application data.
|
void |
setCanClearRuntimeValues(boolean canClearRuntimeValues)
Sets on/off cleaning of runtime values.
|
void |
setCurrentProcessInstance(ProcessInstance currentProcessInstance)
Sets current process instance.
|
void |
setCurrentToken(Token currentToken)
Sets currently handled token.
|
void |
setDirty(boolean isDirty)
Sets isDirty.
|
void |
setDocumentDescription(String documentDescription)
Sets the description of a document for this model instance.
|
void |
setFinishedDate(Date finishedDate)
Sets the finished date.
|
void |
setId(Long id)
Sets the id.
|
void |
setIdAllocator(ModelInstanceResourceAllocator idAllocator)
Sets allocator.
|
void |
setIsMonitoringChange(boolean value)
Sets the "monitoring changed" flag.
|
void |
setIsTrackingVersions(boolean isTracking)
Sets tracking of the shared entities version to the provided value,
and cleans version string of all shared values and sets renewVersion of all
shared values to the provided value.
|
void |
setModelHash(String modelHash)
Sets the model hash.
|
void |
setModelId(long modelId)
Sets the model id.
|
void |
setModelInstanceMigrationId(Long modelInstanceMigrationId)
Sets the model instance migration id.
|
void |
setModelName(String modelName)
Sets the model name.
|
void |
setModelVersion(String modelVersion)
Sets the model version.
|
void |
setStartedDate(Date startedDate)
Sets the started date.
|
void |
setState(ModelInstanceState state)
Sets life-cycle state.
|
void |
setTrackingDirty(boolean isTrackingDirty)
Switch on/off checking of dirtiness.
|
void |
synchronizeIdSeq(ModelInstance modelInstance)
Synchronize value id counter and max allocated value id.
|
SModelInstance |
toSerializable(MarshallerConfig config)
Creates a serializable object.
|
String |
toString() |
public static final String SCHEMA_NAMESPACE
protected ModelInstance()
ModelInstance
.public ModelInstance(long id, long modelId, String modelName, String modelVersion, String modelHash, CompatibilityVersion compatibilityVersion, ModelInstanceType type, boolean createProcessLog, Long parentId, Map<String,String> properties, ModelInstanceResourceAllocator idAllocator)
ModelInstance
.id
- modelId
- modelName
- modelVersion
- modelHash
- compatibilityVersion
- type
- createProcessLog
- parentId
- properties
- idAllocator
- NullPointerException
- if agentName
is nullpublic ModelInstance(long id, long modelId, Long modelInstanceMigrationId, String modelName, String modelVersion, String modelHash, CompatibilityVersion compatibilityVersion, boolean createProcessLog, Map<String,String> properties, Long parentId, ModelInstanceState state, ModelInstanceType type, Date startedDate, Date finishedDate, ModelInstanceResourceAllocator idAllocator, long maxAllocatedId, long currentId, Set<Context> topNoBaseLevelContexts, Long detachmentId, Long detachingTaskId, Set<String> evaluationLevelsOnDetach, boolean isUsingEvaluationLevels)
ModelInstance
.id
- modelId
- modelInstanceMigrationId
- modelName
- modelVersion
- modelHash
- compatibilityVersion
- createProcessLog
- properties
- parentId
- state
- type
- startedDate
- finishedDate
- idAllocator
- maxAllocatedId
- currentId
- topNoBaseLevelContexts
- detachmentId
- detachingTaskId
- the identifier of a task for which the model instance was detachedisUsingEvaluationLevels
- evaluationLevelsOnDetach
- NullPointerException
- if agentName
is nullpublic ModelInstance(SModelInstance smi)
smi
- public SModelInstance toSerializable(MarshallerConfig config)
config
- public Long getId()
public void setId(Long id)
id
- public long getModelId()
public void setModelId(long modelId)
modelId
- public Long getModelInstanceMigrationId()
public void setModelInstanceMigrationId(Long modelInstanceMigrationId)
modelInstanceMigrationId
- public String getModelName()
public void setModelName(String modelName)
modelName
- public String getModelVersion()
public void setModelVersion(String modelVersion)
modelVersion
- public String getModelHash()
public void setModelHash(String modelHash)
modelHash
- public boolean isCreateProcessLog()
public String getProperty(String name)
name
- public ModelInstanceState getState()
public void setState(ModelInstanceState state)
state
- public ModelInstanceType getType()
public boolean isProcess()
public boolean isDocument()
public boolean isFormPreview()
public boolean isEvaluation()
public boolean isFinished()
public boolean isDetached()
public Date getStartedDate()
public Date getFinishedDate()
public void setStartedDate(Date startedDate)
startedDate
- public void setFinishedDate(Date finishedDate)
finishedDate
- public Collection<Signal> getSignals()
public Signal addSignal(Value val)
val
- NullPointerException
- if val
is nullpublic Signal addSignal(Value val, String sourceDescritpion)
val
- sourceDescritpion
- the description of the source of the signalNullPointerException
- if val
is nullpublic void addSignal(Signal signal)
signal
- public void removeSignal(Signal item)
item
- public void addEscalation(Escalation escalation)
escalation
- the escalation to be addedpublic void removeEscalation(Escalation escalation)
escalation
- the escalation to be removedpublic List<Escalation> getEscalations()
public ModelInstanceResourceAllocator getIdAllocator()
public void setIdAllocator(ModelInstanceResourceAllocator idAllocator)
idAllocator
- public Long getDetachmentId()
public Long getDetachingTaskId()
public boolean isUsingEvaluationLevels()
public long getMaxAllocatedId()
public void synchronizeIdSeq(ModelInstance modelInstance)
modelInstance
- public long getCurrentId()
public long nextId()
public Long getParentId()
public ComplexValue getComplexValue(long id)
id
- public ComplexValue getComplexValue(String level, long baseId)
level
- baseId
- public void addChangeListener(ChangeListener listener)
listener
- public void addChangeListeners(Collection<? extends ChangeListener> listeners)
listeners
- public boolean removeChangeListener(ChangeListener listener)
listener
- public <T extends ChangeListener> Set<T> removeChangeListeners(Class<T> listenerClass)
T
- listenerClass
- public void removeChangeListeners()
public void fireChange(Change change)
change
- public void addExternalRecordListener(ExternalRecordListener listener)
listener
- public void removeExternalRecordListener(ExternalRecordListener listener)
listener
- public void fireExternalRecordPropertyAccess(ExternalRecordPropertyAccessEvent event)
event
- public List<ExternalRecordListener> getExternalRecordListeners()
public ModelInstance getModelInstance()
ModelInstanceAware
getModelInstance
in interface ModelInstanceAware
public void rebind(ModelInstance modelInstance)
ModelInstanceAware
rebind
in interface ModelInstanceAware
public Context getContext(long id)
id
- public Context getContext(String level, long baseId)
level
- baseId
- public List<? extends EvaluationLevelAware> getAllLevelEntities(long baseLevelId)
baseLevelId
- public ProcessInstance getProcessInstance(long id)
id
- public <T extends EntityWithId> T getEntity(long id, Class<T> entityClass)
T
- id
- entityClass
- public EntityWithId getEntity(long id)
id
- public Collection<ProcessInstance> getProcessInstances()
public <T extends EntityWithId> Collection<T> getEntities(Class<T> entityClass)
T
- entityClass
- public Signal getSignal(long id)
id
- public Task getTask(long id)
id
- public Collection<Task> getTasks()
public Collection<? extends EvaluationLevelAware> getAllEntitiesInLevel(String level)
Returned collection is a copy and is no more modified by calls to
register(EntityWithId)
or
unregister(EntityWithId)
.
level
- public <T extends EvaluationLevelAware> Collection<T> getAllEntitiesInLevel(String level, Class<T> entityClass)
Returned collection is a copy and is no more modified by calls to
register(EntityWithId)
or
unregister(EntityWithId)
.
T
- a class typelevel
- entityClass
- public Collection<? extends EvaluationLevelAware> getAllEntitiesInLevels(Collection<String> levels)
Returned collection is a copy and is no more modified by calls to
register(EntityWithId)
or
unregister(EntityWithId)
.
levels
- public Collection<EvaluationLevelAware> getAllEvaluationLevelAwareEntities()
public void addValue(EntityWithId val)
val
- public void removeValue(EntityWithId val)
val
- public Collection<ComplexValue> getValues()
public ModuleInstance getModuleInstance(String name)
name
- public Collection<ModuleInstance> getModuleInstances()
public ModuleInstance getMainModuleInstance()
public ModuleInstance removeModuleInstance(String name)
name
- public ModuleInstance addModuleInstance(ModuleInstance moduleInstance)
moduleInstance
- public ModuleInstance addNewModuleInstance(com.whitestein.lsps.model.ProcessModel processModel)
processModel
- NullPointerException
- if processModel
is nullpublic ModuleInstance addNewModuleInstance(Context context)
context
- NullPointerException
- if context
is nullpublic void addProcessLog(ProcessLog log)
log
- public List<ProcessLog> getLogs()
public Set<Context> getTopNoBaseLevelContexts()
public void addTopNoBaseLevelContext(Context context)
context
- public Set<String> getEvaluationLevelsOnDetach()
public Set<String> getEvaluationLevels()
public void detach(long detachingTaskId, boolean isUsingEvaluationLevels)
detachingTaskId
- the id of a task for which the model instance id detachedisUsingEvaluationLevels
- public void collectGarbage()
Collectible
s which are not persistent and are not
directly or indirectly referenced from a persistent collectible.
If the context is going to be committed, versions of external values
are updated so that the references are up to date.public void collectGarbageExclude(Collection<? extends Collectible> toRetain)
Collectible
s which are not persistent and are not
directly or indirectly referenced from a persistent collectible and are not
in the toRetain collection.
If the context is going to be committed, versions of external values
are updated so that the references are up to date.toRetain
- public boolean isPersistent()
Collectible
isPersistent
in interface Collectible
public Collection<Collectible> getReferences()
Collectible
getReferences
in interface Collectible
public void collect()
Collectible
collect
in interface Collectible
public void addProperty(String name, String value)
name
- value
- public void clearRuntimeValues()
public void removeRuntimeValues()
public void setCanClearRuntimeValues(boolean canClearRuntimeValues)
canClearRuntimeValues
- public boolean isCanClearRuntimeValues()
public void clearLoadedEntities()
public HolderImpl<? extends ComplexValue> getRuntimeValue(ComplexValue value)
value
- public Map<ExternalValueUniqueKey,ExternalValue> getExternalValues()
public ExternalValue findExternalValue(String typeString, String objectIdentification, Long revisionId)
typeString
- objectIdentification
- revisionId
- public ExternalValue findCreateExternalValue(String typeString, String primaryKeyString, Long processInstanceId)
typeString
- primaryKeyString
- processInstanceId
- public ExternalValue findCreateExternalValue(String typeString, String primaryKeyString, Long processInstanceId, Long revisionId)
typeString
- primaryKeyString
- processInstanceId
- revisionId
- public Long getBaseLevelEntityIdforEntity(long entityId)
entityId
- public Object getApplicationData(String key)
key
- public void setApplicationData(String key, Object value)
key
- value
- public boolean isTrackingVersions()
public void setIsTrackingVersions(boolean isTracking)
isTracking
- public boolean isDirty()
public void setDirty(boolean isDirty)
isDirty
- public boolean isTrackingDirty()
public void setTrackingDirty(boolean isTrackingDirty)
isTrackingDirty
- public String getDocumentDescription()
null
if no document
description has been set for this model instance.public void setDocumentDescription(String documentDescription)
documentDescription
- the document descriptionpublic ModelInstance makeCopy()
public CopyHelper createCopyHelper()
public RuntimeToPersistentConverter getConverter(ModelProvider modelProvider)
modelProvider
- public List<ExternalRecordHolder> getToBeRemoved()
public Collection<RecordValue> getAllNotPersistedRecords(RecordType recordType, String level, boolean includeLowerLevels)
recordType
- level
- includeLowerLevels
- public void addLastPersisted(ExternalValue value)
value
- public List<ExternalValue> getLastPersisted()
public void resetLastPersisted()
public void addEntityHolder(Object entity, ExternalRecordHolder holder)
entity
- holder
- public void removeEntityHolder(Object entity)
entity
- public ExternalRecordHolder getHolderForEntity(Object entity)
entity
- public Long getCurrentInvocationTimestamp()
public CompatibilityVersion getCompatibilityVersion(ModelProvider modelProvider)
modelProvider
- public void setCurrentToken(Token currentToken)
currentToken
- public Token getCurrentToken()
public void setCurrentProcessInstance(ProcessInstance currentProcessInstance)
currentProcessInstance
- public ProcessInstance getCurrentProcessInstance()
public CompiledContext getCompiledContext(ModelProvider modelProvider, String moduleName, String evaluationLevel)
public boolean isMonitoringChanged()
public void setIsMonitoringChange(boolean value)
value
- public void addExecutionTraceElement(ExecutionTraceElement e)
e
- public void addExecutionTrace(ExecutionTrace et)
et
- public ExecutionTrace getExecutionTrace()
public Collection<RecordProxySetValue> getProxySets()
public RecordProxySetValue getProxySet(long id)
public void addProxySet(RecordProxySetValue proxySet)
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.