public abstract class GoalHolder extends GoalPlanHolder<Goal>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CHILDREN
Property name.
|
static java.lang.String |
IS_ANY_PLAN_RUNNING
Property name.
|
static java.lang.String |
RUNNING_PLANS
Property name.
|
METADATA, NAME, PARENT, STATE
NO_PROPERTY_MSG
Modifier and Type | Method and Description |
---|---|
SetHolder |
getAllSubGoals() |
SetHolder |
getChildren()
Returns children of the goal.
|
com.whitestein.lsps.model.Goal |
getGoal()
Returns the goal from model.
|
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.
|
SetHolder |
getRunningPlans()
Returns set of running plans the goal.
|
java.lang.String |
getState()
Returns state of the goal or plan.
|
GoalState |
getStateObject()
Returns goal state object.
|
SetHolder |
getSubGoals() |
boolean |
isAchieved()
Returns true if the goal is achieved.
|
boolean |
isActive()
Returns true if the goal is active.
|
boolean |
isAnyPlanRunning()
Returns true if the goal has any plan running.
|
boolean |
isDeactivated()
Returns true if the goal is deactivated.
|
boolean |
isFailed()
Returns true if the goal is failed.
|
boolean |
isFinished()
Returns true if the goal is finished.
|
boolean |
isInactive()
Returns true if the goal is inactive.
|
boolean |
isReady()
Returns true if the goal is ready.
|
boolean |
isRunning()
Returns true if the goal is running.
|
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 CHILDREN
public static final java.lang.String IS_ANY_PLAN_RUNNING
public static final java.lang.String RUNNING_PLANS
public com.whitestein.lsps.model.Goal getGoal()
public final java.lang.String getName()
GoalPlanHolder
getName
in class GoalPlanHolder<Goal>
public GoalState getStateObject()
public final java.lang.String getState()
GoalPlanHolder
getState
in class GoalPlanHolder<Goal>
public boolean isAchieved()
public boolean isActive()
public boolean isDeactivated()
public boolean isFailed()
public boolean isFinished()
public boolean isInactive()
public boolean isReady()
public boolean isRunning()
public SetHolder getChildren()
public SetHolder getSubGoals()
public SetHolder getAllSubGoals()
public boolean isAnyPlanRunning()
public SetHolder getRunningPlans()
public MapHolder getMetadata()
GoalPlanHolder
getMetadata
in class GoalPlanHolder<Goal>
public java.lang.Object getProperty(java.lang.String name)
RecordHolder
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.