1 17 package org.eclipse.emf.mapping; 18 19 20 import org.eclipse.emf.ecore.EAttribute; 21 import org.eclipse.emf.ecore.EClass; 22 import org.eclipse.emf.ecore.EPackage; 23 import org.eclipse.emf.ecore.EReference; 24 25 26 41 public interface MappingPackage extends EPackage 42 { 43 44 48 String eNAME = "mapping"; 49 50 54 String eNS_URI = "http://www.eclipse.org/emf/2002/Mapping"; 55 56 60 String eNS_PREFIX = "mapping"; 61 62 66 MappingPackage eINSTANCE = org.eclipse.emf.mapping.impl.MappingPackageImpl.init(); 67 68 76 int MAPPING_HELPER = 0; 77 78 85 int MAPPING_HELPER__MAPPER = 0; 86 87 94 int MAPPING_HELPER__HELPED_OBJECT = 1; 95 96 103 int MAPPING_HELPER__NESTED_IN = 2; 104 105 112 int MAPPING_HELPER__NESTED = 3; 113 114 121 int MAPPING_HELPER_FEATURE_COUNT = 4; 122 123 131 int MAPPING = 1; 132 133 140 int MAPPING__HELPER = 0; 141 142 149 int MAPPING__NESTED = 1; 150 151 158 int MAPPING__NESTED_IN = 2; 159 160 167 int MAPPING__INPUTS = 3; 168 169 176 int MAPPING__OUTPUTS = 4; 177 178 185 int MAPPING__TYPE_MAPPING = 5; 186 187 194 int MAPPING_FEATURE_COUNT = 6; 195 196 204 int TYPE_CONVERTER = 2; 205 206 213 int TYPE_CONVERTER__MAPPER = MAPPING_HELPER__MAPPER; 214 215 222 int TYPE_CONVERTER__HELPED_OBJECT = MAPPING_HELPER__HELPED_OBJECT; 223 224 231 int TYPE_CONVERTER__NESTED_IN = MAPPING_HELPER__NESTED_IN; 232 233 240 int TYPE_CONVERTER__NESTED = MAPPING_HELPER__NESTED; 241 242 249 int TYPE_CONVERTER_FEATURE_COUNT = MAPPING_HELPER_FEATURE_COUNT + 0; 250 251 259 int FUNCTION_PAIR = 3; 260 261 268 int FUNCTION_PAIR__MAPPER = TYPE_CONVERTER__MAPPER; 269 270 277 int FUNCTION_PAIR__HELPED_OBJECT = TYPE_CONVERTER__HELPED_OBJECT; 278 279 286 int FUNCTION_PAIR__NESTED_IN = TYPE_CONVERTER__NESTED_IN; 287 288 295 int FUNCTION_PAIR__NESTED = TYPE_CONVERTER__NESTED; 296 297 304 int FUNCTION_PAIR__IN2OUT = TYPE_CONVERTER_FEATURE_COUNT + 0; 305 306 313 int FUNCTION_PAIR__OUT2IN = TYPE_CONVERTER_FEATURE_COUNT + 1; 314 315 322 int FUNCTION_PAIR_FEATURE_COUNT = TYPE_CONVERTER_FEATURE_COUNT + 2; 323 324 332 int FUNCTION_NAME_PAIR = 4; 333 334 341 int FUNCTION_NAME_PAIR__MAPPER = TYPE_CONVERTER__MAPPER; 342 343 350 int FUNCTION_NAME_PAIR__HELPED_OBJECT = TYPE_CONVERTER__HELPED_OBJECT; 351 352 359 int FUNCTION_NAME_PAIR__NESTED_IN = TYPE_CONVERTER__NESTED_IN; 360 361 368 int FUNCTION_NAME_PAIR__NESTED = TYPE_CONVERTER__NESTED; 369 370 377 int FUNCTION_NAME_PAIR__IN2OUT = TYPE_CONVERTER_FEATURE_COUNT + 0; 378 379 386 int FUNCTION_NAME_PAIR__OUT2IN = TYPE_CONVERTER_FEATURE_COUNT + 1; 387 388 395 int FUNCTION_NAME_PAIR_FEATURE_COUNT = TYPE_CONVERTER_FEATURE_COUNT + 2; 396 397 405 int MAPPING_STRATEGY = 5; 406 407 414 int MAPPING_STRATEGY__MAPPER = MAPPING_HELPER__MAPPER; 415 416 423 int MAPPING_STRATEGY__HELPED_OBJECT = MAPPING_HELPER__HELPED_OBJECT; 424 425 432 int MAPPING_STRATEGY__NESTED_IN = MAPPING_HELPER__NESTED_IN; 433 434 441 int MAPPING_STRATEGY__NESTED = MAPPING_HELPER__NESTED; 442 443 450 int MAPPING_STRATEGY_FEATURE_COUNT = MAPPING_HELPER_FEATURE_COUNT + 0; 451 452 460 int MAPPING_ROOT = 6; 461 462 469 int MAPPING_ROOT__HELPER = MAPPING__HELPER; 470 471 478 int MAPPING_ROOT__NESTED = MAPPING__NESTED; 479 480 487 int MAPPING_ROOT__NESTED_IN = MAPPING__NESTED_IN; 488 489 496 int MAPPING_ROOT__INPUTS = MAPPING__INPUTS; 497 498 505 int MAPPING_ROOT__OUTPUTS = MAPPING__OUTPUTS; 506 507 514 int MAPPING_ROOT__TYPE_MAPPING = MAPPING__TYPE_MAPPING; 515 516 523 int MAPPING_ROOT__OUTPUT_READ_ONLY = MAPPING_FEATURE_COUNT + 0; 524 525 532 int MAPPING_ROOT__TOP_TO_BOTTOM = MAPPING_FEATURE_COUNT + 1; 533 534 541 int MAPPING_ROOT__COMMAND_STACK = MAPPING_FEATURE_COUNT + 2; 542 543 550 int MAPPING_ROOT_FEATURE_COUNT = MAPPING_FEATURE_COUNT + 3; 551 552 560 int COMPLEX_TYPE_CONVERTER = 7; 561 562 569 int COMPLEX_TYPE_CONVERTER__MAPPER = TYPE_CONVERTER__MAPPER; 570 571 578 int COMPLEX_TYPE_CONVERTER__HELPED_OBJECT = TYPE_CONVERTER__HELPED_OBJECT; 579 580 587 int COMPLEX_TYPE_CONVERTER__NESTED_IN = TYPE_CONVERTER__NESTED_IN; 588 589 596 int COMPLEX_TYPE_CONVERTER__NESTED = TYPE_CONVERTER__NESTED; 597 598 605 int COMPLEX_TYPE_CONVERTER__IN2OUT = TYPE_CONVERTER_FEATURE_COUNT + 0; 606 607 614 int COMPLEX_TYPE_CONVERTER__OUT2IN = TYPE_CONVERTER_FEATURE_COUNT + 1; 615 616 623 int COMPLEX_TYPE_CONVERTER_FEATURE_COUNT = TYPE_CONVERTER_FEATURE_COUNT + 2; 624 625 626 634 EClass getMappingHelper(); 635 636 645 EReference getMappingHelper_Mapper(); 646 647 656 EReference getMappingHelper_HelpedObject(); 657 658 667 EReference getMappingHelper_NestedIn(); 668 669 678 EReference getMappingHelper_Nested(); 679 680 688 EClass getMapping(); 689 690 699 EReference getMapping_Helper(); 700 701 710 EReference getMapping_Nested(); 711 712 721 EReference getMapping_NestedIn(); 722 723 732 EReference getMapping_Inputs(); 733 734 743 EReference getMapping_Outputs(); 744 745 754 EReference getMapping_TypeMapping(); 755 756 764 EClass getTypeConverter(); 765 766 774 EClass getFunctionPair(); 775 776 785 EReference getFunctionPair_In2out(); 786 787 796 EReference getFunctionPair_Out2in(); 797 798 806 EClass getFunctionNamePair(); 807 808 817 EAttribute getFunctionNamePair_In2out(); 818 819 828 EAttribute getFunctionNamePair_Out2in(); 829 830 838 EClass getMappingStrategy(); 839 840 848 EClass getMappingRoot(); 849 850 859 EAttribute getMappingRoot_OutputReadOnly(); 860 861 870 EAttribute getMappingRoot_TopToBottom(); 871 872 881 EAttribute getMappingRoot_CommandStack(); 882 883 891 EClass getComplexTypeConverter(); 892 893 902 EReference getComplexTypeConverter_In2out(); 903 904 913 EReference getComplexTypeConverter_Out2in(); 914 915 922 MappingFactory getMappingFactory(); 923 924 } 926 927 | Popular Tags |