public class OdiCaseElse extends OdiLoadPlanCaseCondition
This class represents the 'else' clause in a "case-when-else" step of an OdiLoadPlan
.
It's part of an aggregate managed by OdiLoadPlanStepCase
. Its life cycle is managed by the OdiLoadPlanStepCase
class,
which in turn is managed by the OdiLoadPlan
class.
An OdiCaseElse
life cycle begins when the user creates a OdiLoadPlanStepCase
in an OdiLoadPlan
.
A default OdiCaseElse
is always created.
It's then typically stored in the runtime repository when the OdiLoadPlan
is persisted.
The users can modify the OdiCaseElse to fit their needs.
The life cycle ends when the OdiLoadPlanStepCase
is removed from the OdiLoadPlan
The OdiCaseElse defines a root OdiLoadPlanStep
that will describe the action to execute in case the result of the OdiLoadPlanStepCase
is 'else'.
By Default the root step is null.
If no root step is defined then if this OdiCaseElse
is the result of the parent OdiLoadPlanStepCase
, then no action will be executed.
OdiLoadPlan
,
OdiLoadPlanStepCase
NAME_MAX_LENGTH
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
getInternalId() |
copy, duplicate, duplicate, getParentElement, getRootStep, isEnabled, setEnabled
getLoadPlan, getName, getSecurityContainer, getStepId, hasDisabledParent, setName, toString
public java.io.Serializable getInternalId()
getInternalId
in class OdiLoadPlanCaseCondition