Interface AlternativeCondition
- All Superinterfaces:
ScenarioNode
Represents alternative condition in the scenario flow.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets condition alternative flow steps.Gets condition decision node.Gets condition "else" flow.Gets "if" text of condition.Gets condition "if" flow.Gets condition merge node.Gets flow step to which alternative condition belongs.void
setIfCondition
(String value) Sets "if" text of condition.Methods inherited from interface com.nomagic.magicdraw.usecasescenarios.scenarios.ScenarioNode
belongsToIncludedExtending, getElement, getEnd, getHumanType, getName, getParent, getParentContainer, getStart, isEditable, setName
-
Method Details
-
getDecisionNode
DecisionNode getDecisionNode()Gets condition decision node.- Returns:
- condition decision node.
-
getMergeNode
MergeNode getMergeNode()Gets condition merge node.- Returns:
- condition merge node.
-
getAlternativeFlowSteps
Gets condition alternative flow steps.- Returns:
- alternative flow steps of condition.
-
getIfFlow
ControlFlow getIfFlow()Gets condition "if" flow.- Returns:
- "if" flow of condition.
-
getElseFlow
ControlFlow getElseFlow()Gets condition "else" flow.- Returns:
- condition "else" flow.
-
getIfCondition
String getIfCondition()Gets "if" text of condition.- Returns:
- "if" text of condition.
-
setIfCondition
Sets "if" text of condition.- Parameters:
value
- "if" text of condition.
-
getParentFlowStep
FlowStep getParentFlowStep()Gets flow step to which alternative condition belongs.- Returns:
- flow step to which alternative condition belongs.
-