public class VeplSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<T>
doSwitch(object)
to invoke the caseXXX
method for each class of the model,
starting with the actual class of the object
and proceeding up the inheritance hierarchy
until a non-null result is returned,
which is the result of the switch.
VeplPackage
Modifier and Type | Field and Description |
---|---|
protected static VeplPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
VeplSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseAbstractAtomicEventPattern(AbstractAtomicEventPattern object)
Returns the result of interpreting the object as an instance of 'Abstract Atomic Event Pattern'.
|
T |
caseAbstractMultiplicity(AbstractMultiplicity object)
Returns the result of interpreting the object as an instance of 'Abstract Multiplicity'.
|
T |
caseAndOperator(AndOperator object)
Returns the result of interpreting the object as an instance of 'And Operator'.
|
T |
caseAtLeastOne(AtLeastOne object)
Returns the result of interpreting the object as an instance of 'At Least One'.
|
T |
caseAtom(Atom object)
Returns the result of interpreting the object as an instance of 'Atom'.
|
T |
caseAtomicEventPattern(AtomicEventPattern object)
Returns the result of interpreting the object as an instance of 'Atomic Event Pattern'.
|
T |
caseBinaryOperator(BinaryOperator object)
Returns the result of interpreting the object as an instance of 'Binary Operator'.
|
T |
caseChainedExpression(ChainedExpression object)
Returns the result of interpreting the object as an instance of 'Chained Expression'.
|
T |
caseComplexEventExpression(ComplexEventExpression object)
Returns the result of interpreting the object as an instance of 'Complex Event Expression'.
|
T |
caseComplexEventOperator(ComplexEventOperator object)
Returns the result of interpreting the object as an instance of 'Complex Event Operator'.
|
T |
caseComplexEventPattern(ComplexEventPattern object)
Returns the result of interpreting the object as an instance of 'Complex Event Pattern'.
|
T |
caseEventModel(EventModel object)
Returns the result of interpreting the object as an instance of 'Event Model'.
|
T |
caseEventPattern(EventPattern object)
Returns the result of interpreting the object as an instance of 'Event Pattern'.
|
T |
caseFollowsOperator(FollowsOperator object)
Returns the result of interpreting the object as an instance of 'Follows Operator'.
|
T |
caseGenericImport(GenericImport object)
Returns the result of interpreting the object as an instance of 'Generic Import'.
|
T |
caseImport(Import object)
Returns the result of interpreting the object as an instance of 'Import'.
|
T |
caseInfinite(Infinite object)
Returns the result of interpreting the object as an instance of 'Infinite'.
|
T |
caseModelElement(ModelElement object)
Returns the result of interpreting the object as an instance of 'Model Element'.
|
T |
caseMultiplicity(Multiplicity object)
Returns the result of interpreting the object as an instance of 'Multiplicity'.
|
T |
caseNegOperator(NegOperator object)
Returns the result of interpreting the object as an instance of 'Neg Operator'.
|
T |
caseOrOperator(OrOperator object)
Returns the result of interpreting the object as an instance of 'Or Operator'.
|
T |
caseParameterizedPatternCall(ParameterizedPatternCall object)
Returns the result of interpreting the object as an instance of 'Parameterized Pattern Call'.
|
T |
caseParametrizedQueryReference(ParametrizedQueryReference object)
Returns the result of interpreting the object as an instance of 'Parametrized Query Reference'.
|
T |
casePatternCallParameter(PatternCallParameter object)
Returns the result of interpreting the object as an instance of 'Pattern Call Parameter'.
|
T |
casePatternCallParameterList(PatternCallParameterList object)
Returns the result of interpreting the object as an instance of 'Pattern Call Parameter List'.
|
T |
caseQueryImport(QueryImport object)
Returns the result of interpreting the object as an instance of 'Query Import'.
|
T |
caseQueryResultChangeEventPattern(QueryResultChangeEventPattern object)
Returns the result of interpreting the object as an instance of 'Query Result Change Event Pattern'.
|
T |
caseRule(Rule object)
Returns the result of interpreting the object as an instance of 'Rule'.
|
T |
caseTimewindow(Timewindow object)
Returns the result of interpreting the object as an instance of 'Timewindow'.
|
T |
caseTrait(Trait object)
Returns the result of interpreting the object as an instance of 'Trait'.
|
T |
caseTraitList(TraitList object)
Returns the result of interpreting the object as an instance of 'Trait List'.
|
T |
caseTraitTypedParameterList(TraitTypedParameterList object)
Returns the result of interpreting the object as an instance of 'Trait Typed Parameter List'.
|
T |
caseTypedParameter(TypedParameter object)
Returns the result of interpreting the object as an instance of 'Typed Parameter'.
|
T |
caseTypedParameterList(TypedParameterList object)
Returns the result of interpreting the object as an instance of 'Typed Parameter List'.
|
T |
caseTypedParameterWithDefaultValue(TypedParameterWithDefaultValue object)
Returns the result of interpreting the object as an instance of 'Typed Parameter With Default Value'.
|
T |
caseUnaryOperator(UnaryOperator object)
Returns the result of interpreting the object as an instance of 'Unary Operator'.
|
T |
caseUntilOperator(UntilOperator object)
Returns the result of interpreting the object as an instance of 'Until Operator'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
protected T |
doSwitch(int classifierID,
org.eclipse.emf.ecore.EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
protected boolean |
isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package.
|
protected static VeplPackage modelPackage
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor
in class org.eclipse.emf.ecore.util.Switch<T>
ePackage
- the package in question.protected T doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
doSwitch
in class org.eclipse.emf.ecore.util.Switch<T>
caseXXX
call.public T caseEventModel(EventModel object)
object
- the target of the switch.doSwitch(EObject)
public T caseImport(Import object)
object
- the target of the switch.doSwitch(EObject)
public T caseGenericImport(GenericImport object)
object
- the target of the switch.doSwitch(EObject)
public T caseQueryImport(QueryImport object)
object
- the target of the switch.doSwitch(EObject)
public T caseModelElement(ModelElement object)
object
- the target of the switch.doSwitch(EObject)
public T caseTrait(Trait object)
object
- the target of the switch.doSwitch(EObject)
public T caseEventPattern(EventPattern object)
object
- the target of the switch.doSwitch(EObject)
public T caseAbstractAtomicEventPattern(AbstractAtomicEventPattern object)
object
- the target of the switch.doSwitch(EObject)
public T caseAtomicEventPattern(AtomicEventPattern object)
object
- the target of the switch.doSwitch(EObject)
public T caseQueryResultChangeEventPattern(QueryResultChangeEventPattern object)
object
- the target of the switch.doSwitch(EObject)
public T caseComplexEventPattern(ComplexEventPattern object)
object
- the target of the switch.doSwitch(EObject)
public T caseRule(Rule object)
object
- the target of the switch.doSwitch(EObject)
public T caseTraitList(TraitList object)
object
- the target of the switch.doSwitch(EObject)
public T caseTypedParameterList(TypedParameterList object)
object
- the target of the switch.doSwitch(EObject)
public T caseTypedParameter(TypedParameter object)
object
- the target of the switch.doSwitch(EObject)
public T caseTypedParameterWithDefaultValue(TypedParameterWithDefaultValue object)
object
- the target of the switch.doSwitch(EObject)
public T caseTraitTypedParameterList(TraitTypedParameterList object)
object
- the target of the switch.doSwitch(EObject)
public T caseParametrizedQueryReference(ParametrizedQueryReference object)
object
- the target of the switch.doSwitch(EObject)
public T caseComplexEventExpression(ComplexEventExpression object)
object
- the target of the switch.doSwitch(EObject)
public T caseChainedExpression(ChainedExpression object)
object
- the target of the switch.doSwitch(EObject)
public T caseAtom(Atom object)
object
- the target of the switch.doSwitch(EObject)
public T caseAbstractMultiplicity(AbstractMultiplicity object)
object
- the target of the switch.doSwitch(EObject)
public T caseTimewindow(Timewindow object)
object
- the target of the switch.doSwitch(EObject)
public T caseParameterizedPatternCall(ParameterizedPatternCall object)
object
- the target of the switch.doSwitch(EObject)
public T casePatternCallParameterList(PatternCallParameterList object)
object
- the target of the switch.doSwitch(EObject)
public T casePatternCallParameter(PatternCallParameter object)
object
- the target of the switch.doSwitch(EObject)
public T caseComplexEventOperator(ComplexEventOperator object)
object
- the target of the switch.doSwitch(EObject)
public T caseBinaryOperator(BinaryOperator object)
object
- the target of the switch.doSwitch(EObject)
public T caseUnaryOperator(UnaryOperator object)
object
- the target of the switch.doSwitch(EObject)
public T caseFollowsOperator(FollowsOperator object)
object
- the target of the switch.doSwitch(EObject)
public T caseOrOperator(OrOperator object)
object
- the target of the switch.doSwitch(EObject)
public T caseAndOperator(AndOperator object)
object
- the target of the switch.doSwitch(EObject)
public T caseUntilOperator(UntilOperator object)
object
- the target of the switch.doSwitch(EObject)
public T caseNegOperator(NegOperator object)
object
- the target of the switch.doSwitch(EObject)
public T caseMultiplicity(Multiplicity object)
object
- the target of the switch.doSwitch(EObject)
public T caseInfinite(Infinite object)
object
- the target of the switch.doSwitch(EObject)
public T caseAtLeastOne(AtLeastOne object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase
in class org.eclipse.emf.ecore.util.Switch<T>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)