Package wt.eff
Class EffVisitor
java.lang.Object
wt.visitor.VisitorAdapter
wt.eff.EffVisitor
- All Implemented Interfaces:
Serializable,Visitor
Visitor used to append effectivities to a node.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEffVisitor(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 TypeMethodDescriptionEffGroup[]Gets the value of the attribute: effGroups; The effectivities (represented using EffGroups) to append to the node.booleanGets the value of the attribute: visitedQuietly; If true, do not dispatch events when the node is visited.voidsetEffGroups(EffGroup[] a_EffGroups) Sets the value of the attribute: effGroups; The effectivities (represented using EffGroups) to append to the node.voidsetVisitedQuietly(boolean a_VisitedQuietly) Sets the value of the attribute: visitedQuietly; If true, do not dispatch events when the node is visited.booleanvisit(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).
-
Constructor Details
-
EffVisitor
Constructs a visitor that will append the provided group.
Supported API: true- Parameters:
a_EffGroup-- Throws:
WTPropertyVetoException
-
EffVisitor
Constructs a visitor that will append the provided groups.
Supported API: true- Parameters:
a_EffGroups-- Throws:
WTPropertyVetoException
-
EffVisitor
Constructs a visitor that will append the provided group.
Supported API: true- Parameters:
a_EffGroup-a_IsVisitedQuietly- Instructs the visitor to append without dispatching events when set to true.- Throws:
WTPropertyVetoException- See Also:
-
EffVisitor
public EffVisitor(EffGroup[] a_EffGroups, boolean a_IsVisitedQuietly) throws WTPropertyVetoException Constructs a visitor that will append the provided groups.
Supported API: true- Parameters:
a_EffGroups-a_IsVisitedQuietly- Instructs the visitor to append without dispatching events when set to true.- Throws:
WTPropertyVetoException- See Also:
-
-
Method Details
-
getEffGroups
Gets the value of the attribute: effGroups; The effectivities (represented using EffGroups) to append to the node.
Supported API: true- Returns:
- EffGroup[]
-
setEffGroups
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:
visitin interfaceVisitor- Overrides:
visitin classVisitorAdapter- Parameters:
fromNode-link-toNode-level-previouslyVisited-- Returns:
- boolean
- Throws:
WTException
-