|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.utilities.AbstractVisitor<T,org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EStructuralFeature,org.eclipse.emf.ecore.EEnumLiteral,org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EObject,CallOperationAction,SendSignalAction,Constraint>
org.eclipse.ocl.ecore.utilities.AbstractVisitor<T>
public class AbstractVisitor<T>
Mixes in the VisitorExtension interface and provides a default implementation for
OppositePropertyCallExp.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.ocl.utilities.AbstractVisitor |
|---|
result |
| Constructor Summary | |
|---|---|
protected |
AbstractVisitor()
Initializes me. |
protected |
AbstractVisitor(T result)
Initializes me with an initial value for my result. |
| Method Summary | |
|---|---|
protected T |
handleOppositePropertyCallExp(OppositePropertyCallExp callExp,
T sourceResult)
Visits the specified opposite property call with the results of visiting its source and qualifiers (if any). |
T |
visitOppositePropertyCallExp(OppositePropertyCallExp callExp)
Visits the opposite property-call source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractVisitor()
protected AbstractVisitor(T result)
initialValue - my initial result value| Method Detail |
|---|
public T visitOppositePropertyCallExp(OppositePropertyCallExp callExp)
handleOppositePropertyCallExp(OppositePropertyCallExp, Object).
visitOppositePropertyCallExp in interface VisitorExtension<T>
protected T handleOppositePropertyCallExp(OppositePropertyCallExp callExp,
T sourceResult)
sourceResult will be null in that case.
- Parameters:
callExp - the opposite property call expressionsourceResult - the result of visiting the expression's source
- Returns:
- the accumulated
AbstractVisitor.result, by default - Since:
- 3.1
- See Also:
visitOppositePropertyCallExp(OppositePropertyCallExp)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||