Interface ScenarioNode

    • 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.