diff options
Diffstat (limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java')
-rw-r--r-- | Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java index e32d792b..3c5a4fd9 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java | |||
@@ -144,6 +144,7 @@ public class CftSwitch<T> extends Switch<T> { | |||
144 | case CftPackage.COMPONENT: { | 144 | case CftPackage.COMPONENT: { |
145 | Component component = (Component)theEObject; | 145 | Component component = (Component)theEObject; |
146 | T result = caseComponent(component); | 146 | T result = caseComponent(component); |
147 | if (result == null) result = caseModalElement(component); | ||
147 | if (result == null) result = defaultCase(theEObject); | 148 | if (result == null) result = defaultCase(theEObject); |
148 | return result; | 149 | return result; |
149 | } | 150 | } |
@@ -162,6 +163,13 @@ public class CftSwitch<T> extends Switch<T> { | |||
162 | case CftPackage.CONNECTION: { | 163 | case CftPackage.CONNECTION: { |
163 | Connection connection = (Connection)theEObject; | 164 | Connection connection = (Connection)theEObject; |
164 | T result = caseConnection(connection); | 165 | T result = caseConnection(connection); |
166 | if (result == null) result = caseModalElement(connection); | ||
167 | if (result == null) result = defaultCase(theEObject); | ||
168 | return result; | ||
169 | } | ||
170 | case CftPackage.MODAL_ELEMENT: { | ||
171 | ModalElement modalElement = (ModalElement)theEObject; | ||
172 | T result = caseModalElement(modalElement); | ||
165 | if (result == null) result = defaultCase(theEObject); | 173 | if (result == null) result = defaultCase(theEObject); |
166 | return result; | 174 | return result; |
167 | } | 175 | } |
@@ -380,6 +388,21 @@ public class CftSwitch<T> extends Switch<T> { | |||
380 | } | 388 | } |
381 | 389 | ||
382 | /** | 390 | /** |
391 | * Returns the result of interpreting the object as an instance of '<em>Modal Element</em>'. | ||
392 | * <!-- begin-user-doc --> | ||
393 | * This implementation returns null; | ||
394 | * returning a non-null result will terminate the switch. | ||
395 | * <!-- end-user-doc --> | ||
396 | * @param object the target of the switch. | ||
397 | * @return the result of interpreting the object as an instance of '<em>Modal Element</em>'. | ||
398 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
399 | * @generated | ||
400 | */ | ||
401 | public T caseModalElement(ModalElement object) { | ||
402 | return null; | ||
403 | } | ||
404 | |||
405 | /** | ||
383 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | 406 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. |
384 | * <!-- begin-user-doc --> | 407 | * <!-- begin-user-doc --> |
385 | * This implementation returns null; | 408 | * This implementation returns null; |