Interface ScenarioNode
- 
- All Known Subinterfaces:
 AlternativeCondition,ExceptionType,FlowStep,Scenario,ScenarioNodeEnd,ScenarioNodeStart
@OpenApiAll public interface ScenarioNodeGeneral node in the scenario. All specific nodes in scenario derive from it. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanbelongsToIncludedExtending()Indicates if node belongs to included/extending use case.ElementgetElement()Gets element which represents this node.ScenarioNodeEndgetEnd()Gets scenario node end.java.lang.StringgetHumanType()Gets human-readable representation of scenario node.java.lang.StringgetName()Gets name of the node.ScenarioNodegetParent()Gets parent of the scenario node.java.util.List<? extends ScenarioNode>getParentContainer()Gets container in the parent to which this node belongs.ScenarioNodeStartgetStart()Gets scenario node start.booleanisEditable()Indicates if node is editable.voidsetName(java.lang.String name)Sets name for the scenario node. 
 - 
 
- 
- 
Method Detail
- 
getElement
Element getElement()
Gets element which represents this node.- Returns:
 - element which represents this node.
 
 
- 
belongsToIncludedExtending
boolean belongsToIncludedExtending()
Indicates if node belongs to included/extending use case.- Returns:
 - true if node belongs to included/extending use case, false otherwise.
 
 
- 
setName
void setName(java.lang.String name)
Sets name for the scenario node.- Parameters:
 name- name to set.
 
- 
getName
java.lang.String getName()
Gets name of the node.- Returns:
 - node name.
 
 
- 
getParent
ScenarioNode getParent()
Gets parent of the scenario node.- Returns:
 - parent of the scenario node.
 
 
- 
isEditable
boolean isEditable()
Indicates if node is editable.- Returns:
 - true if node is editable, false otherwise.
 
 
- 
getStart
ScenarioNodeStart getStart()
Gets scenario node start.- Returns:
 - scenario node start.
 
 
- 
getEnd
ScenarioNodeEnd getEnd()
Gets scenario node end.- Returns:
 - scenario node end.
 
 
- 
getHumanType
java.lang.String getHumanType()
Gets human-readable representation of scenario node.- Returns:
 - human-readable representation of scenario node.
 
 
- 
getParentContainer
java.util.List<? extends ScenarioNode> getParentContainer()
Gets container in the parent to which this node belongs. Parent container can be used for changing position of the node or figuring out the number of node.- Returns:
 - parent container to which this node belongs.
 
 
 - 
 
 -