diff options
Diffstat (limited to 'org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java')
-rw-r--r-- | org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java index a9e1455b..361b663c 100644 --- a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java +++ b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java | |||
@@ -70,6 +70,8 @@ public class ProblemSwitch<T> extends Switch<T> { | |||
70 | Problem problem = (Problem) theEObject; | 70 | Problem problem = (Problem) theEObject; |
71 | T result = caseProblem(problem); | 71 | T result = caseProblem(problem); |
72 | if (result == null) | 72 | if (result == null) |
73 | result = caseNamedElement(problem); | ||
74 | if (result == null) | ||
73 | result = defaultCase(theEObject); | 75 | result = defaultCase(theEObject); |
74 | return result; | 76 | return result; |
75 | } | 77 | } |
@@ -266,6 +268,22 @@ public class ProblemSwitch<T> extends Switch<T> { | |||
266 | result = defaultCase(theEObject); | 268 | result = defaultCase(theEObject); |
267 | return result; | 269 | return result; |
268 | } | 270 | } |
271 | case ProblemPackage.UNBOUNDED_MULTIPLICITY: { | ||
272 | UnboundedMultiplicity unboundedMultiplicity = (UnboundedMultiplicity) theEObject; | ||
273 | T result = caseUnboundedMultiplicity(unboundedMultiplicity); | ||
274 | if (result == null) | ||
275 | result = caseMultiplicity(unboundedMultiplicity); | ||
276 | if (result == null) | ||
277 | result = defaultCase(theEObject); | ||
278 | return result; | ||
279 | } | ||
280 | case ProblemPackage.ARGUMENT: { | ||
281 | Argument argument = (Argument) theEObject; | ||
282 | T result = caseArgument(argument); | ||
283 | if (result == null) | ||
284 | result = defaultCase(theEObject); | ||
285 | return result; | ||
286 | } | ||
269 | default: | 287 | default: |
270 | return defaultCase(theEObject); | 288 | return defaultCase(theEObject); |
271 | } | 289 | } |
@@ -602,6 +620,36 @@ public class ProblemSwitch<T> extends Switch<T> { | |||
602 | } | 620 | } |
603 | 621 | ||
604 | /** | 622 | /** |
623 | * Returns the result of interpreting the object as an instance of '<em>Unbounded Multiplicity</em>'. | ||
624 | * <!-- begin-user-doc --> | ||
625 | * This implementation returns null; | ||
626 | * returning a non-null result will terminate the switch. | ||
627 | * <!-- end-user-doc --> | ||
628 | * @param object the target of the switch. | ||
629 | * @return the result of interpreting the object as an instance of '<em>Unbounded Multiplicity</em>'. | ||
630 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
631 | * @generated | ||
632 | */ | ||
633 | public T caseUnboundedMultiplicity(UnboundedMultiplicity object) { | ||
634 | return null; | ||
635 | } | ||
636 | |||
637 | /** | ||
638 | * Returns the result of interpreting the object as an instance of '<em>Argument</em>'. | ||
639 | * <!-- begin-user-doc --> | ||
640 | * This implementation returns null; | ||
641 | * returning a non-null result will terminate the switch. | ||
642 | * <!-- end-user-doc --> | ||
643 | * @param object the target of the switch. | ||
644 | * @return the result of interpreting the object as an instance of '<em>Argument</em>'. | ||
645 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
646 | * @generated | ||
647 | */ | ||
648 | public T caseArgument(Argument object) { | ||
649 | return null; | ||
650 | } | ||
651 | |||
652 | /** | ||
605 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | 653 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. |
606 | * <!-- begin-user-doc --> | 654 | * <!-- begin-user-doc --> |
607 | * This implementation returns null; | 655 | * This implementation returns null; |