diff options
Diffstat (limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util')
2 files changed, 41 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/CftAdapterFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java index e3a40888..f5d3bf83 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java | |||
@@ -124,6 +124,10 @@ public class CftAdapterFactory extends AdapterFactoryImpl { | |||
124 | return createConnectionAdapter(); | 124 | return createConnectionAdapter(); |
125 | } | 125 | } |
126 | @Override | 126 | @Override |
127 | public Adapter caseModalElement(ModalElement object) { | ||
128 | return createModalElementAdapter(); | ||
129 | } | ||
130 | @Override | ||
127 | public Adapter defaultCase(EObject object) { | 131 | public Adapter defaultCase(EObject object) { |
128 | return createEObjectAdapter(); | 132 | return createEObjectAdapter(); |
129 | } | 133 | } |
@@ -340,6 +344,20 @@ public class CftAdapterFactory extends AdapterFactoryImpl { | |||
340 | } | 344 | } |
341 | 345 | ||
342 | /** | 346 | /** |
347 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement <em>Modal Element</em>}'. | ||
348 | * <!-- begin-user-doc --> | ||
349 | * This default implementation returns null so that we can easily ignore cases; | ||
350 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
351 | * <!-- end-user-doc --> | ||
352 | * @return the new adapter. | ||
353 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement | ||
354 | * @generated | ||
355 | */ | ||
356 | public Adapter createModalElementAdapter() { | ||
357 | return null; | ||
358 | } | ||
359 | |||
360 | /** | ||
343 | * Creates a new adapter for the default case. | 361 | * Creates a new adapter for the default case. |
344 | * <!-- begin-user-doc --> | 362 | * <!-- begin-user-doc --> |
345 | * This default implementation returns null. | 363 | * This default implementation returns null. |
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; |