Package wt.eff

Class EffVisitor

All Implemented Interfaces:
Serializable, Visitor

public class EffVisitor extends VisitorAdapter implements Serializable
Visitor used to append effectivities to a node.

Supported API: true

Extendable: false
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    EffVisitor(EffGroup a_EffGroup)
    Constructs a visitor that will append the provided group.
    EffVisitor(EffGroup[] a_EffGroups)
    Constructs a visitor that will append the provided groups.
    EffVisitor(EffGroup[] a_EffGroups, boolean a_IsVisitedQuietly)
    Constructs a visitor that will append the provided groups.
    EffVisitor(EffGroup a_EffGroup, boolean a_IsVisitedQuietly)
    Constructs a visitor that will append the provided group.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the value of the attribute: effGroups; The effectivities (represented using EffGroups) to append to the node.
    boolean
    Gets the value of the attribute: visitedQuietly; If true, do not dispatch events when the node is visited.
    void
    setEffGroups(EffGroup[] a_EffGroups)
    Sets the value of the attribute: effGroups; The effectivities (represented using EffGroups) to append to the node.
    void
    setVisitedQuietly(boolean a_VisitedQuietly)
    Sets the value of the attribute: visitedQuietly; If true, do not dispatch events when the node is visited.
    boolean
    visit(Persistable fromNode, Link link, Persistable toNode, int level, boolean previouslyVisited)
    Visits a node, calling EffGroupAssistant's appendEffGroup or appendEffGroupQuietly (based on the setting of visitedQuietly).

    Methods inherited from class wt.visitor.VisitorAdapter

    visitLevel, visitLevel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getEffGroups

      public EffGroup[] getEffGroups()
      Gets the value of the attribute: effGroups; The effectivities (represented using EffGroups) to append to the node.

      Supported API: true
      Returns:
      EffGroup[]
    • setEffGroups

      public void setEffGroups(EffGroup[] a_EffGroups) throws WTPropertyVetoException
      Sets the value of the attribute: effGroups; The effectivities (represented using EffGroups) to append to the node.

      Supported API: true
      Parameters:
      a_EffGroups -
      Throws:
      WTPropertyVetoException
    • isVisitedQuietly

      public boolean isVisitedQuietly()
      Gets the value of the attribute: visitedQuietly; If true, do not dispatch events when the node is visited.

      Supported API: true
      Returns:
      boolean
    • setVisitedQuietly

      public void setVisitedQuietly(boolean a_VisitedQuietly)
      Sets the value of the attribute: visitedQuietly; If true, do not dispatch events when the node is visited.

      Supported API: true
      Parameters:
      a_VisitedQuietly -
    • visit

      public boolean visit(Persistable fromNode, Link link, Persistable toNode, int level, boolean previouslyVisited) throws WTException
      Visits a node, calling EffGroupAssistant's appendEffGroup or appendEffGroupQuietly (based on the setting of visitedQuietly).

      Supported API: true
      Specified by:
      visit in interface Visitor
      Overrides:
      visit in class VisitorAdapter
      Parameters:
      fromNode -
      link -
      toNode -
      level -
      previouslyVisited -
      Returns:
      boolean
      Throws:
      WTException