HintcoSwitch.java 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747
  1. /**
  2. */
  3. package ua.ansymo.hintco.util;
  4. import org.eclipse.emf.ecore.EObject;
  5. import org.eclipse.emf.ecore.EPackage;
  6. import org.eclipse.emf.ecore.util.Switch;
  7. import ua.ansymo.hintco.*;
  8. /**
  9. * <!-- begin-user-doc -->
  10. * The <b>Switch</b> for the model's inheritance hierarchy.
  11. * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
  12. * to invoke the <code>caseXXX</code> method for each class of the model,
  13. * starting with the actual class of the object
  14. * and proceeding up the inheritance hierarchy
  15. * until a non-null result is returned,
  16. * which is the result of the switch.
  17. * <!-- end-user-doc -->
  18. * @see ua.ansymo.hintco.HintcoPackage
  19. * @generated
  20. */
  21. public class HintcoSwitch<T> extends Switch<T> {
  22. /**
  23. * The cached model package
  24. * <!-- begin-user-doc -->
  25. * <!-- end-user-doc -->
  26. * @generated
  27. */
  28. protected static HintcoPackage modelPackage;
  29. /**
  30. * Creates an instance of the switch.
  31. * <!-- begin-user-doc -->
  32. * <!-- end-user-doc -->
  33. * @generated
  34. */
  35. public HintcoSwitch() {
  36. if (modelPackage == null) {
  37. modelPackage = HintcoPackage.eINSTANCE;
  38. }
  39. }
  40. /**
  41. * Checks whether this is a switch for the given package.
  42. * <!-- begin-user-doc -->
  43. * <!-- end-user-doc -->
  44. * @param ePackage the package in question.
  45. * @return whether this is a switch for the given package.
  46. * @generated
  47. */
  48. @Override
  49. protected boolean isSwitchFor(EPackage ePackage) {
  50. return ePackage == modelPackage;
  51. }
  52. /**
  53. * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
  54. * <!-- begin-user-doc -->
  55. * <!-- end-user-doc -->
  56. * @return the first non-null result returned by a <code>caseXXX</code> call.
  57. * @generated
  58. */
  59. @Override
  60. protected T doSwitch(int classifierID, EObject theEObject) {
  61. switch (classifierID) {
  62. case HintcoPackage.IDED: {
  63. IDed iDed = (IDed)theEObject;
  64. T result = caseIDed(iDed);
  65. if (result == null) result = defaultCase(theEObject);
  66. return result;
  67. }
  68. case HintcoPackage.HINT_CONFIGURATION: {
  69. HintConfiguration hintConfiguration = (HintConfiguration)theEObject;
  70. T result = caseHintConfiguration(hintConfiguration);
  71. if (result == null) result = defaultCase(theEObject);
  72. return result;
  73. }
  74. case HintcoPackage.VARIANT_DIAGRAM: {
  75. VariantDiagram variantDiagram = (VariantDiagram)theEObject;
  76. T result = caseVariantDiagram(variantDiagram);
  77. if (result == null) result = caseIDed(variantDiagram);
  78. if (result == null) result = defaultCase(theEObject);
  79. return result;
  80. }
  81. case HintcoPackage.PRECENDENCE_NODE: {
  82. PrecendenceNode precendenceNode = (PrecendenceNode)theEObject;
  83. T result = casePrecendenceNode(precendenceNode);
  84. if (result == null) result = defaultCase(theEObject);
  85. return result;
  86. }
  87. case HintcoPackage.ROOT_CANDIDATE_SCENARIO: {
  88. RootCandidateScenario rootCandidateScenario = (RootCandidateScenario)theEObject;
  89. T result = caseRootCandidateScenario(rootCandidateScenario);
  90. if (result == null) result = caseAlternative(rootCandidateScenario);
  91. if (result == null) result = caseScenario(rootCandidateScenario);
  92. if (result == null) result = caseIDed(rootCandidateScenario);
  93. if (result == null) result = defaultCase(theEObject);
  94. return result;
  95. }
  96. case HintcoPackage.SCENARIO: {
  97. Scenario scenario = (Scenario)theEObject;
  98. T result = caseScenario(scenario);
  99. if (result == null) result = caseIDed(scenario);
  100. if (result == null) result = defaultCase(theEObject);
  101. return result;
  102. }
  103. case HintcoPackage.HIERARCHICAL_COSIM_UNIT: {
  104. HierarchicalCosimUnit hierarchicalCosimUnit = (HierarchicalCosimUnit)theEObject;
  105. T result = caseHierarchicalCosimUnit(hierarchicalCosimUnit);
  106. if (result == null) result = caseScenario(hierarchicalCosimUnit);
  107. if (result == null) result = caseUnitInstance(hierarchicalCosimUnit);
  108. if (result == null) result = caseIDed(hierarchicalCosimUnit);
  109. if (result == null) result = casePrecendenceNode(hierarchicalCosimUnit);
  110. if (result == null) result = defaultCase(theEObject);
  111. return result;
  112. }
  113. case HintcoPackage.COSIM_UNIT_DECLARATION: {
  114. CosimUnitDeclaration cosimUnitDeclaration = (CosimUnitDeclaration)theEObject;
  115. T result = caseCosimUnitDeclaration(cosimUnitDeclaration);
  116. if (result == null) result = caseIDed(cosimUnitDeclaration);
  117. if (result == null) result = defaultCase(theEObject);
  118. return result;
  119. }
  120. case HintcoPackage.UNIT_INSTANCE: {
  121. UnitInstance unitInstance = (UnitInstance)theEObject;
  122. T result = caseUnitInstance(unitInstance);
  123. if (result == null) result = caseIDed(unitInstance);
  124. if (result == null) result = casePrecendenceNode(unitInstance);
  125. if (result == null) result = defaultCase(theEObject);
  126. return result;
  127. }
  128. case HintcoPackage.COSIM_UNIT_INSTANCE: {
  129. CosimUnitInstance cosimUnitInstance = (CosimUnitInstance)theEObject;
  130. T result = caseCosimUnitInstance(cosimUnitInstance);
  131. if (result == null) result = caseUnitInstance(cosimUnitInstance);
  132. if (result == null) result = caseIDed(cosimUnitInstance);
  133. if (result == null) result = casePrecendenceNode(cosimUnitInstance);
  134. if (result == null) result = defaultCase(theEObject);
  135. return result;
  136. }
  137. case HintcoPackage.PORT_INSTANCE: {
  138. PortInstance portInstance = (PortInstance)theEObject;
  139. T result = casePortInstance(portInstance);
  140. if (result == null) result = casePrecendenceNode(portInstance);
  141. if (result == null) result = caseIDed(portInstance);
  142. if (result == null) result = defaultCase(theEObject);
  143. return result;
  144. }
  145. case HintcoPackage.HIERARCHICAL_UNIT_PORT: {
  146. HierarchicalUnitPort hierarchicalUnitPort = (HierarchicalUnitPort)theEObject;
  147. T result = caseHierarchicalUnitPort(hierarchicalUnitPort);
  148. if (result == null) result = caseInputPortInstance(hierarchicalUnitPort);
  149. if (result == null) result = caseOutputPortInstance(hierarchicalUnitPort);
  150. if (result == null) result = casePortInstance(hierarchicalUnitPort);
  151. if (result == null) result = casePrecendenceNode(hierarchicalUnitPort);
  152. if (result == null) result = caseIDed(hierarchicalUnitPort);
  153. if (result == null) result = defaultCase(theEObject);
  154. return result;
  155. }
  156. case HintcoPackage.INPUT_PORT_INSTANCE: {
  157. InputPortInstance inputPortInstance = (InputPortInstance)theEObject;
  158. T result = caseInputPortInstance(inputPortInstance);
  159. if (result == null) result = casePortInstance(inputPortInstance);
  160. if (result == null) result = casePrecendenceNode(inputPortInstance);
  161. if (result == null) result = caseIDed(inputPortInstance);
  162. if (result == null) result = defaultCase(theEObject);
  163. return result;
  164. }
  165. case HintcoPackage.OUTPUT_PORT_INSTANCE: {
  166. OutputPortInstance outputPortInstance = (OutputPortInstance)theEObject;
  167. T result = caseOutputPortInstance(outputPortInstance);
  168. if (result == null) result = casePortInstance(outputPortInstance);
  169. if (result == null) result = casePrecendenceNode(outputPortInstance);
  170. if (result == null) result = caseIDed(outputPortInstance);
  171. if (result == null) result = defaultCase(theEObject);
  172. return result;
  173. }
  174. case HintcoPackage.ALTERNATIVE: {
  175. Alternative alternative = (Alternative)theEObject;
  176. T result = caseAlternative(alternative);
  177. if (result == null) result = defaultCase(theEObject);
  178. return result;
  179. }
  180. case HintcoPackage.ADAPTATION: {
  181. Adaptation adaptation = (Adaptation)theEObject;
  182. T result = caseAdaptation(adaptation);
  183. if (result == null) result = caseAlternative(adaptation);
  184. if (result == null) result = defaultCase(theEObject);
  185. return result;
  186. }
  187. case HintcoPackage.PORT_ADAPTATION: {
  188. PortAdaptation portAdaptation = (PortAdaptation)theEObject;
  189. T result = casePortAdaptation(portAdaptation);
  190. if (result == null) result = caseAdaptation(portAdaptation);
  191. if (result == null) result = caseAlternative(portAdaptation);
  192. if (result == null) result = defaultCase(theEObject);
  193. return result;
  194. }
  195. case HintcoPackage.DECOMPOSITION_PORT_ADAPTATION: {
  196. DecompositionPortAdaptation decompositionPortAdaptation = (DecompositionPortAdaptation)theEObject;
  197. T result = caseDecompositionPortAdaptation(decompositionPortAdaptation);
  198. if (result == null) result = casePortAdaptation(decompositionPortAdaptation);
  199. if (result == null) result = caseAdaptation(decompositionPortAdaptation);
  200. if (result == null) result = caseAlternative(decompositionPortAdaptation);
  201. if (result == null) result = defaultCase(theEObject);
  202. return result;
  203. }
  204. case HintcoPackage.UNIT_ADAPTATION: {
  205. UnitAdaptation unitAdaptation = (UnitAdaptation)theEObject;
  206. T result = caseUnitAdaptation(unitAdaptation);
  207. if (result == null) result = caseAdaptation(unitAdaptation);
  208. if (result == null) result = caseAlternative(unitAdaptation);
  209. if (result == null) result = defaultCase(theEObject);
  210. return result;
  211. }
  212. case HintcoPackage.DECOMPOSITION_UNIT_ADAPTATION: {
  213. DecompositionUnitAdaptation decompositionUnitAdaptation = (DecompositionUnitAdaptation)theEObject;
  214. T result = caseDecompositionUnitAdaptation(decompositionUnitAdaptation);
  215. if (result == null) result = caseUnitAdaptation(decompositionUnitAdaptation);
  216. if (result == null) result = caseAdaptation(decompositionUnitAdaptation);
  217. if (result == null) result = caseAlternative(decompositionUnitAdaptation);
  218. if (result == null) result = defaultCase(theEObject);
  219. return result;
  220. }
  221. case HintcoPackage.XOR_UNIT_ADAPTATION: {
  222. XorUnitAdaptation xorUnitAdaptation = (XorUnitAdaptation)theEObject;
  223. T result = caseXorUnitAdaptation(xorUnitAdaptation);
  224. if (result == null) result = caseDecompositionUnitAdaptation(xorUnitAdaptation);
  225. if (result == null) result = caseUnitAdaptation(xorUnitAdaptation);
  226. if (result == null) result = caseAdaptation(xorUnitAdaptation);
  227. if (result == null) result = caseAlternative(xorUnitAdaptation);
  228. if (result == null) result = defaultCase(theEObject);
  229. return result;
  230. }
  231. case HintcoPackage.XOR_PORT_ADAPTATION: {
  232. XorPortAdaptation xorPortAdaptation = (XorPortAdaptation)theEObject;
  233. T result = caseXorPortAdaptation(xorPortAdaptation);
  234. if (result == null) result = caseDecompositionPortAdaptation(xorPortAdaptation);
  235. if (result == null) result = casePortAdaptation(xorPortAdaptation);
  236. if (result == null) result = caseAdaptation(xorPortAdaptation);
  237. if (result == null) result = caseAlternative(xorPortAdaptation);
  238. if (result == null) result = defaultCase(theEObject);
  239. return result;
  240. }
  241. case HintcoPackage.APPROXIMATION_ADAPTATION: {
  242. ApproximationAdaptation approximationAdaptation = (ApproximationAdaptation)theEObject;
  243. T result = caseApproximationAdaptation(approximationAdaptation);
  244. if (result == null) result = casePortAdaptation(approximationAdaptation);
  245. if (result == null) result = caseAdaptation(approximationAdaptation);
  246. if (result == null) result = caseAlternative(approximationAdaptation);
  247. if (result == null) result = defaultCase(theEObject);
  248. return result;
  249. }
  250. case HintcoPackage.MULTI_RATE_ADAPTATION: {
  251. MultiRateAdaptation multiRateAdaptation = (MultiRateAdaptation)theEObject;
  252. T result = caseMultiRateAdaptation(multiRateAdaptation);
  253. if (result == null) result = caseUnitAdaptation(multiRateAdaptation);
  254. if (result == null) result = caseAdaptation(multiRateAdaptation);
  255. if (result == null) result = caseAlternative(multiRateAdaptation);
  256. if (result == null) result = defaultCase(theEObject);
  257. return result;
  258. }
  259. case HintcoPackage.POWER_BOND_ADAPTATION: {
  260. PowerBondAdaptation powerBondAdaptation = (PowerBondAdaptation)theEObject;
  261. T result = casePowerBondAdaptation(powerBondAdaptation);
  262. if (result == null) result = caseUnitAdaptation(powerBondAdaptation);
  263. if (result == null) result = caseAdaptation(powerBondAdaptation);
  264. if (result == null) result = caseAlternative(powerBondAdaptation);
  265. if (result == null) result = defaultCase(theEObject);
  266. return result;
  267. }
  268. case HintcoPackage.EXTRAPOLATION_ADAPTATION: {
  269. ExtrapolationAdaptation extrapolationAdaptation = (ExtrapolationAdaptation)theEObject;
  270. T result = caseExtrapolationAdaptation(extrapolationAdaptation);
  271. if (result == null) result = caseApproximationAdaptation(extrapolationAdaptation);
  272. if (result == null) result = casePortAdaptation(extrapolationAdaptation);
  273. if (result == null) result = caseAdaptation(extrapolationAdaptation);
  274. if (result == null) result = caseAlternative(extrapolationAdaptation);
  275. if (result == null) result = defaultCase(theEObject);
  276. return result;
  277. }
  278. case HintcoPackage.ROLLBACK_INTERPOLATION_ADAPTATION: {
  279. RollbackInterpolationAdaptation rollbackInterpolationAdaptation = (RollbackInterpolationAdaptation)theEObject;
  280. T result = caseRollbackInterpolationAdaptation(rollbackInterpolationAdaptation);
  281. if (result == null) result = caseExtrapolationAdaptation(rollbackInterpolationAdaptation);
  282. if (result == null) result = caseApproximationAdaptation(rollbackInterpolationAdaptation);
  283. if (result == null) result = casePortAdaptation(rollbackInterpolationAdaptation);
  284. if (result == null) result = caseAdaptation(rollbackInterpolationAdaptation);
  285. if (result == null) result = caseAlternative(rollbackInterpolationAdaptation);
  286. if (result == null) result = defaultCase(theEObject);
  287. return result;
  288. }
  289. case HintcoPackage.INTERPOLATION_ADAPTATION: {
  290. InterpolationAdaptation interpolationAdaptation = (InterpolationAdaptation)theEObject;
  291. T result = caseInterpolationAdaptation(interpolationAdaptation);
  292. if (result == null) result = caseApproximationAdaptation(interpolationAdaptation);
  293. if (result == null) result = casePortAdaptation(interpolationAdaptation);
  294. if (result == null) result = caseAdaptation(interpolationAdaptation);
  295. if (result == null) result = caseAlternative(interpolationAdaptation);
  296. if (result == null) result = defaultCase(theEObject);
  297. return result;
  298. }
  299. default: return defaultCase(theEObject);
  300. }
  301. }
  302. /**
  303. * Returns the result of interpreting the object as an instance of '<em>IDed</em>'.
  304. * <!-- begin-user-doc -->
  305. * This implementation returns null;
  306. * returning a non-null result will terminate the switch.
  307. * <!-- end-user-doc -->
  308. * @param object the target of the switch.
  309. * @return the result of interpreting the object as an instance of '<em>IDed</em>'.
  310. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  311. * @generated
  312. */
  313. public T caseIDed(IDed object) {
  314. return null;
  315. }
  316. /**
  317. * Returns the result of interpreting the object as an instance of '<em>Hint Configuration</em>'.
  318. * <!-- begin-user-doc -->
  319. * This implementation returns null;
  320. * returning a non-null result will terminate the switch.
  321. * <!-- end-user-doc -->
  322. * @param object the target of the switch.
  323. * @return the result of interpreting the object as an instance of '<em>Hint Configuration</em>'.
  324. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  325. * @generated
  326. */
  327. public T caseHintConfiguration(HintConfiguration object) {
  328. return null;
  329. }
  330. /**
  331. * Returns the result of interpreting the object as an instance of '<em>Variant Diagram</em>'.
  332. * <!-- begin-user-doc -->
  333. * This implementation returns null;
  334. * returning a non-null result will terminate the switch.
  335. * <!-- end-user-doc -->
  336. * @param object the target of the switch.
  337. * @return the result of interpreting the object as an instance of '<em>Variant Diagram</em>'.
  338. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  339. * @generated
  340. */
  341. public T caseVariantDiagram(VariantDiagram object) {
  342. return null;
  343. }
  344. /**
  345. * Returns the result of interpreting the object as an instance of '<em>Precendence Node</em>'.
  346. * <!-- begin-user-doc -->
  347. * This implementation returns null;
  348. * returning a non-null result will terminate the switch.
  349. * <!-- end-user-doc -->
  350. * @param object the target of the switch.
  351. * @return the result of interpreting the object as an instance of '<em>Precendence Node</em>'.
  352. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  353. * @generated
  354. */
  355. public T casePrecendenceNode(PrecendenceNode object) {
  356. return null;
  357. }
  358. /**
  359. * Returns the result of interpreting the object as an instance of '<em>Root Candidate Scenario</em>'.
  360. * <!-- begin-user-doc -->
  361. * This implementation returns null;
  362. * returning a non-null result will terminate the switch.
  363. * <!-- end-user-doc -->
  364. * @param object the target of the switch.
  365. * @return the result of interpreting the object as an instance of '<em>Root Candidate Scenario</em>'.
  366. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  367. * @generated
  368. */
  369. public T caseRootCandidateScenario(RootCandidateScenario object) {
  370. return null;
  371. }
  372. /**
  373. * Returns the result of interpreting the object as an instance of '<em>Scenario</em>'.
  374. * <!-- begin-user-doc -->
  375. * This implementation returns null;
  376. * returning a non-null result will terminate the switch.
  377. * <!-- end-user-doc -->
  378. * @param object the target of the switch.
  379. * @return the result of interpreting the object as an instance of '<em>Scenario</em>'.
  380. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  381. * @generated
  382. */
  383. public T caseScenario(Scenario object) {
  384. return null;
  385. }
  386. /**
  387. * Returns the result of interpreting the object as an instance of '<em>Hierarchical Cosim Unit</em>'.
  388. * <!-- begin-user-doc -->
  389. * This implementation returns null;
  390. * returning a non-null result will terminate the switch.
  391. * <!-- end-user-doc -->
  392. * @param object the target of the switch.
  393. * @return the result of interpreting the object as an instance of '<em>Hierarchical Cosim Unit</em>'.
  394. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  395. * @generated
  396. */
  397. public T caseHierarchicalCosimUnit(HierarchicalCosimUnit object) {
  398. return null;
  399. }
  400. /**
  401. * Returns the result of interpreting the object as an instance of '<em>Cosim Unit Declaration</em>'.
  402. * <!-- begin-user-doc -->
  403. * This implementation returns null;
  404. * returning a non-null result will terminate the switch.
  405. * <!-- end-user-doc -->
  406. * @param object the target of the switch.
  407. * @return the result of interpreting the object as an instance of '<em>Cosim Unit Declaration</em>'.
  408. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  409. * @generated
  410. */
  411. public T caseCosimUnitDeclaration(CosimUnitDeclaration object) {
  412. return null;
  413. }
  414. /**
  415. * Returns the result of interpreting the object as an instance of '<em>Unit Instance</em>'.
  416. * <!-- begin-user-doc -->
  417. * This implementation returns null;
  418. * returning a non-null result will terminate the switch.
  419. * <!-- end-user-doc -->
  420. * @param object the target of the switch.
  421. * @return the result of interpreting the object as an instance of '<em>Unit Instance</em>'.
  422. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  423. * @generated
  424. */
  425. public T caseUnitInstance(UnitInstance object) {
  426. return null;
  427. }
  428. /**
  429. * Returns the result of interpreting the object as an instance of '<em>Cosim Unit Instance</em>'.
  430. * <!-- begin-user-doc -->
  431. * This implementation returns null;
  432. * returning a non-null result will terminate the switch.
  433. * <!-- end-user-doc -->
  434. * @param object the target of the switch.
  435. * @return the result of interpreting the object as an instance of '<em>Cosim Unit Instance</em>'.
  436. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  437. * @generated
  438. */
  439. public T caseCosimUnitInstance(CosimUnitInstance object) {
  440. return null;
  441. }
  442. /**
  443. * Returns the result of interpreting the object as an instance of '<em>Port Instance</em>'.
  444. * <!-- begin-user-doc -->
  445. * This implementation returns null;
  446. * returning a non-null result will terminate the switch.
  447. * <!-- end-user-doc -->
  448. * @param object the target of the switch.
  449. * @return the result of interpreting the object as an instance of '<em>Port Instance</em>'.
  450. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  451. * @generated
  452. */
  453. public T casePortInstance(PortInstance object) {
  454. return null;
  455. }
  456. /**
  457. * Returns the result of interpreting the object as an instance of '<em>Hierarchical Unit Port</em>'.
  458. * <!-- begin-user-doc -->
  459. * This implementation returns null;
  460. * returning a non-null result will terminate the switch.
  461. * <!-- end-user-doc -->
  462. * @param object the target of the switch.
  463. * @return the result of interpreting the object as an instance of '<em>Hierarchical Unit Port</em>'.
  464. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  465. * @generated
  466. */
  467. public T caseHierarchicalUnitPort(HierarchicalUnitPort object) {
  468. return null;
  469. }
  470. /**
  471. * Returns the result of interpreting the object as an instance of '<em>Input Port Instance</em>'.
  472. * <!-- begin-user-doc -->
  473. * This implementation returns null;
  474. * returning a non-null result will terminate the switch.
  475. * <!-- end-user-doc -->
  476. * @param object the target of the switch.
  477. * @return the result of interpreting the object as an instance of '<em>Input Port Instance</em>'.
  478. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  479. * @generated
  480. */
  481. public T caseInputPortInstance(InputPortInstance object) {
  482. return null;
  483. }
  484. /**
  485. * Returns the result of interpreting the object as an instance of '<em>Output Port Instance</em>'.
  486. * <!-- begin-user-doc -->
  487. * This implementation returns null;
  488. * returning a non-null result will terminate the switch.
  489. * <!-- end-user-doc -->
  490. * @param object the target of the switch.
  491. * @return the result of interpreting the object as an instance of '<em>Output Port Instance</em>'.
  492. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  493. * @generated
  494. */
  495. public T caseOutputPortInstance(OutputPortInstance object) {
  496. return null;
  497. }
  498. /**
  499. * Returns the result of interpreting the object as an instance of '<em>Alternative</em>'.
  500. * <!-- begin-user-doc -->
  501. * This implementation returns null;
  502. * returning a non-null result will terminate the switch.
  503. * <!-- end-user-doc -->
  504. * @param object the target of the switch.
  505. * @return the result of interpreting the object as an instance of '<em>Alternative</em>'.
  506. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  507. * @generated
  508. */
  509. public T caseAlternative(Alternative object) {
  510. return null;
  511. }
  512. /**
  513. * Returns the result of interpreting the object as an instance of '<em>Adaptation</em>'.
  514. * <!-- begin-user-doc -->
  515. * This implementation returns null;
  516. * returning a non-null result will terminate the switch.
  517. * <!-- end-user-doc -->
  518. * @param object the target of the switch.
  519. * @return the result of interpreting the object as an instance of '<em>Adaptation</em>'.
  520. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  521. * @generated
  522. */
  523. public T caseAdaptation(Adaptation object) {
  524. return null;
  525. }
  526. /**
  527. * Returns the result of interpreting the object as an instance of '<em>Port Adaptation</em>'.
  528. * <!-- begin-user-doc -->
  529. * This implementation returns null;
  530. * returning a non-null result will terminate the switch.
  531. * <!-- end-user-doc -->
  532. * @param object the target of the switch.
  533. * @return the result of interpreting the object as an instance of '<em>Port Adaptation</em>'.
  534. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  535. * @generated
  536. */
  537. public T casePortAdaptation(PortAdaptation object) {
  538. return null;
  539. }
  540. /**
  541. * Returns the result of interpreting the object as an instance of '<em>Decomposition Port Adaptation</em>'.
  542. * <!-- begin-user-doc -->
  543. * This implementation returns null;
  544. * returning a non-null result will terminate the switch.
  545. * <!-- end-user-doc -->
  546. * @param object the target of the switch.
  547. * @return the result of interpreting the object as an instance of '<em>Decomposition Port Adaptation</em>'.
  548. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  549. * @generated
  550. */
  551. public T caseDecompositionPortAdaptation(DecompositionPortAdaptation object) {
  552. return null;
  553. }
  554. /**
  555. * Returns the result of interpreting the object as an instance of '<em>Unit Adaptation</em>'.
  556. * <!-- begin-user-doc -->
  557. * This implementation returns null;
  558. * returning a non-null result will terminate the switch.
  559. * <!-- end-user-doc -->
  560. * @param object the target of the switch.
  561. * @return the result of interpreting the object as an instance of '<em>Unit Adaptation</em>'.
  562. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  563. * @generated
  564. */
  565. public T caseUnitAdaptation(UnitAdaptation object) {
  566. return null;
  567. }
  568. /**
  569. * Returns the result of interpreting the object as an instance of '<em>Decomposition Unit Adaptation</em>'.
  570. * <!-- begin-user-doc -->
  571. * This implementation returns null;
  572. * returning a non-null result will terminate the switch.
  573. * <!-- end-user-doc -->
  574. * @param object the target of the switch.
  575. * @return the result of interpreting the object as an instance of '<em>Decomposition Unit Adaptation</em>'.
  576. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  577. * @generated
  578. */
  579. public T caseDecompositionUnitAdaptation(DecompositionUnitAdaptation object) {
  580. return null;
  581. }
  582. /**
  583. * Returns the result of interpreting the object as an instance of '<em>Xor Unit Adaptation</em>'.
  584. * <!-- begin-user-doc -->
  585. * This implementation returns null;
  586. * returning a non-null result will terminate the switch.
  587. * <!-- end-user-doc -->
  588. * @param object the target of the switch.
  589. * @return the result of interpreting the object as an instance of '<em>Xor Unit Adaptation</em>'.
  590. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  591. * @generated
  592. */
  593. public T caseXorUnitAdaptation(XorUnitAdaptation object) {
  594. return null;
  595. }
  596. /**
  597. * Returns the result of interpreting the object as an instance of '<em>Xor Port Adaptation</em>'.
  598. * <!-- begin-user-doc -->
  599. * This implementation returns null;
  600. * returning a non-null result will terminate the switch.
  601. * <!-- end-user-doc -->
  602. * @param object the target of the switch.
  603. * @return the result of interpreting the object as an instance of '<em>Xor Port Adaptation</em>'.
  604. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  605. * @generated
  606. */
  607. public T caseXorPortAdaptation(XorPortAdaptation object) {
  608. return null;
  609. }
  610. /**
  611. * Returns the result of interpreting the object as an instance of '<em>Approximation Adaptation</em>'.
  612. * <!-- begin-user-doc -->
  613. * This implementation returns null;
  614. * returning a non-null result will terminate the switch.
  615. * <!-- end-user-doc -->
  616. * @param object the target of the switch.
  617. * @return the result of interpreting the object as an instance of '<em>Approximation Adaptation</em>'.
  618. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  619. * @generated
  620. */
  621. public T caseApproximationAdaptation(ApproximationAdaptation object) {
  622. return null;
  623. }
  624. /**
  625. * Returns the result of interpreting the object as an instance of '<em>Multi Rate Adaptation</em>'.
  626. * <!-- begin-user-doc -->
  627. * This implementation returns null;
  628. * returning a non-null result will terminate the switch.
  629. * <!-- end-user-doc -->
  630. * @param object the target of the switch.
  631. * @return the result of interpreting the object as an instance of '<em>Multi Rate Adaptation</em>'.
  632. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  633. * @generated
  634. */
  635. public T caseMultiRateAdaptation(MultiRateAdaptation object) {
  636. return null;
  637. }
  638. /**
  639. * Returns the result of interpreting the object as an instance of '<em>Power Bond Adaptation</em>'.
  640. * <!-- begin-user-doc -->
  641. * This implementation returns null;
  642. * returning a non-null result will terminate the switch.
  643. * <!-- end-user-doc -->
  644. * @param object the target of the switch.
  645. * @return the result of interpreting the object as an instance of '<em>Power Bond Adaptation</em>'.
  646. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  647. * @generated
  648. */
  649. public T casePowerBondAdaptation(PowerBondAdaptation object) {
  650. return null;
  651. }
  652. /**
  653. * Returns the result of interpreting the object as an instance of '<em>Extrapolation Adaptation</em>'.
  654. * <!-- begin-user-doc -->
  655. * This implementation returns null;
  656. * returning a non-null result will terminate the switch.
  657. * <!-- end-user-doc -->
  658. * @param object the target of the switch.
  659. * @return the result of interpreting the object as an instance of '<em>Extrapolation Adaptation</em>'.
  660. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  661. * @generated
  662. */
  663. public T caseExtrapolationAdaptation(ExtrapolationAdaptation object) {
  664. return null;
  665. }
  666. /**
  667. * Returns the result of interpreting the object as an instance of '<em>Rollback Interpolation Adaptation</em>'.
  668. * <!-- begin-user-doc -->
  669. * This implementation returns null;
  670. * returning a non-null result will terminate the switch.
  671. * <!-- end-user-doc -->
  672. * @param object the target of the switch.
  673. * @return the result of interpreting the object as an instance of '<em>Rollback Interpolation Adaptation</em>'.
  674. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  675. * @generated
  676. */
  677. public T caseRollbackInterpolationAdaptation(RollbackInterpolationAdaptation object) {
  678. return null;
  679. }
  680. /**
  681. * Returns the result of interpreting the object as an instance of '<em>Interpolation Adaptation</em>'.
  682. * <!-- begin-user-doc -->
  683. * This implementation returns null;
  684. * returning a non-null result will terminate the switch.
  685. * <!-- end-user-doc -->
  686. * @param object the target of the switch.
  687. * @return the result of interpreting the object as an instance of '<em>Interpolation Adaptation</em>'.
  688. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
  689. * @generated
  690. */
  691. public T caseInterpolationAdaptation(InterpolationAdaptation object) {
  692. return null;
  693. }
  694. /**
  695. * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
  696. * <!-- begin-user-doc -->
  697. * This implementation returns null;
  698. * returning a non-null result will terminate the switch, but this is the last case anyway.
  699. * <!-- end-user-doc -->
  700. * @param object the target of the switch.
  701. * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
  702. * @see #doSwitch(org.eclipse.emf.ecore.EObject)
  703. * @generated
  704. */
  705. @Override
  706. public T defaultCase(EObject object) {
  707. return null;
  708. }
  709. } //HintcoSwitch