Interface INode2NodeVisitorRelation

All Superinterfaces:
INode2NodeRelation, INodeRelation, Serializable
All Known Implementing Classes:
RelativeVisitor2RelatedNodeRelation

public interface INode2NodeVisitorRelation extends INode2NodeRelation
This interface provides methods to enforce same or different visitors.
Since:
12/11/2018
Version:
24/12/2020
Author:
DNA
  • Method Details

    • setIsForcedDifferentVisitor

      void setIsForcedDifferentVisitor()
      Sets RelativeVisitor2RelatedNodeRelation.needsForcedDifferentVisitor to true and link RelativeVisitor2RelatedNodeRelation.needsForcedSameVisitor to false.
    • setIsForcedSameVisitor

      void setIsForcedSameVisitor()
      Sets RelativeVisitor2RelatedNodeRelation.needsForcedDifferentVisitor to false and link RelativeVisitor2RelatedNodeRelation.needsForcedSameVisitor to true.
    • setIsForcedSameRoute

      void setIsForcedSameRoute()
      Sets the is forced same route.

      Attached nodes should be visited within the same route.

    • setIsForcedDifferentRoute

      void setIsForcedDifferentRoute(boolean isForcedDifferentVisitor)
      Sets the checks if is forced different route.

      Attached nodes should be visited in a different route.

      Parameters:
      isForcedDifferentVisitor - if true, a different visitor is also required.
    • setIsForcedSameVisitorForcedDifferentRoute

      void setIsForcedSameVisitorForcedDifferentRoute()
      Sets the is forced same visitor forced different route.

      Attached nodes should be visited in a different route by the same visitor.