|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.visitor.VisitorAdapter
wt.eff.EffVisitor
Visitor used to append effectivities to a node.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private EffGroup[] |
effGroups
|
private static String |
RESOURCE
|
private boolean |
visitedQuietly
|
Constructor Summary | |
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 | |
private void |
effGroupsValidate(EffGroup[] a_EffGroups)
|
EffGroup[] |
getEffGroups()
Gets the value of the attribute: effGroups; The effectivities (represented using EffGroups) to append to the node. |
boolean |
isVisitedQuietly()
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 |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private EffGroup[] effGroups
private boolean visitedQuietly
Constructor Detail |
public EffVisitor(EffGroup a_EffGroup) throws WTPropertyVetoException
a_EffGroup
-
WTPropertyVetoException
public EffVisitor(EffGroup[] a_EffGroups) throws WTPropertyVetoException
a_EffGroups
-
WTPropertyVetoException
public EffVisitor(EffGroup a_EffGroup, boolean a_IsVisitedQuietly) throws WTPropertyVetoException
a_EffGroup
- a_IsVisitedQuietly
- Instructs the visitor to append without dispatching events when set to true.
WTPropertyVetoException
EffGroupAssistantEvent
public EffVisitor(EffGroup[] a_EffGroups, boolean a_IsVisitedQuietly) throws WTPropertyVetoException
a_EffGroups
- a_IsVisitedQuietly
- Instructs the visitor to append without dispatching events when set to true.
WTPropertyVetoException
EffGroupAssistantEvent
Method Detail |
public EffGroup[] getEffGroups()
public void setEffGroups(EffGroup[] a_EffGroups) throws WTPropertyVetoException
a_EffGroups
-
WTPropertyVetoException
private void effGroupsValidate(EffGroup[] a_EffGroups) throws WTPropertyVetoException
a_EffGroups
-
WTPropertyVetoException
public boolean isVisitedQuietly()
public void setVisitedQuietly(boolean a_VisitedQuietly)
a_VisitedQuietly
- public boolean visit(Persistable fromNode, Link link, Persistable toNode, int level, boolean previouslyVisited) throws WTException
visit
in interface Visitor
visit
in class VisitorAdapter
fromNode
- link
- toNode
- level
- previouslyVisited
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |