E
- public abstract class GoalPlanHolder<E extends GOElement> extends ExternalRecordHolderBase
Modifier and Type | Field and Description |
---|---|
static String |
METADATA
Property name.
|
static String |
NAME
Property name.
|
static String |
PARENT
Property name.
|
static String |
STATE
Property name.
|
NO_PROPERTY_MSG
Modifier and Type | Method and Description |
---|---|
protected MapHolder |
createMetadataHolder(Map<String,String> map)
Creates array holder for given metadata.
|
static String |
createObjectIdentification(long modelInstanceId,
long processInstanceId,
String name)
Creates object info used for all
GoalPlanHolder s. |
protected SetHolder |
createPlanSetHolder(Set<PlanHolder> set)
Creates set holder for given plan set.
|
protected GoalPlanHolder<?> |
getGoalPlanHolder(GOElement goElement)
Returns goal/plan holder for given go element instance (the instance can
even be from another context).
|
protected E |
getGOElement()
Returns contained GO element.
|
protected com.whitestein.lsps.model.GOProcessDescription |
getGOProcessDescription()
Returns the GO process description.
|
abstract MapHolder |
getMetadata()
Returns metadata of the goal or plan
|
abstract String |
getName()
Returns name of the goal
|
protected Namespace |
getNamespace()
Returns the namespace
|
GoalHolder |
getParent()
Returns parent of the goal or plan.
|
long |
getProcessInstanceId()
Returns the context id.
|
abstract String |
getState()
Returns state of the goal or plan.
|
void |
setProperty(String name,
Object value)
Sets the property given the property name.
|
equals, getAdapter, 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, getProperty, getProxiedRecord, getProxyLevel, getProxySet, getRecordOnProxyLevel, getType, hasOptimisticLockRelevantChanges, isProxy, isRemoved, mergeChanges, setCompiled
getId, getNotCompiledValueHolder
isUpdateNecessary, setThisSideOfAssociation
public static final String NAME
public static final String STATE
public static final String PARENT
public static final String METADATA
public static String createObjectIdentification(long modelInstanceId, long processInstanceId, String name)
GoalPlanHolder
s.modelInstanceId
- processInstanceId
- name
- the element namepublic final long getProcessInstanceId()
protected final E getGOElement()
protected Namespace getNamespace()
protected com.whitestein.lsps.model.GOProcessDescription getGOProcessDescription()
protected final MapHolder createMetadataHolder(Map<String,String> map)
map
- the metadata mapprotected final SetHolder createPlanSetHolder(Set<PlanHolder> set)
set
- the plan setprotected final GoalPlanHolder<?> getGoalPlanHolder(GOElement goElement)
goElement
- the elementpublic abstract String getName()
public abstract String getState()
public final GoalHolder getParent()
public abstract MapHolder getMetadata()
public final void setProperty(String name, Object value)
RecordHolder
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.