|
IBM Rational Software Modeler Release 6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface is implemented by objects that visit Artifact
hierarchies.
Usage:
class MyVisitor implements IArtifactVisitor {
public VisitorStatus visit(Artifact theArtifact) {
// your code here
return VistorStatus.VISIT_CHILDREN;
}
}
Artifact theArtifact = ...;
theArtifact.accept(new MyVistor());
Clients may implement this interface.
Artifact.accept(IArtifactVisitor),
Solution.accept(IArtifactVisitor),
Asset.accept(IArtifactVisitor)| Method Summary | |
VisitorStatus |
visit(Artifact theArtifact)
Visits the given Artifact. |
| Method Detail |
public VisitorStatus visit(Artifact theArtifact)
Artifact.
theArtifact - the Artifact to visit
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.