public final class AchieveGoalHolder extends GoalHolder
Modifier and Type | Field and Description |
---|---|
static String |
DEACTIVATE_CONDITION
Property name.
|
static String |
PRE_CONDITION
Property name.
|
CHILDREN, IS_ANY_PLAN_RUNNING, RUNNING_PLANS
METADATA, NAME, PARENT, STATE
NO_PROPERTY_MSG
Constructor and Description |
---|
AchieveGoalHolder(ExternalValue val,
ModelProvider modelProvider,
CoreTypeFactory coreTypeFactory)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
ClosureHolder |
deactivateCondition()
Returns deactivation condition of the goal.
|
com.whitestein.lsps.model.AchieveGoal |
getGoal()
Returns the goal from model.
|
Object |
getProperty(String name)
Returns the property given the property name, if no such property exists, exception is
thrown.
|
ClosureHolder |
preCondition()
Returns precondition of the goal.
|
getAllSubGoals, getChildren, getMetadata, getName, getRunningPlans, getState, getStateObject, getSubGoals, isAchieved, isActive, isAnyPlanRunning, isDeactivated, isFailed, isFinished, isInactive, isReady, isRunning
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 String PRE_CONDITION
public static final String DEACTIVATE_CONDITION
public AchieveGoalHolder(ExternalValue val, ModelProvider modelProvider, CoreTypeFactory coreTypeFactory)
val
- the valuemodelProvider
- the model providercoreTypeFactory
- the core type factoryNullPointerException
- if any of the arguments is nullpublic com.whitestein.lsps.model.AchieveGoal getGoal()
GoalHolder
getGoal
in class GoalHolder
public ClosureHolder preCondition()
public ClosureHolder deactivateCondition()
public Object getProperty(String name)
RecordHolder
getProperty
in interface RecordHolder
getProperty
in class GoalHolder
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.