public class ProcessInstanceHolder extends ExternalRecordHolderBase
NO_PROPERTY_MSG
Constructor and Description |
---|
ProcessInstanceHolder(ExternalValue val,
ModelProviderService modelProviderService,
SharedRecordTypeFactory sharedRecordTypeFactory)
Creates new instance.
|
ProcessInstanceHolder(ModelInstance modelInstance,
ProcessInstance processInstance,
ModelProviderService modelProviderService,
SharedRecordTypeFactory sharedRecordTypeFactory)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
static String |
createObjectIdentification(long modelInstanceId,
long processInstanceId)
Creates identification string.
|
ProcessInstanceAdapter |
getAdapter()
Returns adapter.
|
RecordHolder |
getModelInstanceHolder()
Returns the owning model instance.
|
long |
getProcessInstanceId()
Returns the process instance id.
|
Object |
getProperty(String name)
Returns the property given the property name, if no such property exists, exception is
thrown.
|
long |
getReferencedModelInstanceId()
Returns id of a model instance to the process instance belongs to.
|
void |
setProperty(String name,
Object value)
Sets the property given the property name.
|
equals, getAdapterInternal, getIdentificationString, getJavaIdentification, getVersion, hashCode, remove, setAdapter
asMap, clearRuntimeValues, createChangeProxy, createPropertyProxy, executeMethod, getBaseLevelHolder, getCompiled, getEvaluationLevel, getJavaObject, getNamespace, getOriginalRecord, getProxiedRecord, getProxyLevel, getProxySet, getRecordOnProxyLevel, getType, hasOptimisticLockRelevantChanges, isProxy, isRemoved, isUpdateNecessary, mergeChanges, setCompiled, setThisSideOfAssociation
getBaseLevelEntityId, getConverter, getEvaluationConverter, getHandle, getId, getModelInstance, getModelProvider, getNotCompiledValueHolder, getProcessModel, getVal, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asMap, createChangeProxy, createPropertyProxy, executeMethod, getBaseLevelEntityId, getBaseLevelHolder, getCompiled, getEvaluationLevel, getJavaObject, getNamespace, getOriginalRecord, getProxiedRecord, getProxyLevel, getProxySet, getRecordOnProxyLevel, getType, hasOptimisticLockRelevantChanges, isProxy, isRemoved, mergeChanges, setCompiled
getId, getNotCompiledValueHolder
isUpdateNecessary, setThisSideOfAssociation
public ProcessInstanceHolder(ExternalValue val, ModelProviderService modelProviderService, SharedRecordTypeFactory sharedRecordTypeFactory)
val
- modelProviderService
- sharedRecordTypeFactory
- NullPointerException
- if any of the arguments is nullpublic ProcessInstanceHolder(ModelInstance modelInstance, ProcessInstance processInstance, ModelProviderService modelProviderService, SharedRecordTypeFactory sharedRecordTypeFactory)
modelInstance
- processInstance
- modelProviderService
- sharedRecordTypeFactory
- public static String createObjectIdentification(long modelInstanceId, long processInstanceId)
modelInstanceId
- processInstanceId
- public ProcessInstanceAdapter getAdapter()
RecordHolderBase
getAdapter
in class ExternalRecordHolderBase
public long getReferencedModelInstanceId()
public long getProcessInstanceId()
public RecordHolder getModelInstanceHolder()
public Object getProperty(String name)
RecordHolder
public void setProperty(String name, Object value)
RecordHolder
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.