HintcoPackageImpl.java 60 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610
  1. /**
  2. */
  3. package ua.ansymo.hintco.impl;
  4. import org.eclipse.emf.ecore.EAttribute;
  5. import org.eclipse.emf.ecore.EClass;
  6. import org.eclipse.emf.ecore.EDataType;
  7. import org.eclipse.emf.ecore.EOperation;
  8. import org.eclipse.emf.ecore.EPackage;
  9. import org.eclipse.emf.ecore.EReference;
  10. import org.eclipse.emf.ecore.EcorePackage;
  11. import org.eclipse.emf.ecore.impl.EPackageImpl;
  12. import ua.ansymo.hintco.Adaptation;
  13. import ua.ansymo.hintco.Alternative;
  14. import ua.ansymo.hintco.ApproximationAdaptation;
  15. import ua.ansymo.hintco.CosimUnitDeclaration;
  16. import ua.ansymo.hintco.CosimUnitInstance;
  17. import ua.ansymo.hintco.DecompositionPortAdaptation;
  18. import ua.ansymo.hintco.DecompositionUnitAdaptation;
  19. import ua.ansymo.hintco.ExtrapolationAdaptation;
  20. import ua.ansymo.hintco.HierarchicalCosimUnit;
  21. import ua.ansymo.hintco.HierarchicalUnitPort;
  22. import ua.ansymo.hintco.HintConfiguration;
  23. import ua.ansymo.hintco.HintcoFactory;
  24. import ua.ansymo.hintco.HintcoPackage;
  25. import ua.ansymo.hintco.IDed;
  26. import ua.ansymo.hintco.InputPortInstance;
  27. import ua.ansymo.hintco.InterpolationAdaptation;
  28. import ua.ansymo.hintco.MultiRateAdaptation;
  29. import ua.ansymo.hintco.OutputPortInstance;
  30. import ua.ansymo.hintco.PortAdaptation;
  31. import ua.ansymo.hintco.PortInstance;
  32. import ua.ansymo.hintco.PowerBondAdaptation;
  33. import ua.ansymo.hintco.PrecendenceNode;
  34. import ua.ansymo.hintco.RollbackInterpolationAdaptation;
  35. import ua.ansymo.hintco.RootCandidateScenario;
  36. import ua.ansymo.hintco.Scenario;
  37. import ua.ansymo.hintco.UnitAdaptation;
  38. import ua.ansymo.hintco.UnitInstance;
  39. import ua.ansymo.hintco.VariantDiagram;
  40. import ua.ansymo.hintco.XorPortAdaptation;
  41. import ua.ansymo.hintco.XorUnitAdaptation;
  42. /**
  43. * <!-- begin-user-doc -->
  44. * An implementation of the model <b>Package</b>.
  45. * <!-- end-user-doc -->
  46. * @generated
  47. */
  48. public class HintcoPackageImpl extends EPackageImpl implements HintcoPackage {
  49. /**
  50. * <!-- begin-user-doc -->
  51. * <!-- end-user-doc -->
  52. * @generated
  53. */
  54. private EClass iDedEClass = null;
  55. /**
  56. * <!-- begin-user-doc -->
  57. * <!-- end-user-doc -->
  58. * @generated
  59. */
  60. private EClass hintConfigurationEClass = null;
  61. /**
  62. * <!-- begin-user-doc -->
  63. * <!-- end-user-doc -->
  64. * @generated
  65. */
  66. private EClass variantDiagramEClass = null;
  67. /**
  68. * <!-- begin-user-doc -->
  69. * <!-- end-user-doc -->
  70. * @generated
  71. */
  72. private EClass precendenceNodeEClass = null;
  73. /**
  74. * <!-- begin-user-doc -->
  75. * <!-- end-user-doc -->
  76. * @generated
  77. */
  78. private EClass rootCandidateScenarioEClass = null;
  79. /**
  80. * <!-- begin-user-doc -->
  81. * <!-- end-user-doc -->
  82. * @generated
  83. */
  84. private EClass scenarioEClass = null;
  85. /**
  86. * <!-- begin-user-doc -->
  87. * <!-- end-user-doc -->
  88. * @generated
  89. */
  90. private EClass hierarchicalCosimUnitEClass = null;
  91. /**
  92. * <!-- begin-user-doc -->
  93. * <!-- end-user-doc -->
  94. * @generated
  95. */
  96. private EClass cosimUnitDeclarationEClass = null;
  97. /**
  98. * <!-- begin-user-doc -->
  99. * <!-- end-user-doc -->
  100. * @generated
  101. */
  102. private EClass unitInstanceEClass = null;
  103. /**
  104. * <!-- begin-user-doc -->
  105. * <!-- end-user-doc -->
  106. * @generated
  107. */
  108. private EClass cosimUnitInstanceEClass = null;
  109. /**
  110. * <!-- begin-user-doc -->
  111. * <!-- end-user-doc -->
  112. * @generated
  113. */
  114. private EClass portInstanceEClass = null;
  115. /**
  116. * <!-- begin-user-doc -->
  117. * <!-- end-user-doc -->
  118. * @generated
  119. */
  120. private EClass hierarchicalUnitPortEClass = null;
  121. /**
  122. * <!-- begin-user-doc -->
  123. * <!-- end-user-doc -->
  124. * @generated
  125. */
  126. private EClass inputPortInstanceEClass = null;
  127. /**
  128. * <!-- begin-user-doc -->
  129. * <!-- end-user-doc -->
  130. * @generated
  131. */
  132. private EClass outputPortInstanceEClass = null;
  133. /**
  134. * <!-- begin-user-doc -->
  135. * <!-- end-user-doc -->
  136. * @generated
  137. */
  138. private EClass alternativeEClass = null;
  139. /**
  140. * <!-- begin-user-doc -->
  141. * <!-- end-user-doc -->
  142. * @generated
  143. */
  144. private EClass adaptationEClass = null;
  145. /**
  146. * <!-- begin-user-doc -->
  147. * <!-- end-user-doc -->
  148. * @generated
  149. */
  150. private EClass portAdaptationEClass = null;
  151. /**
  152. * <!-- begin-user-doc -->
  153. * <!-- end-user-doc -->
  154. * @generated
  155. */
  156. private EClass decompositionPortAdaptationEClass = null;
  157. /**
  158. * <!-- begin-user-doc -->
  159. * <!-- end-user-doc -->
  160. * @generated
  161. */
  162. private EClass unitAdaptationEClass = null;
  163. /**
  164. * <!-- begin-user-doc -->
  165. * <!-- end-user-doc -->
  166. * @generated
  167. */
  168. private EClass decompositionUnitAdaptationEClass = null;
  169. /**
  170. * <!-- begin-user-doc -->
  171. * <!-- end-user-doc -->
  172. * @generated
  173. */
  174. private EClass xorUnitAdaptationEClass = null;
  175. /**
  176. * <!-- begin-user-doc -->
  177. * <!-- end-user-doc -->
  178. * @generated
  179. */
  180. private EClass xorPortAdaptationEClass = null;
  181. /**
  182. * <!-- begin-user-doc -->
  183. * <!-- end-user-doc -->
  184. * @generated
  185. */
  186. private EClass approximationAdaptationEClass = null;
  187. /**
  188. * <!-- begin-user-doc -->
  189. * <!-- end-user-doc -->
  190. * @generated
  191. */
  192. private EClass multiRateAdaptationEClass = null;
  193. /**
  194. * <!-- begin-user-doc -->
  195. * <!-- end-user-doc -->
  196. * @generated
  197. */
  198. private EClass powerBondAdaptationEClass = null;
  199. /**
  200. * <!-- begin-user-doc -->
  201. * <!-- end-user-doc -->
  202. * @generated
  203. */
  204. private EClass extrapolationAdaptationEClass = null;
  205. /**
  206. * <!-- begin-user-doc -->
  207. * <!-- end-user-doc -->
  208. * @generated
  209. */
  210. private EClass rollbackInterpolationAdaptationEClass = null;
  211. /**
  212. * <!-- begin-user-doc -->
  213. * <!-- end-user-doc -->
  214. * @generated
  215. */
  216. private EClass interpolationAdaptationEClass = null;
  217. /**
  218. * <!-- begin-user-doc -->
  219. * <!-- end-user-doc -->
  220. * @generated
  221. */
  222. private EDataType intEDataType = null;
  223. /**
  224. * Creates an instance of the model <b>Package</b>, registered with
  225. * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
  226. * package URI value.
  227. * <p>Note: the correct way to create the package is via the static
  228. * factory method {@link #init init()}, which also performs
  229. * initialization of the package, or returns the registered package,
  230. * if one already exists.
  231. * <!-- begin-user-doc -->
  232. * <!-- end-user-doc -->
  233. * @see org.eclipse.emf.ecore.EPackage.Registry
  234. * @see ua.ansymo.hintco.HintcoPackage#eNS_URI
  235. * @see #init()
  236. * @generated
  237. */
  238. private HintcoPackageImpl() {
  239. super(eNS_URI, HintcoFactory.eINSTANCE);
  240. }
  241. /**
  242. * <!-- begin-user-doc -->
  243. * <!-- end-user-doc -->
  244. * @generated
  245. */
  246. private static boolean isInited = false;
  247. /**
  248. * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
  249. *
  250. * <p>This method is used to initialize {@link HintcoPackage#eINSTANCE} when that field is accessed.
  251. * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
  252. * <!-- begin-user-doc -->
  253. * <!-- end-user-doc -->
  254. * @see #eNS_URI
  255. * @see #createPackageContents()
  256. * @see #initializePackageContents()
  257. * @generated
  258. */
  259. public static HintcoPackage init() {
  260. if (isInited) return (HintcoPackage)EPackage.Registry.INSTANCE.getEPackage(HintcoPackage.eNS_URI);
  261. // Obtain or create and register package
  262. Object registeredHintcoPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
  263. HintcoPackageImpl theHintcoPackage = registeredHintcoPackage instanceof HintcoPackageImpl ? (HintcoPackageImpl)registeredHintcoPackage : new HintcoPackageImpl();
  264. isInited = true;
  265. // Initialize simple dependencies
  266. EcorePackage.eINSTANCE.eClass();
  267. // Create package meta-data objects
  268. theHintcoPackage.createPackageContents();
  269. // Initialize created meta-data
  270. theHintcoPackage.initializePackageContents();
  271. // Mark meta-data to indicate it can't be changed
  272. theHintcoPackage.freeze();
  273. // Update the registry and return the package
  274. EPackage.Registry.INSTANCE.put(HintcoPackage.eNS_URI, theHintcoPackage);
  275. return theHintcoPackage;
  276. }
  277. /**
  278. * <!-- begin-user-doc -->
  279. * <!-- end-user-doc -->
  280. * @generated
  281. */
  282. public EClass getIDed() {
  283. return iDedEClass;
  284. }
  285. /**
  286. * <!-- begin-user-doc -->
  287. * <!-- end-user-doc -->
  288. * @generated
  289. */
  290. public EAttribute getIDed_Identifier() {
  291. return (EAttribute)iDedEClass.getEStructuralFeatures().get(0);
  292. }
  293. /**
  294. * <!-- begin-user-doc -->
  295. * <!-- end-user-doc -->
  296. * @generated
  297. */
  298. public EClass getHintConfiguration() {
  299. return hintConfigurationEClass;
  300. }
  301. /**
  302. * <!-- begin-user-doc -->
  303. * <!-- end-user-doc -->
  304. * @generated
  305. */
  306. public EReference getHintConfiguration_Candidates() {
  307. return (EReference)hintConfigurationEClass.getEStructuralFeatures().get(0);
  308. }
  309. /**
  310. * <!-- begin-user-doc -->
  311. * <!-- end-user-doc -->
  312. * @generated
  313. */
  314. public EReference getHintConfiguration_CsuDeclarations() {
  315. return (EReference)hintConfigurationEClass.getEStructuralFeatures().get(1);
  316. }
  317. /**
  318. * <!-- begin-user-doc -->
  319. * <!-- end-user-doc -->
  320. * @generated
  321. */
  322. public EReference getHintConfiguration_Root() {
  323. return (EReference)hintConfigurationEClass.getEStructuralFeatures().get(2);
  324. }
  325. /**
  326. * <!-- begin-user-doc -->
  327. * <!-- end-user-doc -->
  328. * @generated
  329. */
  330. public EReference getHintConfiguration_Nodes() {
  331. return (EReference)hintConfigurationEClass.getEStructuralFeatures().get(3);
  332. }
  333. /**
  334. * <!-- begin-user-doc -->
  335. * <!-- end-user-doc -->
  336. * @generated
  337. */
  338. public EClass getVariantDiagram() {
  339. return variantDiagramEClass;
  340. }
  341. /**
  342. * <!-- begin-user-doc -->
  343. * <!-- end-user-doc -->
  344. * @generated
  345. */
  346. public EReference getVariantDiagram_Children() {
  347. return (EReference)variantDiagramEClass.getEStructuralFeatures().get(0);
  348. }
  349. /**
  350. * <!-- begin-user-doc -->
  351. * <!-- end-user-doc -->
  352. * @generated
  353. */
  354. public EReference getVariantDiagram_Alternative() {
  355. return (EReference)variantDiagramEClass.getEStructuralFeatures().get(1);
  356. }
  357. /**
  358. * <!-- begin-user-doc -->
  359. * <!-- end-user-doc -->
  360. * @generated
  361. */
  362. public EAttribute getVariantDiagram_Name() {
  363. return (EAttribute)variantDiagramEClass.getEStructuralFeatures().get(2);
  364. }
  365. /**
  366. * <!-- begin-user-doc -->
  367. * <!-- end-user-doc -->
  368. * @generated
  369. */
  370. public EClass getPrecendenceNode() {
  371. return precendenceNodeEClass;
  372. }
  373. /**
  374. * <!-- begin-user-doc -->
  375. * <!-- end-user-doc -->
  376. * @generated
  377. */
  378. public EReference getPrecendenceNode_Precedes() {
  379. return (EReference)precendenceNodeEClass.getEStructuralFeatures().get(0);
  380. }
  381. /**
  382. * <!-- begin-user-doc -->
  383. * <!-- end-user-doc -->
  384. * @generated
  385. */
  386. public EReference getPrecendenceNode_Succeeds() {
  387. return (EReference)precendenceNodeEClass.getEStructuralFeatures().get(1);
  388. }
  389. /**
  390. * <!-- begin-user-doc -->
  391. * <!-- end-user-doc -->
  392. * @generated
  393. */
  394. public EReference getPrecendenceNode_Before() {
  395. return (EReference)precendenceNodeEClass.getEStructuralFeatures().get(2);
  396. }
  397. /**
  398. * <!-- begin-user-doc -->
  399. * <!-- end-user-doc -->
  400. * @generated
  401. */
  402. public EReference getPrecendenceNode_After() {
  403. return (EReference)precendenceNodeEClass.getEStructuralFeatures().get(3);
  404. }
  405. /**
  406. * <!-- begin-user-doc -->
  407. * <!-- end-user-doc -->
  408. * @generated
  409. */
  410. public EClass getRootCandidateScenario() {
  411. return rootCandidateScenarioEClass;
  412. }
  413. /**
  414. * <!-- begin-user-doc -->
  415. * <!-- end-user-doc -->
  416. * @generated
  417. */
  418. public EAttribute getRootCandidateScenario_Name() {
  419. return (EAttribute)rootCandidateScenarioEClass.getEStructuralFeatures().get(0);
  420. }
  421. /**
  422. * <!-- begin-user-doc -->
  423. * <!-- end-user-doc -->
  424. * @generated
  425. */
  426. public EAttribute getRootCandidateScenario_StopTime() {
  427. return (EAttribute)rootCandidateScenarioEClass.getEStructuralFeatures().get(1);
  428. }
  429. /**
  430. * <!-- begin-user-doc -->
  431. * <!-- end-user-doc -->
  432. * @generated
  433. */
  434. public EAttribute getRootCandidateScenario_StepSize() {
  435. return (EAttribute)rootCandidateScenarioEClass.getEStructuralFeatures().get(2);
  436. }
  437. /**
  438. * <!-- begin-user-doc -->
  439. * <!-- end-user-doc -->
  440. * @generated
  441. */
  442. public EAttribute getRootCandidateScenario_OutputStepSize() {
  443. return (EAttribute)rootCandidateScenarioEClass.getEStructuralFeatures().get(3);
  444. }
  445. /**
  446. * <!-- begin-user-doc -->
  447. * <!-- end-user-doc -->
  448. * @generated
  449. */
  450. public EAttribute getRootCandidateScenario_MaxInitIterations() {
  451. return (EAttribute)rootCandidateScenarioEClass.getEStructuralFeatures().get(4);
  452. }
  453. /**
  454. * <!-- begin-user-doc -->
  455. * <!-- end-user-doc -->
  456. * @generated
  457. */
  458. public EClass getScenario() {
  459. return scenarioEClass;
  460. }
  461. /**
  462. * <!-- begin-user-doc -->
  463. * <!-- end-user-doc -->
  464. * @generated
  465. */
  466. public EReference getScenario_Cosimunits() {
  467. return (EReference)scenarioEClass.getEStructuralFeatures().get(0);
  468. }
  469. /**
  470. * <!-- begin-user-doc -->
  471. * <!-- end-user-doc -->
  472. * @generated
  473. */
  474. public EClass getHierarchicalCosimUnit() {
  475. return hierarchicalCosimUnitEClass;
  476. }
  477. /**
  478. * <!-- begin-user-doc -->
  479. * <!-- end-user-doc -->
  480. * @generated
  481. */
  482. public EOperation getHierarchicalCosimUnit__Valid() {
  483. return hierarchicalCosimUnitEClass.getEOperations().get(0);
  484. }
  485. /**
  486. * <!-- begin-user-doc -->
  487. * <!-- end-user-doc -->
  488. * @generated
  489. */
  490. public EClass getCosimUnitDeclaration() {
  491. return cosimUnitDeclarationEClass;
  492. }
  493. /**
  494. * <!-- begin-user-doc -->
  495. * <!-- end-user-doc -->
  496. * @generated
  497. */
  498. public EAttribute getCosimUnitDeclaration_Path() {
  499. return (EAttribute)cosimUnitDeclarationEClass.getEStructuralFeatures().get(0);
  500. }
  501. /**
  502. * <!-- begin-user-doc -->
  503. * <!-- end-user-doc -->
  504. * @generated
  505. */
  506. public EAttribute getCosimUnitDeclaration_Guid() {
  507. return (EAttribute)cosimUnitDeclarationEClass.getEStructuralFeatures().get(1);
  508. }
  509. /**
  510. * <!-- begin-user-doc -->
  511. * <!-- end-user-doc -->
  512. * @generated
  513. */
  514. public EClass getUnitInstance() {
  515. return unitInstanceEClass;
  516. }
  517. /**
  518. * <!-- begin-user-doc -->
  519. * <!-- end-user-doc -->
  520. * @generated
  521. */
  522. public EReference getUnitInstance_Scenario() {
  523. return (EReference)unitInstanceEClass.getEStructuralFeatures().get(0);
  524. }
  525. /**
  526. * <!-- begin-user-doc -->
  527. * <!-- end-user-doc -->
  528. * @generated
  529. */
  530. public EReference getUnitInstance_Adaptation() {
  531. return (EReference)unitInstanceEClass.getEStructuralFeatures().get(1);
  532. }
  533. /**
  534. * <!-- begin-user-doc -->
  535. * <!-- end-user-doc -->
  536. * @generated
  537. */
  538. public EReference getUnitInstance_Ports() {
  539. return (EReference)unitInstanceEClass.getEStructuralFeatures().get(2);
  540. }
  541. /**
  542. * <!-- begin-user-doc -->
  543. * <!-- end-user-doc -->
  544. * @generated
  545. */
  546. public EOperation getUnitInstance__SelectedAdaptations() {
  547. return unitInstanceEClass.getEOperations().get(0);
  548. }
  549. /**
  550. * <!-- begin-user-doc -->
  551. * <!-- end-user-doc -->
  552. * @generated
  553. */
  554. public EOperation getUnitInstance__GetOutputPorts() {
  555. return unitInstanceEClass.getEOperations().get(1);
  556. }
  557. /**
  558. * <!-- begin-user-doc -->
  559. * <!-- end-user-doc -->
  560. * @generated
  561. */
  562. public EOperation getUnitInstance__GetInputPorts() {
  563. return unitInstanceEClass.getEOperations().get(2);
  564. }
  565. /**
  566. * <!-- begin-user-doc -->
  567. * <!-- end-user-doc -->
  568. * @generated
  569. */
  570. public EOperation getUnitInstance__ToString() {
  571. return unitInstanceEClass.getEOperations().get(3);
  572. }
  573. /**
  574. * <!-- begin-user-doc -->
  575. * <!-- end-user-doc -->
  576. * @generated
  577. */
  578. public EClass getCosimUnitInstance() {
  579. return cosimUnitInstanceEClass;
  580. }
  581. /**
  582. * <!-- begin-user-doc -->
  583. * <!-- end-user-doc -->
  584. * @generated
  585. */
  586. public EReference getCosimUnitInstance_Declaration() {
  587. return (EReference)cosimUnitInstanceEClass.getEStructuralFeatures().get(0);
  588. }
  589. /**
  590. * <!-- begin-user-doc -->
  591. * <!-- end-user-doc -->
  592. * @generated
  593. */
  594. public EClass getPortInstance() {
  595. return portInstanceEClass;
  596. }
  597. /**
  598. * <!-- begin-user-doc -->
  599. * <!-- end-user-doc -->
  600. * @generated
  601. */
  602. public EReference getPortInstance_Unit() {
  603. return (EReference)portInstanceEClass.getEStructuralFeatures().get(0);
  604. }
  605. /**
  606. * <!-- begin-user-doc -->
  607. * <!-- end-user-doc -->
  608. * @generated
  609. */
  610. public EReference getPortInstance_Adaptation() {
  611. return (EReference)portInstanceEClass.getEStructuralFeatures().get(1);
  612. }
  613. /**
  614. * <!-- begin-user-doc -->
  615. * <!-- end-user-doc -->
  616. * @generated
  617. */
  618. public EOperation getPortInstance__SelectedAdaptations() {
  619. return portInstanceEClass.getEOperations().get(0);
  620. }
  621. /**
  622. * <!-- begin-user-doc -->
  623. * <!-- end-user-doc -->
  624. * @generated
  625. */
  626. public EOperation getPortInstance__IsInput() {
  627. return portInstanceEClass.getEOperations().get(1);
  628. }
  629. /**
  630. * <!-- begin-user-doc -->
  631. * <!-- end-user-doc -->
  632. * @generated
  633. */
  634. public EOperation getPortInstance__GetsValueFrom__PortInstance() {
  635. return portInstanceEClass.getEOperations().get(2);
  636. }
  637. /**
  638. * <!-- begin-user-doc -->
  639. * <!-- end-user-doc -->
  640. * @generated
  641. */
  642. public EOperation getPortInstance__ToString() {
  643. return portInstanceEClass.getEOperations().get(3);
  644. }
  645. /**
  646. * <!-- begin-user-doc -->
  647. * <!-- end-user-doc -->
  648. * @generated
  649. */
  650. public EClass getHierarchicalUnitPort() {
  651. return hierarchicalUnitPortEClass;
  652. }
  653. /**
  654. * <!-- begin-user-doc -->
  655. * <!-- end-user-doc -->
  656. * @generated
  657. */
  658. public EOperation getHierarchicalUnitPort__IsInput() {
  659. return hierarchicalUnitPortEClass.getEOperations().get(0);
  660. }
  661. /**
  662. * <!-- begin-user-doc -->
  663. * <!-- end-user-doc -->
  664. * @generated
  665. */
  666. public EOperation getHierarchicalUnitPort__AltIsInput() {
  667. return hierarchicalUnitPortEClass.getEOperations().get(1);
  668. }
  669. /**
  670. * <!-- begin-user-doc -->
  671. * <!-- end-user-doc -->
  672. * @generated
  673. */
  674. public EClass getInputPortInstance() {
  675. return inputPortInstanceEClass;
  676. }
  677. /**
  678. * <!-- begin-user-doc -->
  679. * <!-- end-user-doc -->
  680. * @generated
  681. */
  682. public EAttribute getInputPortInstance_ExtrapolationCost() {
  683. return (EAttribute)inputPortInstanceEClass.getEStructuralFeatures().get(0);
  684. }
  685. /**
  686. * <!-- begin-user-doc -->
  687. * <!-- end-user-doc -->
  688. * @generated
  689. */
  690. public EReference getInputPortInstance_InternalValueTo() {
  691. return (EReference)inputPortInstanceEClass.getEStructuralFeatures().get(1);
  692. }
  693. /**
  694. * <!-- begin-user-doc -->
  695. * <!-- end-user-doc -->
  696. * @generated
  697. */
  698. public EReference getInputPortInstance_ValueFrom() {
  699. return (EReference)inputPortInstanceEClass.getEStructuralFeatures().get(2);
  700. }
  701. /**
  702. * <!-- begin-user-doc -->
  703. * <!-- end-user-doc -->
  704. * @generated
  705. */
  706. public EOperation getInputPortInstance__GetRealValueFrom() {
  707. return inputPortInstanceEClass.getEOperations().get(0);
  708. }
  709. /**
  710. * <!-- begin-user-doc -->
  711. * <!-- end-user-doc -->
  712. * @generated
  713. */
  714. public EOperation getInputPortInstance__GetsValueFrom__PortInstance() {
  715. return inputPortInstanceEClass.getEOperations().get(1);
  716. }
  717. /**
  718. * <!-- begin-user-doc -->
  719. * <!-- end-user-doc -->
  720. * @generated
  721. */
  722. public EOperation getInputPortInstance__IsInput() {
  723. return inputPortInstanceEClass.getEOperations().get(2);
  724. }
  725. /**
  726. * <!-- begin-user-doc -->
  727. * <!-- end-user-doc -->
  728. * @generated
  729. */
  730. public EClass getOutputPortInstance() {
  731. return outputPortInstanceEClass;
  732. }
  733. /**
  734. * <!-- begin-user-doc -->
  735. * <!-- end-user-doc -->
  736. * @generated
  737. */
  738. public EReference getOutputPortInstance_ValueTo() {
  739. return (EReference)outputPortInstanceEClass.getEStructuralFeatures().get(0);
  740. }
  741. /**
  742. * <!-- begin-user-doc -->
  743. * <!-- end-user-doc -->
  744. * @generated
  745. */
  746. public EReference getOutputPortInstance_InternalValueFrom() {
  747. return (EReference)outputPortInstanceEClass.getEStructuralFeatures().get(1);
  748. }
  749. /**
  750. * <!-- begin-user-doc -->
  751. * <!-- end-user-doc -->
  752. * @generated
  753. */
  754. public EOperation getOutputPortInstance__IsInput() {
  755. return outputPortInstanceEClass.getEOperations().get(0);
  756. }
  757. /**
  758. * <!-- begin-user-doc -->
  759. * <!-- end-user-doc -->
  760. * @generated
  761. */
  762. public EClass getAlternative() {
  763. return alternativeEClass;
  764. }
  765. /**
  766. * <!-- begin-user-doc -->
  767. * <!-- end-user-doc -->
  768. * @generated
  769. */
  770. public EAttribute getAlternative_Weight() {
  771. return (EAttribute)alternativeEClass.getEStructuralFeatures().get(0);
  772. }
  773. /**
  774. * <!-- begin-user-doc -->
  775. * <!-- end-user-doc -->
  776. * @generated
  777. */
  778. public EAttribute getAlternative_Selected() {
  779. return (EAttribute)alternativeEClass.getEStructuralFeatures().get(1);
  780. }
  781. /**
  782. * <!-- begin-user-doc -->
  783. * <!-- end-user-doc -->
  784. * @generated
  785. */
  786. public EReference getAlternative_Implies() {
  787. return (EReference)alternativeEClass.getEStructuralFeatures().get(2);
  788. }
  789. /**
  790. * <!-- begin-user-doc -->
  791. * <!-- end-user-doc -->
  792. * @generated
  793. */
  794. public EClass getAdaptation() {
  795. return adaptationEClass;
  796. }
  797. /**
  798. * <!-- begin-user-doc -->
  799. * <!-- end-user-doc -->
  800. * @generated
  801. */
  802. public EClass getPortAdaptation() {
  803. return portAdaptationEClass;
  804. }
  805. /**
  806. * <!-- begin-user-doc -->
  807. * <!-- end-user-doc -->
  808. * @generated
  809. */
  810. public EReference getPortAdaptation_Port() {
  811. return (EReference)portAdaptationEClass.getEStructuralFeatures().get(0);
  812. }
  813. /**
  814. * <!-- begin-user-doc -->
  815. * <!-- end-user-doc -->
  816. * @generated
  817. */
  818. public EReference getPortAdaptation_Parent() {
  819. return (EReference)portAdaptationEClass.getEStructuralFeatures().get(1);
  820. }
  821. /**
  822. * <!-- begin-user-doc -->
  823. * <!-- end-user-doc -->
  824. * @generated
  825. */
  826. public EOperation getPortAdaptation__Adapted() {
  827. return portAdaptationEClass.getEOperations().get(0);
  828. }
  829. /**
  830. * <!-- begin-user-doc -->
  831. * <!-- end-user-doc -->
  832. * @generated
  833. */
  834. public EClass getDecompositionPortAdaptation() {
  835. return decompositionPortAdaptationEClass;
  836. }
  837. /**
  838. * <!-- begin-user-doc -->
  839. * <!-- end-user-doc -->
  840. * @generated
  841. */
  842. public EReference getDecompositionPortAdaptation_Children() {
  843. return (EReference)decompositionPortAdaptationEClass.getEStructuralFeatures().get(0);
  844. }
  845. /**
  846. * <!-- begin-user-doc -->
  847. * <!-- end-user-doc -->
  848. * @generated
  849. */
  850. public EAttribute getDecompositionPortAdaptation_Name() {
  851. return (EAttribute)decompositionPortAdaptationEClass.getEStructuralFeatures().get(1);
  852. }
  853. /**
  854. * <!-- begin-user-doc -->
  855. * <!-- end-user-doc -->
  856. * @generated
  857. */
  858. public EOperation getDecompositionPortAdaptation__SelectedAdaptations() {
  859. return decompositionPortAdaptationEClass.getEOperations().get(0);
  860. }
  861. /**
  862. * <!-- begin-user-doc -->
  863. * <!-- end-user-doc -->
  864. * @generated
  865. */
  866. public EClass getUnitAdaptation() {
  867. return unitAdaptationEClass;
  868. }
  869. /**
  870. * <!-- begin-user-doc -->
  871. * <!-- end-user-doc -->
  872. * @generated
  873. */
  874. public EReference getUnitAdaptation_Unit() {
  875. return (EReference)unitAdaptationEClass.getEStructuralFeatures().get(0);
  876. }
  877. /**
  878. * <!-- begin-user-doc -->
  879. * <!-- end-user-doc -->
  880. * @generated
  881. */
  882. public EReference getUnitAdaptation_Parent() {
  883. return (EReference)unitAdaptationEClass.getEStructuralFeatures().get(1);
  884. }
  885. /**
  886. * <!-- begin-user-doc -->
  887. * <!-- end-user-doc -->
  888. * @generated
  889. */
  890. public EOperation getUnitAdaptation__Adapted() {
  891. return unitAdaptationEClass.getEOperations().get(0);
  892. }
  893. /**
  894. * <!-- begin-user-doc -->
  895. * <!-- end-user-doc -->
  896. * @generated
  897. */
  898. public EClass getDecompositionUnitAdaptation() {
  899. return decompositionUnitAdaptationEClass;
  900. }
  901. /**
  902. * <!-- begin-user-doc -->
  903. * <!-- end-user-doc -->
  904. * @generated
  905. */
  906. public EReference getDecompositionUnitAdaptation_Children() {
  907. return (EReference)decompositionUnitAdaptationEClass.getEStructuralFeatures().get(0);
  908. }
  909. /**
  910. * <!-- begin-user-doc -->
  911. * <!-- end-user-doc -->
  912. * @generated
  913. */
  914. public EAttribute getDecompositionUnitAdaptation_Name() {
  915. return (EAttribute)decompositionUnitAdaptationEClass.getEStructuralFeatures().get(1);
  916. }
  917. /**
  918. * <!-- begin-user-doc -->
  919. * <!-- end-user-doc -->
  920. * @generated
  921. */
  922. public EOperation getDecompositionUnitAdaptation__SelectedAdaptations() {
  923. return decompositionUnitAdaptationEClass.getEOperations().get(0);
  924. }
  925. /**
  926. * <!-- begin-user-doc -->
  927. * <!-- end-user-doc -->
  928. * @generated
  929. */
  930. public EClass getXorUnitAdaptation() {
  931. return xorUnitAdaptationEClass;
  932. }
  933. /**
  934. * <!-- begin-user-doc -->
  935. * <!-- end-user-doc -->
  936. * @generated
  937. */
  938. public EClass getXorPortAdaptation() {
  939. return xorPortAdaptationEClass;
  940. }
  941. /**
  942. * <!-- begin-user-doc -->
  943. * <!-- end-user-doc -->
  944. * @generated
  945. */
  946. public EClass getApproximationAdaptation() {
  947. return approximationAdaptationEClass;
  948. }
  949. /**
  950. * <!-- begin-user-doc -->
  951. * <!-- end-user-doc -->
  952. * @generated
  953. */
  954. public EAttribute getApproximationAdaptation_Order() {
  955. return (EAttribute)approximationAdaptationEClass.getEStructuralFeatures().get(0);
  956. }
  957. /**
  958. * <!-- begin-user-doc -->
  959. * <!-- end-user-doc -->
  960. * @generated
  961. */
  962. public EClass getMultiRateAdaptation() {
  963. return multiRateAdaptationEClass;
  964. }
  965. /**
  966. * <!-- begin-user-doc -->
  967. * <!-- end-user-doc -->
  968. * @generated
  969. */
  970. public EAttribute getMultiRateAdaptation_Rate() {
  971. return (EAttribute)multiRateAdaptationEClass.getEStructuralFeatures().get(0);
  972. }
  973. /**
  974. * <!-- begin-user-doc -->
  975. * <!-- end-user-doc -->
  976. * @generated
  977. */
  978. public EAttribute getMultiRateAdaptation_Name() {
  979. return (EAttribute)multiRateAdaptationEClass.getEStructuralFeatures().get(1);
  980. }
  981. /**
  982. * <!-- begin-user-doc -->
  983. * <!-- end-user-doc -->
  984. * @generated
  985. */
  986. public EClass getPowerBondAdaptation() {
  987. return powerBondAdaptationEClass;
  988. }
  989. /**
  990. * <!-- begin-user-doc -->
  991. * <!-- end-user-doc -->
  992. * @generated
  993. */
  994. public EReference getPowerBondAdaptation_Effort() {
  995. return (EReference)powerBondAdaptationEClass.getEStructuralFeatures().get(0);
  996. }
  997. /**
  998. * <!-- begin-user-doc -->
  999. * <!-- end-user-doc -->
  1000. * @generated
  1001. */
  1002. public EReference getPowerBondAdaptation_Flow() {
  1003. return (EReference)powerBondAdaptationEClass.getEStructuralFeatures().get(1);
  1004. }
  1005. /**
  1006. * <!-- begin-user-doc -->
  1007. * <!-- end-user-doc -->
  1008. * @generated
  1009. */
  1010. public EReference getPowerBondAdaptation_POut() {
  1011. return (EReference)powerBondAdaptationEClass.getEStructuralFeatures().get(2);
  1012. }
  1013. /**
  1014. * <!-- begin-user-doc -->
  1015. * <!-- end-user-doc -->
  1016. * @generated
  1017. */
  1018. public EReference getPowerBondAdaptation_PIn() {
  1019. return (EReference)powerBondAdaptationEClass.getEStructuralFeatures().get(3);
  1020. }
  1021. /**
  1022. * <!-- begin-user-doc -->
  1023. * <!-- end-user-doc -->
  1024. * @generated
  1025. */
  1026. public EAttribute getPowerBondAdaptation_Name() {
  1027. return (EAttribute)powerBondAdaptationEClass.getEStructuralFeatures().get(4);
  1028. }
  1029. /**
  1030. * <!-- begin-user-doc -->
  1031. * <!-- end-user-doc -->
  1032. * @generated
  1033. */
  1034. public EOperation getPowerBondAdaptation__GetDual() {
  1035. return powerBondAdaptationEClass.getEOperations().get(0);
  1036. }
  1037. /**
  1038. * <!-- begin-user-doc -->
  1039. * <!-- end-user-doc -->
  1040. * @generated
  1041. */
  1042. public EClass getExtrapolationAdaptation() {
  1043. return extrapolationAdaptationEClass;
  1044. }
  1045. /**
  1046. * <!-- begin-user-doc -->
  1047. * <!-- end-user-doc -->
  1048. * @generated
  1049. */
  1050. public EAttribute getExtrapolationAdaptation_Name() {
  1051. return (EAttribute)extrapolationAdaptationEClass.getEStructuralFeatures().get(0);
  1052. }
  1053. /**
  1054. * <!-- begin-user-doc -->
  1055. * <!-- end-user-doc -->
  1056. * @generated
  1057. */
  1058. public EClass getRollbackInterpolationAdaptation() {
  1059. return rollbackInterpolationAdaptationEClass;
  1060. }
  1061. /**
  1062. * <!-- begin-user-doc -->
  1063. * <!-- end-user-doc -->
  1064. * @generated
  1065. */
  1066. public EClass getInterpolationAdaptation() {
  1067. return interpolationAdaptationEClass;
  1068. }
  1069. /**
  1070. * <!-- begin-user-doc -->
  1071. * <!-- end-user-doc -->
  1072. * @generated
  1073. */
  1074. public EAttribute getInterpolationAdaptation_Name() {
  1075. return (EAttribute)interpolationAdaptationEClass.getEStructuralFeatures().get(0);
  1076. }
  1077. /**
  1078. * <!-- begin-user-doc -->
  1079. * <!-- end-user-doc -->
  1080. * @generated
  1081. */
  1082. public EDataType getInt() {
  1083. return intEDataType;
  1084. }
  1085. /**
  1086. * <!-- begin-user-doc -->
  1087. * <!-- end-user-doc -->
  1088. * @generated
  1089. */
  1090. public HintcoFactory getHintcoFactory() {
  1091. return (HintcoFactory)getEFactoryInstance();
  1092. }
  1093. /**
  1094. * <!-- begin-user-doc -->
  1095. * <!-- end-user-doc -->
  1096. * @generated
  1097. */
  1098. private boolean isCreated = false;
  1099. /**
  1100. * Creates the meta-model objects for the package. This method is
  1101. * guarded to have no affect on any invocation but its first.
  1102. * <!-- begin-user-doc -->
  1103. * <!-- end-user-doc -->
  1104. * @generated
  1105. */
  1106. public void createPackageContents() {
  1107. if (isCreated) return;
  1108. isCreated = true;
  1109. // Create classes and their features
  1110. iDedEClass = createEClass(IDED);
  1111. createEAttribute(iDedEClass, IDED__IDENTIFIER);
  1112. hintConfigurationEClass = createEClass(HINT_CONFIGURATION);
  1113. createEReference(hintConfigurationEClass, HINT_CONFIGURATION__CANDIDATES);
  1114. createEReference(hintConfigurationEClass, HINT_CONFIGURATION__CSU_DECLARATIONS);
  1115. createEReference(hintConfigurationEClass, HINT_CONFIGURATION__ROOT);
  1116. createEReference(hintConfigurationEClass, HINT_CONFIGURATION__NODES);
  1117. variantDiagramEClass = createEClass(VARIANT_DIAGRAM);
  1118. createEReference(variantDiagramEClass, VARIANT_DIAGRAM__CHILDREN);
  1119. createEReference(variantDiagramEClass, VARIANT_DIAGRAM__ALTERNATIVE);
  1120. createEAttribute(variantDiagramEClass, VARIANT_DIAGRAM__NAME);
  1121. precendenceNodeEClass = createEClass(PRECENDENCE_NODE);
  1122. createEReference(precendenceNodeEClass, PRECENDENCE_NODE__PRECEDES);
  1123. createEReference(precendenceNodeEClass, PRECENDENCE_NODE__SUCCEEDS);
  1124. createEReference(precendenceNodeEClass, PRECENDENCE_NODE__BEFORE);
  1125. createEReference(precendenceNodeEClass, PRECENDENCE_NODE__AFTER);
  1126. rootCandidateScenarioEClass = createEClass(ROOT_CANDIDATE_SCENARIO);
  1127. createEAttribute(rootCandidateScenarioEClass, ROOT_CANDIDATE_SCENARIO__NAME);
  1128. createEAttribute(rootCandidateScenarioEClass, ROOT_CANDIDATE_SCENARIO__STOP_TIME);
  1129. createEAttribute(rootCandidateScenarioEClass, ROOT_CANDIDATE_SCENARIO__STEP_SIZE);
  1130. createEAttribute(rootCandidateScenarioEClass, ROOT_CANDIDATE_SCENARIO__OUTPUT_STEP_SIZE);
  1131. createEAttribute(rootCandidateScenarioEClass, ROOT_CANDIDATE_SCENARIO__MAX_INIT_ITERATIONS);
  1132. scenarioEClass = createEClass(SCENARIO);
  1133. createEReference(scenarioEClass, SCENARIO__COSIMUNITS);
  1134. hierarchicalCosimUnitEClass = createEClass(HIERARCHICAL_COSIM_UNIT);
  1135. createEOperation(hierarchicalCosimUnitEClass, HIERARCHICAL_COSIM_UNIT___VALID);
  1136. cosimUnitDeclarationEClass = createEClass(COSIM_UNIT_DECLARATION);
  1137. createEAttribute(cosimUnitDeclarationEClass, COSIM_UNIT_DECLARATION__PATH);
  1138. createEAttribute(cosimUnitDeclarationEClass, COSIM_UNIT_DECLARATION__GUID);
  1139. unitInstanceEClass = createEClass(UNIT_INSTANCE);
  1140. createEReference(unitInstanceEClass, UNIT_INSTANCE__SCENARIO);
  1141. createEReference(unitInstanceEClass, UNIT_INSTANCE__ADAPTATION);
  1142. createEReference(unitInstanceEClass, UNIT_INSTANCE__PORTS);
  1143. createEOperation(unitInstanceEClass, UNIT_INSTANCE___SELECTED_ADAPTATIONS);
  1144. createEOperation(unitInstanceEClass, UNIT_INSTANCE___GET_OUTPUT_PORTS);
  1145. createEOperation(unitInstanceEClass, UNIT_INSTANCE___GET_INPUT_PORTS);
  1146. createEOperation(unitInstanceEClass, UNIT_INSTANCE___TO_STRING);
  1147. cosimUnitInstanceEClass = createEClass(COSIM_UNIT_INSTANCE);
  1148. createEReference(cosimUnitInstanceEClass, COSIM_UNIT_INSTANCE__DECLARATION);
  1149. portInstanceEClass = createEClass(PORT_INSTANCE);
  1150. createEReference(portInstanceEClass, PORT_INSTANCE__UNIT);
  1151. createEReference(portInstanceEClass, PORT_INSTANCE__ADAPTATION);
  1152. createEOperation(portInstanceEClass, PORT_INSTANCE___SELECTED_ADAPTATIONS);
  1153. createEOperation(portInstanceEClass, PORT_INSTANCE___IS_INPUT);
  1154. createEOperation(portInstanceEClass, PORT_INSTANCE___GETS_VALUE_FROM__PORTINSTANCE);
  1155. createEOperation(portInstanceEClass, PORT_INSTANCE___TO_STRING);
  1156. hierarchicalUnitPortEClass = createEClass(HIERARCHICAL_UNIT_PORT);
  1157. createEOperation(hierarchicalUnitPortEClass, HIERARCHICAL_UNIT_PORT___IS_INPUT);
  1158. createEOperation(hierarchicalUnitPortEClass, HIERARCHICAL_UNIT_PORT___ALT_IS_INPUT);
  1159. inputPortInstanceEClass = createEClass(INPUT_PORT_INSTANCE);
  1160. createEAttribute(inputPortInstanceEClass, INPUT_PORT_INSTANCE__EXTRAPOLATION_COST);
  1161. createEReference(inputPortInstanceEClass, INPUT_PORT_INSTANCE__INTERNAL_VALUE_TO);
  1162. createEReference(inputPortInstanceEClass, INPUT_PORT_INSTANCE__VALUE_FROM);
  1163. createEOperation(inputPortInstanceEClass, INPUT_PORT_INSTANCE___GET_REAL_VALUE_FROM);
  1164. createEOperation(inputPortInstanceEClass, INPUT_PORT_INSTANCE___GETS_VALUE_FROM__PORTINSTANCE);
  1165. createEOperation(inputPortInstanceEClass, INPUT_PORT_INSTANCE___IS_INPUT);
  1166. outputPortInstanceEClass = createEClass(OUTPUT_PORT_INSTANCE);
  1167. createEReference(outputPortInstanceEClass, OUTPUT_PORT_INSTANCE__VALUE_TO);
  1168. createEReference(outputPortInstanceEClass, OUTPUT_PORT_INSTANCE__INTERNAL_VALUE_FROM);
  1169. createEOperation(outputPortInstanceEClass, OUTPUT_PORT_INSTANCE___IS_INPUT);
  1170. alternativeEClass = createEClass(ALTERNATIVE);
  1171. createEAttribute(alternativeEClass, ALTERNATIVE__WEIGHT);
  1172. createEAttribute(alternativeEClass, ALTERNATIVE__SELECTED);
  1173. createEReference(alternativeEClass, ALTERNATIVE__IMPLIES);
  1174. adaptationEClass = createEClass(ADAPTATION);
  1175. portAdaptationEClass = createEClass(PORT_ADAPTATION);
  1176. createEReference(portAdaptationEClass, PORT_ADAPTATION__PORT);
  1177. createEReference(portAdaptationEClass, PORT_ADAPTATION__PARENT);
  1178. createEOperation(portAdaptationEClass, PORT_ADAPTATION___ADAPTED);
  1179. decompositionPortAdaptationEClass = createEClass(DECOMPOSITION_PORT_ADAPTATION);
  1180. createEReference(decompositionPortAdaptationEClass, DECOMPOSITION_PORT_ADAPTATION__CHILDREN);
  1181. createEAttribute(decompositionPortAdaptationEClass, DECOMPOSITION_PORT_ADAPTATION__NAME);
  1182. createEOperation(decompositionPortAdaptationEClass, DECOMPOSITION_PORT_ADAPTATION___SELECTED_ADAPTATIONS);
  1183. unitAdaptationEClass = createEClass(UNIT_ADAPTATION);
  1184. createEReference(unitAdaptationEClass, UNIT_ADAPTATION__UNIT);
  1185. createEReference(unitAdaptationEClass, UNIT_ADAPTATION__PARENT);
  1186. createEOperation(unitAdaptationEClass, UNIT_ADAPTATION___ADAPTED);
  1187. decompositionUnitAdaptationEClass = createEClass(DECOMPOSITION_UNIT_ADAPTATION);
  1188. createEReference(decompositionUnitAdaptationEClass, DECOMPOSITION_UNIT_ADAPTATION__CHILDREN);
  1189. createEAttribute(decompositionUnitAdaptationEClass, DECOMPOSITION_UNIT_ADAPTATION__NAME);
  1190. createEOperation(decompositionUnitAdaptationEClass, DECOMPOSITION_UNIT_ADAPTATION___SELECTED_ADAPTATIONS);
  1191. xorUnitAdaptationEClass = createEClass(XOR_UNIT_ADAPTATION);
  1192. xorPortAdaptationEClass = createEClass(XOR_PORT_ADAPTATION);
  1193. approximationAdaptationEClass = createEClass(APPROXIMATION_ADAPTATION);
  1194. createEAttribute(approximationAdaptationEClass, APPROXIMATION_ADAPTATION__ORDER);
  1195. multiRateAdaptationEClass = createEClass(MULTI_RATE_ADAPTATION);
  1196. createEAttribute(multiRateAdaptationEClass, MULTI_RATE_ADAPTATION__RATE);
  1197. createEAttribute(multiRateAdaptationEClass, MULTI_RATE_ADAPTATION__NAME);
  1198. powerBondAdaptationEClass = createEClass(POWER_BOND_ADAPTATION);
  1199. createEReference(powerBondAdaptationEClass, POWER_BOND_ADAPTATION__EFFORT);
  1200. createEReference(powerBondAdaptationEClass, POWER_BOND_ADAPTATION__FLOW);
  1201. createEReference(powerBondAdaptationEClass, POWER_BOND_ADAPTATION__POUT);
  1202. createEReference(powerBondAdaptationEClass, POWER_BOND_ADAPTATION__PIN);
  1203. createEAttribute(powerBondAdaptationEClass, POWER_BOND_ADAPTATION__NAME);
  1204. createEOperation(powerBondAdaptationEClass, POWER_BOND_ADAPTATION___GET_DUAL);
  1205. extrapolationAdaptationEClass = createEClass(EXTRAPOLATION_ADAPTATION);
  1206. createEAttribute(extrapolationAdaptationEClass, EXTRAPOLATION_ADAPTATION__NAME);
  1207. rollbackInterpolationAdaptationEClass = createEClass(ROLLBACK_INTERPOLATION_ADAPTATION);
  1208. interpolationAdaptationEClass = createEClass(INTERPOLATION_ADAPTATION);
  1209. createEAttribute(interpolationAdaptationEClass, INTERPOLATION_ADAPTATION__NAME);
  1210. // Create data types
  1211. intEDataType = createEDataType(INT);
  1212. }
  1213. /**
  1214. * <!-- begin-user-doc -->
  1215. * <!-- end-user-doc -->
  1216. * @generated
  1217. */
  1218. private boolean isInitialized = false;
  1219. /**
  1220. * Complete the initialization of the package and its meta-model. This
  1221. * method is guarded to have no affect on any invocation but its first.
  1222. * <!-- begin-user-doc -->
  1223. * <!-- end-user-doc -->
  1224. * @generated
  1225. */
  1226. public void initializePackageContents() {
  1227. if (isInitialized) return;
  1228. isInitialized = true;
  1229. // Initialize package
  1230. setName(eNAME);
  1231. setNsPrefix(eNS_PREFIX);
  1232. setNsURI(eNS_URI);
  1233. // Obtain other dependent packages
  1234. EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
  1235. // Create type parameters
  1236. // Set bounds for type parameters
  1237. // Add supertypes to classes
  1238. variantDiagramEClass.getESuperTypes().add(this.getIDed());
  1239. rootCandidateScenarioEClass.getESuperTypes().add(this.getIDed());
  1240. rootCandidateScenarioEClass.getESuperTypes().add(this.getAlternative());
  1241. rootCandidateScenarioEClass.getESuperTypes().add(this.getScenario());
  1242. scenarioEClass.getESuperTypes().add(this.getIDed());
  1243. hierarchicalCosimUnitEClass.getESuperTypes().add(this.getScenario());
  1244. hierarchicalCosimUnitEClass.getESuperTypes().add(this.getUnitInstance());
  1245. cosimUnitDeclarationEClass.getESuperTypes().add(this.getIDed());
  1246. unitInstanceEClass.getESuperTypes().add(this.getIDed());
  1247. unitInstanceEClass.getESuperTypes().add(this.getPrecendenceNode());
  1248. cosimUnitInstanceEClass.getESuperTypes().add(this.getUnitInstance());
  1249. portInstanceEClass.getESuperTypes().add(this.getPrecendenceNode());
  1250. portInstanceEClass.getESuperTypes().add(this.getIDed());
  1251. hierarchicalUnitPortEClass.getESuperTypes().add(this.getInputPortInstance());
  1252. hierarchicalUnitPortEClass.getESuperTypes().add(this.getOutputPortInstance());
  1253. inputPortInstanceEClass.getESuperTypes().add(this.getPortInstance());
  1254. outputPortInstanceEClass.getESuperTypes().add(this.getPortInstance());
  1255. adaptationEClass.getESuperTypes().add(this.getAlternative());
  1256. portAdaptationEClass.getESuperTypes().add(this.getAdaptation());
  1257. decompositionPortAdaptationEClass.getESuperTypes().add(this.getPortAdaptation());
  1258. unitAdaptationEClass.getESuperTypes().add(this.getAdaptation());
  1259. decompositionUnitAdaptationEClass.getESuperTypes().add(this.getUnitAdaptation());
  1260. xorUnitAdaptationEClass.getESuperTypes().add(this.getDecompositionUnitAdaptation());
  1261. xorPortAdaptationEClass.getESuperTypes().add(this.getDecompositionPortAdaptation());
  1262. approximationAdaptationEClass.getESuperTypes().add(this.getPortAdaptation());
  1263. multiRateAdaptationEClass.getESuperTypes().add(this.getUnitAdaptation());
  1264. powerBondAdaptationEClass.getESuperTypes().add(this.getUnitAdaptation());
  1265. extrapolationAdaptationEClass.getESuperTypes().add(this.getApproximationAdaptation());
  1266. rollbackInterpolationAdaptationEClass.getESuperTypes().add(this.getExtrapolationAdaptation());
  1267. interpolationAdaptationEClass.getESuperTypes().add(this.getApproximationAdaptation());
  1268. // Initialize classes, features, and operations; add parameters
  1269. initEClass(iDedEClass, IDed.class, "IDed", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1270. initEAttribute(getIDed_Identifier(), theEcorePackage.getEString(), "identifier", null, 0, 1, IDed.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1271. initEClass(hintConfigurationEClass, HintConfiguration.class, "HintConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1272. initEReference(getHintConfiguration_Candidates(), this.getRootCandidateScenario(), null, "candidates", null, 0, -1, HintConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1273. initEReference(getHintConfiguration_CsuDeclarations(), this.getCosimUnitDeclaration(), null, "csuDeclarations", null, 0, -1, HintConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1274. initEReference(getHintConfiguration_Root(), this.getVariantDiagram(), null, "root", null, 0, 1, HintConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1275. initEReference(getHintConfiguration_Nodes(), this.getVariantDiagram(), null, "nodes", null, 0, -1, HintConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1276. initEClass(variantDiagramEClass, VariantDiagram.class, "VariantDiagram", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1277. initEReference(getVariantDiagram_Children(), this.getVariantDiagram(), null, "children", null, 0, -1, VariantDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1278. initEReference(getVariantDiagram_Alternative(), this.getAlternative(), null, "alternative", null, 0, 1, VariantDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1279. initEAttribute(getVariantDiagram_Name(), theEcorePackage.getEString(), "name", null, 0, 1, VariantDiagram.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
  1280. initEClass(precendenceNodeEClass, PrecendenceNode.class, "PrecendenceNode", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1281. initEReference(getPrecendenceNode_Precedes(), this.getPrecendenceNode(), this.getPrecendenceNode_Succeeds(), "precedes", null, 0, -1, PrecendenceNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1282. initEReference(getPrecendenceNode_Succeeds(), this.getPrecendenceNode(), this.getPrecendenceNode_Precedes(), "succeeds", null, 0, -1, PrecendenceNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1283. initEReference(getPrecendenceNode_Before(), this.getPrecendenceNode(), this.getPrecendenceNode_After(), "before", null, 0, 1, PrecendenceNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1284. initEReference(getPrecendenceNode_After(), this.getPrecendenceNode(), this.getPrecendenceNode_Before(), "after", null, 0, 1, PrecendenceNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1285. initEClass(rootCandidateScenarioEClass, RootCandidateScenario.class, "RootCandidateScenario", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1286. initEAttribute(getRootCandidateScenario_Name(), theEcorePackage.getEString(), "name", null, 0, 1, RootCandidateScenario.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
  1287. initEAttribute(getRootCandidateScenario_StopTime(), theEcorePackage.getEDouble(), "stopTime", null, 0, 1, RootCandidateScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1288. initEAttribute(getRootCandidateScenario_StepSize(), theEcorePackage.getEDouble(), "stepSize", null, 0, 1, RootCandidateScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1289. initEAttribute(getRootCandidateScenario_OutputStepSize(), theEcorePackage.getEDouble(), "outputStepSize", null, 0, 1, RootCandidateScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1290. initEAttribute(getRootCandidateScenario_MaxInitIterations(), theEcorePackage.getEInt(), "maxInitIterations", "10", 0, 1, RootCandidateScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1291. initEClass(scenarioEClass, Scenario.class, "Scenario", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1292. initEReference(getScenario_Cosimunits(), this.getUnitInstance(), this.getUnitInstance_Scenario(), "cosimunits", null, 0, -1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1293. initEClass(hierarchicalCosimUnitEClass, HierarchicalCosimUnit.class, "HierarchicalCosimUnit", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1294. initEOperation(getHierarchicalCosimUnit__Valid(), theEcorePackage.getEBoolean(), "valid", 0, 1, !IS_UNIQUE, IS_ORDERED);
  1295. initEClass(cosimUnitDeclarationEClass, CosimUnitDeclaration.class, "CosimUnitDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1296. initEAttribute(getCosimUnitDeclaration_Path(), theEcorePackage.getEString(), "path", null, 0, 1, CosimUnitDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1297. initEAttribute(getCosimUnitDeclaration_Guid(), theEcorePackage.getEString(), "guid", null, 0, 1, CosimUnitDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1298. initEClass(unitInstanceEClass, UnitInstance.class, "UnitInstance", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1299. initEReference(getUnitInstance_Scenario(), this.getScenario(), this.getScenario_Cosimunits(), "scenario", null, 0, 1, UnitInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1300. initEReference(getUnitInstance_Adaptation(), this.getUnitAdaptation(), this.getUnitAdaptation_Unit(), "adaptation", null, 0, 1, UnitInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1301. initEReference(getUnitInstance_Ports(), this.getPortInstance(), this.getPortInstance_Unit(), "ports", null, 0, -1, UnitInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1302. initEOperation(getUnitInstance__SelectedAdaptations(), this.getUnitAdaptation(), "selectedAdaptations", 0, -1, !IS_UNIQUE, IS_ORDERED);
  1303. initEOperation(getUnitInstance__GetOutputPorts(), this.getOutputPortInstance(), "getOutputPorts", 0, -1, !IS_UNIQUE, IS_ORDERED);
  1304. initEOperation(getUnitInstance__GetInputPorts(), this.getInputPortInstance(), "getInputPorts", 0, -1, !IS_UNIQUE, IS_ORDERED);
  1305. initEOperation(getUnitInstance__ToString(), theEcorePackage.getEString(), "toString", 0, 1, !IS_UNIQUE, IS_ORDERED);
  1306. initEClass(cosimUnitInstanceEClass, CosimUnitInstance.class, "CosimUnitInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1307. initEReference(getCosimUnitInstance_Declaration(), this.getCosimUnitDeclaration(), null, "declaration", null, 1, 1, CosimUnitInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1308. initEClass(portInstanceEClass, PortInstance.class, "PortInstance", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1309. initEReference(getPortInstance_Unit(), this.getUnitInstance(), this.getUnitInstance_Ports(), "unit", null, 0, 1, PortInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1310. initEReference(getPortInstance_Adaptation(), this.getPortAdaptation(), this.getPortAdaptation_Port(), "adaptation", null, 0, 1, PortInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1311. initEOperation(getPortInstance__SelectedAdaptations(), this.getPortAdaptation(), "selectedAdaptations", 0, -1, !IS_UNIQUE, IS_ORDERED);
  1312. initEOperation(getPortInstance__IsInput(), theEcorePackage.getEBoolean(), "isInput", 0, 1, !IS_UNIQUE, IS_ORDERED);
  1313. EOperation op = initEOperation(getPortInstance__GetsValueFrom__PortInstance(), theEcorePackage.getEBoolean(), "getsValueFrom", 0, 1, !IS_UNIQUE, IS_ORDERED);
  1314. addEParameter(op, this.getPortInstance(), "p", 0, 1, !IS_UNIQUE, IS_ORDERED);
  1315. initEOperation(getPortInstance__ToString(), theEcorePackage.getEString(), "toString", 0, 1, !IS_UNIQUE, IS_ORDERED);
  1316. initEClass(hierarchicalUnitPortEClass, HierarchicalUnitPort.class, "HierarchicalUnitPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1317. initEOperation(getHierarchicalUnitPort__IsInput(), theEcorePackage.getEBoolean(), "isInput", 0, 1, !IS_UNIQUE, IS_ORDERED);
  1318. initEOperation(getHierarchicalUnitPort__AltIsInput(), theEcorePackage.getEBoolean(), "altIsInput", 0, 1, !IS_UNIQUE, IS_ORDERED);
  1319. initEClass(inputPortInstanceEClass, InputPortInstance.class, "InputPortInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1320. initEAttribute(getInputPortInstance_ExtrapolationCost(), theEcorePackage.getEFloat(), "extrapolationCost", "1.0", 0, 1, InputPortInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1321. initEReference(getInputPortInstance_InternalValueTo(), this.getOutputPortInstance(), this.getOutputPortInstance_InternalValueFrom(), "internalValueTo", null, 0, -1, InputPortInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1322. initEReference(getInputPortInstance_ValueFrom(), this.getOutputPortInstance(), this.getOutputPortInstance_ValueTo(), "valueFrom", null, 0, 1, InputPortInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1323. initEOperation(getInputPortInstance__GetRealValueFrom(), this.getOutputPortInstance(), "getRealValueFrom", 0, 1, !IS_UNIQUE, IS_ORDERED);
  1324. op = initEOperation(getInputPortInstance__GetsValueFrom__PortInstance(), theEcorePackage.getEBoolean(), "getsValueFrom", 0, 1, !IS_UNIQUE, IS_ORDERED);
  1325. addEParameter(op, this.getPortInstance(), "p", 0, 1, !IS_UNIQUE, IS_ORDERED);
  1326. initEOperation(getInputPortInstance__IsInput(), theEcorePackage.getEBoolean(), "isInput", 0, 1, !IS_UNIQUE, IS_ORDERED);
  1327. initEClass(outputPortInstanceEClass, OutputPortInstance.class, "OutputPortInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1328. initEReference(getOutputPortInstance_ValueTo(), this.getInputPortInstance(), this.getInputPortInstance_ValueFrom(), "valueTo", null, 0, -1, OutputPortInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1329. initEReference(getOutputPortInstance_InternalValueFrom(), this.getInputPortInstance(), this.getInputPortInstance_InternalValueTo(), "internalValueFrom", null, 0, -1, OutputPortInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1330. initEOperation(getOutputPortInstance__IsInput(), theEcorePackage.getEBoolean(), "isInput", 0, 1, !IS_UNIQUE, IS_ORDERED);
  1331. initEClass(alternativeEClass, Alternative.class, "Alternative", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1332. initEAttribute(getAlternative_Weight(), theEcorePackage.getEInt(), "weight", null, 0, 1, Alternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1333. initEAttribute(getAlternative_Selected(), theEcorePackage.getEBoolean(), "selected", null, 0, 1, Alternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1334. initEReference(getAlternative_Implies(), this.getAlternative(), null, "implies", null, 0, -1, Alternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1335. initEClass(adaptationEClass, Adaptation.class, "Adaptation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1336. initEClass(portAdaptationEClass, PortAdaptation.class, "PortAdaptation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1337. initEReference(getPortAdaptation_Port(), this.getPortInstance(), this.getPortInstance_Adaptation(), "port", null, 0, 1, PortAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1338. initEReference(getPortAdaptation_Parent(), this.getDecompositionPortAdaptation(), this.getDecompositionPortAdaptation_Children(), "parent", null, 0, 1, PortAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1339. initEOperation(getPortAdaptation__Adapted(), this.getPortInstance(), "adapted", 0, 1, !IS_UNIQUE, IS_ORDERED);
  1340. initEClass(decompositionPortAdaptationEClass, DecompositionPortAdaptation.class, "DecompositionPortAdaptation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1341. initEReference(getDecompositionPortAdaptation_Children(), this.getPortAdaptation(), this.getPortAdaptation_Parent(), "children", null, 0, -1, DecompositionPortAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1342. initEAttribute(getDecompositionPortAdaptation_Name(), theEcorePackage.getEString(), "name", null, 0, 1, DecompositionPortAdaptation.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
  1343. initEOperation(getDecompositionPortAdaptation__SelectedAdaptations(), this.getPortAdaptation(), "selectedAdaptations", 0, -1, !IS_UNIQUE, IS_ORDERED);
  1344. initEClass(unitAdaptationEClass, UnitAdaptation.class, "UnitAdaptation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1345. initEReference(getUnitAdaptation_Unit(), this.getUnitInstance(), this.getUnitInstance_Adaptation(), "unit", null, 0, 1, UnitAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1346. initEReference(getUnitAdaptation_Parent(), this.getDecompositionUnitAdaptation(), this.getDecompositionUnitAdaptation_Children(), "parent", null, 0, 1, UnitAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1347. initEOperation(getUnitAdaptation__Adapted(), this.getUnitInstance(), "adapted", 0, 1, !IS_UNIQUE, IS_ORDERED);
  1348. initEClass(decompositionUnitAdaptationEClass, DecompositionUnitAdaptation.class, "DecompositionUnitAdaptation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1349. initEReference(getDecompositionUnitAdaptation_Children(), this.getUnitAdaptation(), this.getUnitAdaptation_Parent(), "children", null, 0, -1, DecompositionUnitAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1350. initEAttribute(getDecompositionUnitAdaptation_Name(), theEcorePackage.getEString(), "name", null, 0, 1, DecompositionUnitAdaptation.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
  1351. initEOperation(getDecompositionUnitAdaptation__SelectedAdaptations(), this.getUnitAdaptation(), "selectedAdaptations", 0, -1, !IS_UNIQUE, IS_ORDERED);
  1352. initEClass(xorUnitAdaptationEClass, XorUnitAdaptation.class, "XorUnitAdaptation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1353. initEClass(xorPortAdaptationEClass, XorPortAdaptation.class, "XorPortAdaptation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1354. initEClass(approximationAdaptationEClass, ApproximationAdaptation.class, "ApproximationAdaptation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1355. initEAttribute(getApproximationAdaptation_Order(), theEcorePackage.getEInt(), "order", null, 0, 1, ApproximationAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1356. initEClass(multiRateAdaptationEClass, MultiRateAdaptation.class, "MultiRateAdaptation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1357. initEAttribute(getMultiRateAdaptation_Rate(), theEcorePackage.getEInt(), "rate", null, 0, 1, MultiRateAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1358. initEAttribute(getMultiRateAdaptation_Name(), theEcorePackage.getEString(), "name", null, 0, 1, MultiRateAdaptation.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
  1359. initEClass(powerBondAdaptationEClass, PowerBondAdaptation.class, "PowerBondAdaptation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1360. initEReference(getPowerBondAdaptation_Effort(), this.getPortInstance(), null, "effort", null, 0, 1, PowerBondAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1361. initEReference(getPowerBondAdaptation_Flow(), this.getPortInstance(), null, "flow", null, 0, 1, PowerBondAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1362. initEReference(getPowerBondAdaptation_POut(), this.getOutputPortInstance(), null, "pOut", null, 0, 1, PowerBondAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1363. initEReference(getPowerBondAdaptation_PIn(), this.getInputPortInstance(), null, "pIn", null, 0, 1, PowerBondAdaptation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
  1364. initEAttribute(getPowerBondAdaptation_Name(), theEcorePackage.getEString(), "name", null, 0, 1, PowerBondAdaptation.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
  1365. initEOperation(getPowerBondAdaptation__GetDual(), this.getPowerBondAdaptation(), "getDual", 0, 1, !IS_UNIQUE, IS_ORDERED);
  1366. initEClass(extrapolationAdaptationEClass, ExtrapolationAdaptation.class, "ExtrapolationAdaptation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1367. initEAttribute(getExtrapolationAdaptation_Name(), theEcorePackage.getEString(), "name", null, 0, 1, ExtrapolationAdaptation.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
  1368. initEClass(rollbackInterpolationAdaptationEClass, RollbackInterpolationAdaptation.class, "RollbackInterpolationAdaptation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1369. initEClass(interpolationAdaptationEClass, InterpolationAdaptation.class, "InterpolationAdaptation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
  1370. initEAttribute(getInterpolationAdaptation_Name(), theEcorePackage.getEString(), "name", null, 0, 1, InterpolationAdaptation.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
  1371. // Initialize data types
  1372. initEDataType(intEDataType, int.class, "Int", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
  1373. // Create resource
  1374. createResource(eNS_URI);
  1375. }
  1376. } //HintcoPackageImpl