diff options
Diffstat (limited to 'extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/timingconstraints/util/TimingconstraintsSwitch.java')
-rw-r--r-- | extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/timingconstraints/util/TimingconstraintsSwitch.java | 469 |
1 files changed, 308 insertions, 161 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/timingconstraints/util/TimingconstraintsSwitch.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/timingconstraints/util/TimingconstraintsSwitch.java index 7a07ad39497..1993d05fce7 100644 --- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/timingconstraints/util/TimingconstraintsSwitch.java +++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/timing/timingconstraints/util/TimingconstraintsSwitch.java @@ -1,7 +1,7 @@ /***************************************************************************** * Copyright (c) 2010 CEA LIST. * - * + * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -43,13 +43,13 @@ import org.eclipse.papyrus.eastadl.timing.timingconstraints.TimingconstraintsPac /** * <!-- begin-user-doc --> * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> 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. * <!-- end-user-doc --> + * * @see org.eclipse.papyrus.eastadl.timing.timingconstraints.TimingconstraintsPackage * @generated */ @@ -58,6 +58,7 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * The cached model package * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected static TimingconstraintsPackage modelPackage; @@ -66,6 +67,7 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * Creates an instance of the switch. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ public TimingconstraintsSwitch() { @@ -78,6 +80,7 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * Checks whether this is a switch for the given package. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @parameter ePackage the package in question. * @return whether this is a switch for the given package. * @generated @@ -93,7 +96,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>EA Element</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -108,7 +113,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Delay Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -123,7 +130,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Age Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -138,7 +147,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Input Synchronization Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -153,7 +164,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Output Synchronization Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -168,7 +181,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Reaction Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -183,7 +198,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Sporadic Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -198,7 +215,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Periodic Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -213,7 +232,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Pattern Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -228,7 +249,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Arbitrary Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -243,7 +266,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Execution Time Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -258,7 +283,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Burst Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -273,7 +300,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Comparison Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -288,7 +317,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Order Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -303,7 +334,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Repetition Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -318,7 +351,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Strong Delay Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -333,7 +368,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Strong Synchronization Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -348,7 +385,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Synchronization Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -363,7 +402,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>Constraint</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -378,7 +419,9 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * This implementation returns null; * returning a non-null result will terminate the switch, but this is the last case anyway. * <!-- end-user-doc --> - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of '<em>EObject</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated @@ -392,150 +435,254 @@ public class TimingconstraintsSwitch<T> extends Switch<T> { * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @return the first non-null result returned by a <code>caseXXX</code> call. * @generated */ @Override protected T doSwitch(int classifierID, EObject theEObject) { switch (classifierID) { - case TimingconstraintsPackage.DELAY_CONSTRAINT: { - DelayConstraint delayConstraint = (DelayConstraint)theEObject; - T result = caseDelayConstraint(delayConstraint); - if (result == null) result = caseTimingConstraint(delayConstraint); - if (result == null) result = caseEAElement(delayConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TimingconstraintsPackage.AGE_CONSTRAINT: { - AgeConstraint ageConstraint = (AgeConstraint)theEObject; - T result = caseAgeConstraint(ageConstraint); - if (result == null) result = caseTimingConstraint(ageConstraint); - if (result == null) result = caseEAElement(ageConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TimingconstraintsPackage.INPUT_SYNCHRONIZATION_CONSTRAINT: { - InputSynchronizationConstraint inputSynchronizationConstraint = (InputSynchronizationConstraint)theEObject; - T result = caseInputSynchronizationConstraint(inputSynchronizationConstraint); - if (result == null) result = caseTimingConstraint(inputSynchronizationConstraint); - if (result == null) result = caseEAElement(inputSynchronizationConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TimingconstraintsPackage.OUTPUT_SYNCHRONIZATION_CONSTRAINT: { - OutputSynchronizationConstraint outputSynchronizationConstraint = (OutputSynchronizationConstraint)theEObject; - T result = caseOutputSynchronizationConstraint(outputSynchronizationConstraint); - if (result == null) result = caseTimingConstraint(outputSynchronizationConstraint); - if (result == null) result = caseEAElement(outputSynchronizationConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TimingconstraintsPackage.REACTION_CONSTRAINT: { - ReactionConstraint reactionConstraint = (ReactionConstraint)theEObject; - T result = caseReactionConstraint(reactionConstraint); - if (result == null) result = caseTimingConstraint(reactionConstraint); - if (result == null) result = caseEAElement(reactionConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TimingconstraintsPackage.SPORADIC_CONSTRAINT: { - SporadicConstraint sporadicConstraint = (SporadicConstraint)theEObject; - T result = caseSporadicConstraint(sporadicConstraint); - if (result == null) result = caseTimingConstraint(sporadicConstraint); - if (result == null) result = caseEAElement(sporadicConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TimingconstraintsPackage.PERIODIC_CONSTRAINT: { - PeriodicConstraint periodicConstraint = (PeriodicConstraint)theEObject; - T result = casePeriodicConstraint(periodicConstraint); - if (result == null) result = caseTimingConstraint(periodicConstraint); - if (result == null) result = caseEAElement(periodicConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TimingconstraintsPackage.PATTERN_CONSTRAINT: { - PatternConstraint patternConstraint = (PatternConstraint)theEObject; - T result = casePatternConstraint(patternConstraint); - if (result == null) result = caseTimingConstraint(patternConstraint); - if (result == null) result = caseEAElement(patternConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TimingconstraintsPackage.ARBITRARY_CONSTRAINT: { - ArbitraryConstraint arbitraryConstraint = (ArbitraryConstraint)theEObject; - T result = caseArbitraryConstraint(arbitraryConstraint); - if (result == null) result = caseTimingConstraint(arbitraryConstraint); - if (result == null) result = caseEAElement(arbitraryConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TimingconstraintsPackage.EXECUTION_TIME_CONSTRAINT: { - ExecutionTimeConstraint executionTimeConstraint = (ExecutionTimeConstraint)theEObject; - T result = caseExecutionTimeConstraint(executionTimeConstraint); - if (result == null) result = caseTimingConstraint(executionTimeConstraint); - if (result == null) result = caseEAElement(executionTimeConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TimingconstraintsPackage.BURST_CONSTRAINT: { - BurstConstraint burstConstraint = (BurstConstraint)theEObject; - T result = caseBurstConstraint(burstConstraint); - if (result == null) result = caseTimingConstraint(burstConstraint); - if (result == null) result = caseEAElement(burstConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TimingconstraintsPackage.COMPARISON_CONSTRAINT: { - ComparisonConstraint comparisonConstraint = (ComparisonConstraint)theEObject; - T result = caseComparisonConstraint(comparisonConstraint); - if (result == null) result = caseTimingConstraint(comparisonConstraint); - if (result == null) result = caseEAElement(comparisonConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TimingconstraintsPackage.ORDER_CONSTRAINT: { - OrderConstraint orderConstraint = (OrderConstraint)theEObject; - T result = caseOrderConstraint(orderConstraint); - if (result == null) result = caseTimingConstraint(orderConstraint); - if (result == null) result = caseEAElement(orderConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TimingconstraintsPackage.REPETITION_CONSTRAINT: { - RepetitionConstraint repetitionConstraint = (RepetitionConstraint)theEObject; - T result = caseRepetitionConstraint(repetitionConstraint); - if (result == null) result = caseTimingConstraint(repetitionConstraint); - if (result == null) result = caseEAElement(repetitionConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TimingconstraintsPackage.STRONG_DELAY_CONSTRAINT: { - StrongDelayConstraint strongDelayConstraint = (StrongDelayConstraint)theEObject; - T result = caseStrongDelayConstraint(strongDelayConstraint); - if (result == null) result = caseTimingConstraint(strongDelayConstraint); - if (result == null) result = caseEAElement(strongDelayConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TimingconstraintsPackage.STRONG_SYNCHRONIZATION_CONSTRAINT: { - StrongSynchronizationConstraint strongSynchronizationConstraint = (StrongSynchronizationConstraint)theEObject; - T result = caseStrongSynchronizationConstraint(strongSynchronizationConstraint); - if (result == null) result = caseTimingConstraint(strongSynchronizationConstraint); - if (result == null) result = caseEAElement(strongSynchronizationConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TimingconstraintsPackage.SYNCHRONIZATION_CONSTRAINT: { - SynchronizationConstraint synchronizationConstraint = (SynchronizationConstraint)theEObject; - T result = caseSynchronizationConstraint(synchronizationConstraint); - if (result == null) result = caseTimingConstraint(synchronizationConstraint); - if (result == null) result = caseEAElement(synchronizationConstraint); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); + case TimingconstraintsPackage.DELAY_CONSTRAINT: { + DelayConstraint delayConstraint = (DelayConstraint) theEObject; + T result = caseDelayConstraint(delayConstraint); + if (result == null) { + result = caseTimingConstraint(delayConstraint); + } + if (result == null) { + result = caseEAElement(delayConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case TimingconstraintsPackage.AGE_CONSTRAINT: { + AgeConstraint ageConstraint = (AgeConstraint) theEObject; + T result = caseAgeConstraint(ageConstraint); + if (result == null) { + result = caseTimingConstraint(ageConstraint); + } + if (result == null) { + result = caseEAElement(ageConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case TimingconstraintsPackage.INPUT_SYNCHRONIZATION_CONSTRAINT: { + InputSynchronizationConstraint inputSynchronizationConstraint = (InputSynchronizationConstraint) theEObject; + T result = caseInputSynchronizationConstraint(inputSynchronizationConstraint); + if (result == null) { + result = caseTimingConstraint(inputSynchronizationConstraint); + } + if (result == null) { + result = caseEAElement(inputSynchronizationConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case TimingconstraintsPackage.OUTPUT_SYNCHRONIZATION_CONSTRAINT: { + OutputSynchronizationConstraint outputSynchronizationConstraint = (OutputSynchronizationConstraint) theEObject; + T result = caseOutputSynchronizationConstraint(outputSynchronizationConstraint); + if (result == null) { + result = caseTimingConstraint(outputSynchronizationConstraint); + } + if (result == null) { + result = caseEAElement(outputSynchronizationConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case TimingconstraintsPackage.REACTION_CONSTRAINT: { + ReactionConstraint reactionConstraint = (ReactionConstraint) theEObject; + T result = caseReactionConstraint(reactionConstraint); + if (result == null) { + result = caseTimingConstraint(reactionConstraint); + } + if (result == null) { + result = caseEAElement(reactionConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case TimingconstraintsPackage.SPORADIC_CONSTRAINT: { + SporadicConstraint sporadicConstraint = (SporadicConstraint) theEObject; + T result = caseSporadicConstraint(sporadicConstraint); + if (result == null) { + result = caseTimingConstraint(sporadicConstraint); + } + if (result == null) { + result = caseEAElement(sporadicConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case TimingconstraintsPackage.PERIODIC_CONSTRAINT: { + PeriodicConstraint periodicConstraint = (PeriodicConstraint) theEObject; + T result = casePeriodicConstraint(periodicConstraint); + if (result == null) { + result = caseTimingConstraint(periodicConstraint); + } + if (result == null) { + result = caseEAElement(periodicConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case TimingconstraintsPackage.PATTERN_CONSTRAINT: { + PatternConstraint patternConstraint = (PatternConstraint) theEObject; + T result = casePatternConstraint(patternConstraint); + if (result == null) { + result = caseTimingConstraint(patternConstraint); + } + if (result == null) { + result = caseEAElement(patternConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case TimingconstraintsPackage.ARBITRARY_CONSTRAINT: { + ArbitraryConstraint arbitraryConstraint = (ArbitraryConstraint) theEObject; + T result = caseArbitraryConstraint(arbitraryConstraint); + if (result == null) { + result = caseTimingConstraint(arbitraryConstraint); + } + if (result == null) { + result = caseEAElement(arbitraryConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case TimingconstraintsPackage.EXECUTION_TIME_CONSTRAINT: { + ExecutionTimeConstraint executionTimeConstraint = (ExecutionTimeConstraint) theEObject; + T result = caseExecutionTimeConstraint(executionTimeConstraint); + if (result == null) { + result = caseTimingConstraint(executionTimeConstraint); + } + if (result == null) { + result = caseEAElement(executionTimeConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case TimingconstraintsPackage.BURST_CONSTRAINT: { + BurstConstraint burstConstraint = (BurstConstraint) theEObject; + T result = caseBurstConstraint(burstConstraint); + if (result == null) { + result = caseTimingConstraint(burstConstraint); + } + if (result == null) { + result = caseEAElement(burstConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case TimingconstraintsPackage.COMPARISON_CONSTRAINT: { + ComparisonConstraint comparisonConstraint = (ComparisonConstraint) theEObject; + T result = caseComparisonConstraint(comparisonConstraint); + if (result == null) { + result = caseTimingConstraint(comparisonConstraint); + } + if (result == null) { + result = caseEAElement(comparisonConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case TimingconstraintsPackage.ORDER_CONSTRAINT: { + OrderConstraint orderConstraint = (OrderConstraint) theEObject; + T result = caseOrderConstraint(orderConstraint); + if (result == null) { + result = caseTimingConstraint(orderConstraint); + } + if (result == null) { + result = caseEAElement(orderConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case TimingconstraintsPackage.REPETITION_CONSTRAINT: { + RepetitionConstraint repetitionConstraint = (RepetitionConstraint) theEObject; + T result = caseRepetitionConstraint(repetitionConstraint); + if (result == null) { + result = caseTimingConstraint(repetitionConstraint); + } + if (result == null) { + result = caseEAElement(repetitionConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case TimingconstraintsPackage.STRONG_DELAY_CONSTRAINT: { + StrongDelayConstraint strongDelayConstraint = (StrongDelayConstraint) theEObject; + T result = caseStrongDelayConstraint(strongDelayConstraint); + if (result == null) { + result = caseTimingConstraint(strongDelayConstraint); + } + if (result == null) { + result = caseEAElement(strongDelayConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case TimingconstraintsPackage.STRONG_SYNCHRONIZATION_CONSTRAINT: { + StrongSynchronizationConstraint strongSynchronizationConstraint = (StrongSynchronizationConstraint) theEObject; + T result = caseStrongSynchronizationConstraint(strongSynchronizationConstraint); + if (result == null) { + result = caseTimingConstraint(strongSynchronizationConstraint); + } + if (result == null) { + result = caseEAElement(strongSynchronizationConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case TimingconstraintsPackage.SYNCHRONIZATION_CONSTRAINT: { + SynchronizationConstraint synchronizationConstraint = (SynchronizationConstraint) theEObject; + T result = caseSynchronizationConstraint(synchronizationConstraint); + if (result == null) { + result = caseTimingConstraint(synchronizationConstraint); + } + if (result == null) { + result = caseEAElement(synchronizationConstraint); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + default: + return defaultCase(theEObject); } } -} //TimingconstraintsSwitch +} // TimingconstraintsSwitch |