|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.visitor.VisitorAdapter
wt.vc.baseline.BaselineVisitor
public class BaselineVisitor
This class implements the Visitor interface. This class contains a reference to a Baseline and the visit() method is implemented to add a Baselineable item to that Baseline.
This class also contains a reference to a StandardBaselineService. This
is necessary becuase the visit() method must use a protected method on
this service. Therefore, this class is only intended for use with the
StandardBaselineService.
Supported API: true
Extendable: true
| Constructor Summary | |
|---|---|
BaselineVisitor(Baseline a_baseline,
StandardBaselineService a_baselineService)
Constructs an instance using the specified Baseline. |
|
| Method Summary | |
|---|---|
Baseline |
getBaseline()
Gets the object for the association that plays role: theBaseline. |
void |
setBaseline(Baseline a_Baseline)
Sets the object for the association that plays role: theBaseline. |
boolean |
visit(Persistable fromNode,
Link link,
Persistable toNode,
int level,
boolean previouslyVisited)
Visits a node and adds it to a Baseline. |
| 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 |
| Methods inherited from interface wt.visitor.Visitor |
|---|
visitLevel, visitLevel |
| Constructor Detail |
|---|
public BaselineVisitor(Baseline a_baseline,
StandardBaselineService a_baselineService)
throws WTPropertyVetoException
a_baseline - a_baselineService -
WTPropertyVetoException| Method Detail |
|---|
public Baseline getBaseline()
public void setBaseline(Baseline a_Baseline)
throws WTPropertyVetoException
a_Baseline -
WTPropertyVetoException
public boolean visit(Persistable fromNode,
Link link,
Persistable toNode,
int level,
boolean previouslyVisited)
throws WTException
visit in interface Visitorvisit in class VisitorAdapterfromNode - link - toNode - level - previouslyVisited -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||