public final class PlanHolder extends GoalPlanHolder<Plan>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PRE_CONDITION
property name.
|
METADATA, NAME, PARENT, STATE
NO_PROPERTY_MSG
Constructor and Description |
---|
PlanHolder(ExternalValue val,
ModelProvider modelProvider,
CoreTypeFactory coreTypeFactory)
Creates new instance of
PlanHolder . |
Modifier and Type | Method and Description |
---|---|
MapHolder |
getMetadata()
Returns metadata of the goal or plan
|
java.lang.String |
getName()
Returns name of the goal
|
java.lang.Object |
getProperty(java.lang.String name)
Returns the property given the property name, if no such property exists, exception is
thrown.
|
java.lang.String |
getState()
Returns state of the goal or plan.
|
PlanState |
getStateObject()
Returns state object of the plan
|
boolean |
isAchieved()
Returns true if the plan is achieved.
|
boolean |
isActive()
Returns true if the plan is active.
|
boolean |
isFailed()
Returns true if the plan is failed.
|
boolean |
isFinished()
Returns true if the plan is finished.
|
boolean |
isInactive()
Returns true if the plan is inactive.
|
boolean |
isRunning()
Returns true if the plan is running.
|
ClosureHolder |
preCondition()
Returns condition of the plan.
|
createMetadataHolder, createObjectIdentification, createPlanSetHolder, getGoalPlanHolder, getGOElement, getGOProcessDescription, getNamespace, getParent, getProcessInstanceId, setProperty
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, getProxiedRecord, getProxyLevel, getProxySet, getRecordOnProxyLevel, getType, hasOptimisticLockRelevantChanges, isProxy, isRemoved, mergeChanges, setCompiled
getId, getNotCompiledValueHolder
isUpdateNecessary, setThisSideOfAssociation
public static final java.lang.String PRE_CONDITION
public PlanHolder(ExternalValue val, ModelProvider modelProvider, CoreTypeFactory coreTypeFactory)
PlanHolder
.val
- modelProvider
- coreTypeFactory
- java.lang.NullPointerException
- if any of the arguments is nullpublic java.lang.String getName()
GoalPlanHolder
getName
in class GoalPlanHolder<Plan>
public java.lang.String getState()
GoalPlanHolder
getState
in class GoalPlanHolder<Plan>
public PlanState getStateObject()
public boolean isAchieved()
public boolean isActive()
public boolean isFailed()
public boolean isFinished()
public boolean isInactive()
public boolean isRunning()
public ClosureHolder preCondition()
public MapHolder getMetadata()
GoalPlanHolder
getMetadata
in class GoalPlanHolder<Plan>
public java.lang.Object getProperty(java.lang.String name)
RecordHolder
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.