1 17 package org.eclipse.emf.codegen.ecore.genmodel.impl; 18 19 20 import org.eclipse.emf.codegen.ecore.genmodel.GenBase; 21 import org.eclipse.emf.codegen.ecore.genmodel.GenClass; 22 import org.eclipse.emf.codegen.ecore.genmodel.GenClassifier; 23 import org.eclipse.emf.codegen.ecore.genmodel.GenDataType; 24 import org.eclipse.emf.codegen.ecore.genmodel.GenEnum; 25 import org.eclipse.emf.codegen.ecore.genmodel.GenEnumLiteral; 26 import org.eclipse.emf.codegen.ecore.genmodel.GenFeature; 27 import org.eclipse.emf.codegen.ecore.genmodel.GenModel; 28 import org.eclipse.emf.codegen.ecore.genmodel.GenModelFactory; 29 import org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage; 30 import org.eclipse.emf.codegen.ecore.genmodel.GenOperation; 31 import org.eclipse.emf.codegen.ecore.genmodel.GenPackage; 32 import org.eclipse.emf.codegen.ecore.genmodel.GenParameter; 33 import org.eclipse.emf.codegen.ecore.genmodel.GenPropertyKind; 34 import org.eclipse.emf.codegen.ecore.genmodel.GenProviderKind; 35 import org.eclipse.emf.codegen.ecore.genmodel.GenResourceKind; 36 import org.eclipse.emf.codegen.ecore.genmodel.GenTypedElement; 37 38 import org.eclipse.emf.ecore.EAttribute; 39 import org.eclipse.emf.ecore.EClass; 40 import org.eclipse.emf.ecore.EEnum; 41 import org.eclipse.emf.ecore.EPackage; 42 import org.eclipse.emf.ecore.EReference; 43 import org.eclipse.emf.ecore.EcorePackage; 44 import org.eclipse.emf.ecore.impl.EPackageImpl; 45 import org.eclipse.emf.ecore.impl.EcorePackageImpl; 46 47 48 54 public class GenModelPackageImpl extends EPackageImpl implements GenModelPackage 55 { 56 61 private EClass genModelEClass = null; 62 63 68 private EClass genPackageEClass = null; 69 70 75 private EClass genClassEClass = null; 76 77 82 private EClass genFeatureEClass = null; 83 84 89 private EClass genBaseEClass = null; 90 91 96 private EClass genEnumEClass = null; 97 98 103 private EClass genEnumLiteralEClass = null; 104 105 110 private EClass genClassifierEClass = null; 111 112 117 private EClass genDataTypeEClass = null; 118 119 124 private EClass genOperationEClass = null; 125 126 131 private EClass genParameterEClass = null; 132 133 138 private EClass genTypedElementEClass = null; 139 140 145 private EEnum genProviderKindEEnum = null; 146 147 152 private EEnum genPropertyKindEEnum = null; 153 154 159 private EEnum genResourceKindEEnum = null; 160 161 176 private GenModelPackageImpl() 177 { 178 super(eNS_URI, GenModelFactory.eINSTANCE); 179 } 180 181 186 private static boolean isInited = false; 187 188 210 public static GenModelPackage init() 211 { 212 if (isInited) return (GenModelPackage)EPackage.Registry.INSTANCE.getEPackage(GenModelPackage.eNS_URI); 213 214 GenModelPackageImpl theGenModelPackage = (GenModelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof GenModelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new GenModelPackageImpl()); 216 217 isInited = true; 218 219 EcorePackageImpl.init(); 221 222 theGenModelPackage.createPackageContents(); 224 225 theGenModelPackage.initializePackageContents(); 227 228 theGenModelPackage.freeze(); 230 231 return theGenModelPackage; 232 } 233 234 239 public EClass getGenModel() 240 { 241 return genModelEClass; 242 } 243 244 249 public EAttribute getGenModel_CopyrightText() 250 { 251 return (EAttribute)genModelEClass.getEStructuralFeatures().get(0); 252 } 253 254 259 public EAttribute getGenModel_ModelDirectory() 260 { 261 return (EAttribute)genModelEClass.getEStructuralFeatures().get(1); 262 } 263 264 269 public EAttribute getGenModel_CreationCommands() 270 { 271 return (EAttribute)genModelEClass.getEStructuralFeatures().get(2); 272 } 273 274 279 public EAttribute getGenModel_CreationIcons() 280 { 281 return (EAttribute)genModelEClass.getEStructuralFeatures().get(3); 282 } 283 284 289 public EAttribute getGenModel_EditDirectory() 290 { 291 return (EAttribute)genModelEClass.getEStructuralFeatures().get(4); 292 } 293 294 299 public EAttribute getGenModel_EditorDirectory() 300 { 301 return (EAttribute)genModelEClass.getEStructuralFeatures().get(5); 302 } 303 304 309 public EAttribute getGenModel_ModelPluginID() 310 { 311 return (EAttribute)genModelEClass.getEStructuralFeatures().get(6); 312 } 313 314 319 public EAttribute getGenModel_TemplateDirectory() 320 { 321 return (EAttribute)genModelEClass.getEStructuralFeatures().get(7); 322 } 323 324 329 public EAttribute getGenModel_RuntimeJar() 330 { 331 return (EAttribute)genModelEClass.getEStructuralFeatures().get(8); 332 } 333 334 339 public EAttribute getGenModel_ForeignModel() 340 { 341 return (EAttribute)genModelEClass.getEStructuralFeatures().get(9); 342 } 343 344 349 public EAttribute getGenModel_DynamicTemplates() 350 { 351 return (EAttribute)genModelEClass.getEStructuralFeatures().get(10); 352 } 353 354 359 public EAttribute getGenModel_Redirection() 360 { 361 return (EAttribute)genModelEClass.getEStructuralFeatures().get(11); 362 } 363 364 369 public EAttribute getGenModel_ForceOverwrite() 370 { 371 return (EAttribute)genModelEClass.getEStructuralFeatures().get(12); 372 } 373 374 379 public EAttribute getGenModel_NonExternalizedStringTag() 380 { 381 return (EAttribute)genModelEClass.getEStructuralFeatures().get(13); 382 } 383 384 389 public EAttribute getGenModel_ModelName() 390 { 391 return (EAttribute)genModelEClass.getEStructuralFeatures().get(14); 392 } 393 394 399 public EAttribute getGenModel_ModelPluginClass() 400 { 401 return (EAttribute)genModelEClass.getEStructuralFeatures().get(15); 402 } 403 404 409 public EAttribute getGenModel_EditPluginClass() 410 { 411 return (EAttribute)genModelEClass.getEStructuralFeatures().get(16); 412 } 413 414 419 public EAttribute getGenModel_EditorPluginClass() 420 { 421 return (EAttribute)genModelEClass.getEStructuralFeatures().get(17); 422 } 423 424 429 public EAttribute getGenModel_UpdateClasspath() 430 { 431 return (EAttribute)genModelEClass.getEStructuralFeatures().get(18); 432 } 433 434 439 public EAttribute getGenModel_GenerateSchema() 440 { 441 return (EAttribute)genModelEClass.getEStructuralFeatures().get(19); 442 } 443 444 449 public EAttribute getGenModel_NonNLSMarkers() 450 { 451 return (EAttribute)genModelEClass.getEStructuralFeatures().get(20); 452 } 453 454 459 public EAttribute getGenModel_StaticPackages() 460 { 461 return (EAttribute)genModelEClass.getEStructuralFeatures().get(21); 462 } 463 464 469 public EAttribute getGenModel_ModelPluginVariables() 470 { 471 return (EAttribute)genModelEClass.getEStructuralFeatures().get(22); 472 } 473 474 479 public EAttribute getGenModel_RootExtendsInterface() 480 { 481 return (EAttribute)genModelEClass.getEStructuralFeatures().get(23); 482 } 483 484 489 public EAttribute getGenModel_RootExtendsClass() 490 { 491 return (EAttribute)genModelEClass.getEStructuralFeatures().get(24); 492 } 493 494 499 public EAttribute getGenModel_RootImplementsInterface() 500 { 501 return (EAttribute)genModelEClass.getEStructuralFeatures().get(25); 502 } 503 504 509 public EAttribute getGenModel_SuppressEMFTypes() 510 { 511 return (EAttribute)genModelEClass.getEStructuralFeatures().get(26); 512 } 513 514 519 public EAttribute getGenModel_FeatureMapWrapperInterface() 520 { 521 return (EAttribute)genModelEClass.getEStructuralFeatures().get(27); 522 } 523 524 529 public EAttribute getGenModel_FeatureMapWrapperInternalInterface() 530 { 531 return (EAttribute)genModelEClass.getEStructuralFeatures().get(28); 532 } 533 534 539 public EAttribute getGenModel_FeatureMapWrapperClass() 540 { 541 return (EAttribute)genModelEClass.getEStructuralFeatures().get(29); 542 } 543 544 549 public EAttribute getGenModel_RuntimeCompatibility() 550 { 551 return (EAttribute)genModelEClass.getEStructuralFeatures().get(30); 552 } 553 554 559 public EAttribute getGenModel_RichClientPlatform() 560 { 561 return (EAttribute)genModelEClass.getEStructuralFeatures().get(31); 562 } 563 564 569 public EAttribute getGenModel_ReflectiveDelegation() 570 { 571 return (EAttribute)genModelEClass.getEStructuralFeatures().get(32); 572 } 573 574 579 public EAttribute getGenModel_CodeFormatting() 580 { 581 return (EAttribute)genModelEClass.getEStructuralFeatures().get(33); 582 } 583 584 589 public EAttribute getGenModel_TestsDirectory() 590 { 591 return (EAttribute)genModelEClass.getEStructuralFeatures().get(34); 592 } 593 594 599 public EAttribute getGenModel_TestSuiteClass() 600 { 601 return (EAttribute)genModelEClass.getEStructuralFeatures().get(35); 602 } 603 604 609 public EAttribute getGenModel_BooleanFlagsField() 610 { 611 return (EAttribute)genModelEClass.getEStructuralFeatures().get(36); 612 } 613 614 619 public EAttribute getGenModel_BooleanFlagsReservedBits() 620 { 621 return (EAttribute)genModelEClass.getEStructuralFeatures().get(37); 622 } 623 624 629 public EAttribute getGenModel_ImporterID() 630 { 631 return (EAttribute)genModelEClass.getEStructuralFeatures().get(38); 632 } 633 634 639 public EAttribute getGenModel_BundleManifest() 640 { 641 return (EAttribute)genModelEClass.getEStructuralFeatures().get(39); 642 } 643 644 649 public EReference getGenModel_GenPackages() 650 { 651 return (EReference)genModelEClass.getEStructuralFeatures().get(40); 652 } 653 654 659 public EReference getGenModel_UsedGenPackages() 660 { 661 return (EReference)genModelEClass.getEStructuralFeatures().get(41); 662 } 663 664 669 public EClass getGenPackage() 670 { 671 return genPackageEClass; 672 } 673 674 679 public EAttribute getGenPackage_Prefix() 680 { 681 return (EAttribute)genPackageEClass.getEStructuralFeatures().get(0); 682 } 683 684 689 public EAttribute getGenPackage_BasePackage() 690 { 691 return (EAttribute)genPackageEClass.getEStructuralFeatures().get(1); 692 } 693 694 699 public EAttribute getGenPackage_Resource() 700 { 701 return (EAttribute)genPackageEClass.getEStructuralFeatures().get(2); 702 } 703 704 709 public EAttribute getGenPackage_DisposableProviderFactory() 710 { 711 return (EAttribute)genPackageEClass.getEStructuralFeatures().get(3); 712 } 713 714 719 public EAttribute getGenPackage_AdapterFactory() 720 { 721 return (EAttribute)genPackageEClass.getEStructuralFeatures().get(4); 722 } 723 724 729 public EAttribute getGenPackage_LoadInitialization() 730 { 731 return (EAttribute)genPackageEClass.getEStructuralFeatures().get(5); 732 } 733 734 739 public EAttribute getGenPackage_InterfacePackageSuffix() 740 { 741 return (EAttribute)genPackageEClass.getEStructuralFeatures().get(6); 742 } 743 744 749 public EAttribute getGenPackage_ClassPackageSuffix() 750 { 751 return (EAttribute)genPackageEClass.getEStructuralFeatures().get(7); 752 } 753 754 759 public EAttribute getGenPackage_UtilityPackageSuffix() 760 { 761 return (EAttribute)genPackageEClass.getEStructuralFeatures().get(8); 762 } 763 764 769 public EAttribute getGenPackage_ProviderPackageSuffix() 770 { 771 return (EAttribute)genPackageEClass.getEStructuralFeatures().get(9); 772 } 773 774 779 public EAttribute getGenPackage_PresentationPackageSuffix() 780 { 781 return (EAttribute)genPackageEClass.getEStructuralFeatures().get(10); 782 } 783 784 789 public EAttribute getGenPackage_TestsPackageSuffix() 790 { 791 return (EAttribute)genPackageEClass.getEStructuralFeatures().get(11); 792 } 793 794 799 public EAttribute getGenPackage_GenerateExampleClass() 800 { 801 return (EAttribute)genPackageEClass.getEStructuralFeatures().get(12); 802 } 803 804 809 public EReference getGenPackage_EcorePackage() 810 { 811 return (EReference)genPackageEClass.getEStructuralFeatures().get(13); 812 } 813 814 819 public EReference getGenPackage_GenModel() 820 { 821 return (EReference)genPackageEClass.getEStructuralFeatures().get(14); 822 } 823 824 829 public EReference getGenPackage_GenEnums() 830 { 831 return (EReference)genPackageEClass.getEStructuralFeatures().get(15); 832 } 833 834 839 public EReference getGenPackage_GenDataTypes() 840 { 841 return (EReference)genPackageEClass.getEStructuralFeatures().get(16); 842 } 843 844 849 public EReference getGenPackage_GenClasses() 850 { 851 return (EReference)genPackageEClass.getEStructuralFeatures().get(17); 852 } 853 854 859 public EReference getGenPackage_NestedGenPackages() 860 { 861 return (EReference)genPackageEClass.getEStructuralFeatures().get(18); 862 } 863 864 869 public EReference getGenPackage_GenClassifiers() 870 { 871 return (EReference)genPackageEClass.getEStructuralFeatures().get(19); 872 } 873 874 879 public EClass getGenClass() 880 { 881 return genClassEClass; 882 } 883 884 889 public EAttribute getGenClass_Provider() 890 { 891 return (EAttribute)genClassEClass.getEStructuralFeatures().get(0); 892 } 893 894 899 public EAttribute getGenClass_Image() 900 { 901 return (EAttribute)genClassEClass.getEStructuralFeatures().get(1); 902 } 903 904 909 public EReference getGenClass_EcoreClass() 910 { 911 return (EReference)genClassEClass.getEStructuralFeatures().get(2); 912 } 913 914 919 public EReference getGenClass_GenFeatures() 920 { 921 return (EReference)genClassEClass.getEStructuralFeatures().get(3); 922 } 923 924 929 public EReference getGenClass_GenOperations() 930 { 931 return (EReference)genClassEClass.getEStructuralFeatures().get(4); 932 } 933 934 939 public EReference getGenClass_LabelFeature() 940 { 941 return (EReference)genClassEClass.getEStructuralFeatures().get(5); 942 } 943 944 949 public EClass getGenFeature() 950 { 951 return genFeatureEClass; 952 } 953 954 959 public EAttribute getGenFeature_Property() 960 { 961 return (EAttribute)genFeatureEClass.getEStructuralFeatures().get(0); 962 } 963 964 969 public EAttribute getGenFeature_Notify() 970 { 971 return (EAttribute)genFeatureEClass.getEStructuralFeatures().get(1); 972 } 973 974 979 public EAttribute getGenFeature_Children() 980 { 981 return (EAttribute)genFeatureEClass.getEStructuralFeatures().get(2); 982 } 983 984 989 public EAttribute getGenFeature_CreateChild() 990 { 991 return (EAttribute)genFeatureEClass.getEStructuralFeatures().get(3); 992 } 993 994 999 public EAttribute getGenFeature_PropertyCategory() 1000 { 1001 return (EAttribute)genFeatureEClass.getEStructuralFeatures().get(4); 1002 } 1003 1004 1009 public EAttribute getGenFeature_PropertyFilterFlags() 1010 { 1011 return (EAttribute)genFeatureEClass.getEStructuralFeatures().get(5); 1012 } 1013 1014 1019 public EAttribute getGenFeature_PropertyDescription() 1020 { 1021 return (EAttribute)genFeatureEClass.getEStructuralFeatures().get(6); 1022 } 1023 1024 1029 public EReference getGenFeature_GenClass() 1030 { 1031 return (EReference)genFeatureEClass.getEStructuralFeatures().get(7); 1032 } 1033 1034 1039 public EReference getGenFeature_EcoreFeature() 1040 { 1041 return (EReference)genFeatureEClass.getEStructuralFeatures().get(8); 1042 } 1043 1044 1049 public EClass getGenBase() 1050 { 1051 return genBaseEClass; 1052 } 1053 1054 1059 public EClass getGenEnum() 1060 { 1061 return genEnumEClass; 1062 } 1063 1064 1069 public EReference getGenEnum_EcoreEnum() 1070 { 1071 return (EReference)genEnumEClass.getEStructuralFeatures().get(0); 1072 } 1073 1074 1079 public EReference getGenEnum_GenEnumLiterals() 1080 { 1081 return (EReference)genEnumEClass.getEStructuralFeatures().get(1); 1082 } 1083 1084 1089 public EClass getGenEnumLiteral() 1090 { 1091 return genEnumLiteralEClass; 1092 } 1093 1094 1099 public EReference getGenEnumLiteral_GenEnum() 1100 { 1101 return (EReference)genEnumLiteralEClass.getEStructuralFeatures().get(0); 1102 } 1103 1104 1109 public EReference getGenEnumLiteral_EcoreEnumLiteral() 1110 { 1111 return (EReference)genEnumLiteralEClass.getEStructuralFeatures().get(1); 1112 } 1113 1114 1119 public EClass getGenClassifier() 1120 { 1121 return genClassifierEClass; 1122 } 1123 1124 1129 public EReference getGenClassifier_GenPackage() 1130 { 1131 return (EReference)genClassifierEClass.getEStructuralFeatures().get(0); 1132 } 1133 1134 1139 public EClass getGenDataType() 1140 { 1141 return genDataTypeEClass; 1142 } 1143 1144 1149 public EReference getGenDataType_EcoreDataType() 1150 { 1151 return (EReference)genDataTypeEClass.getEStructuralFeatures().get(0); 1152 } 1153 1154 1159 public EClass getGenOperation() 1160 { 1161 return genOperationEClass; 1162 } 1163 1164 1169 public EReference getGenOperation_GenClass() 1170 { 1171 return (EReference)genOperationEClass.getEStructuralFeatures().get(0); 1172 } 1173 1174 1179 public EReference getGenOperation_EcoreOperation() 1180 { 1181 return (EReference)genOperationEClass.getEStructuralFeatures().get(1); 1182 } 1183 1184 1189 public EReference getGenOperation_GenParameters() 1190 { 1191 return (EReference)genOperationEClass.getEStructuralFeatures().get(2); 1192 } 1193 1194 1199 public EClass getGenParameter() 1200 { 1201 return genParameterEClass; 1202 } 1203 1204 1209 public EReference getGenParameter_GenOperation() 1210 { 1211 return (EReference)genParameterEClass.getEStructuralFeatures().get(0); 1212 } 1213 1214 1219 public EReference getGenParameter_EcoreParameter() 1220 { 1221 return (EReference)genParameterEClass.getEStructuralFeatures().get(1); 1222 } 1223 1224 1229 public EClass getGenTypedElement() 1230 { 1231 return genTypedElementEClass; 1232 } 1233 1234 1239 public EEnum getGenProviderKind() 1240 { 1241 return genProviderKindEEnum; 1242 } 1243 1244 1249 public EEnum getGenPropertyKind() 1250 { 1251 return genPropertyKindEEnum; 1252 } 1253 1254 1259 public EEnum getGenResourceKind() 1260 { 1261 return genResourceKindEEnum; 1262 } 1263 1264 1269 public GenModelFactory getGenModelFactory() 1270 { 1271 return (GenModelFactory)getEFactoryInstance(); 1272 } 1273 1274 1279 private boolean isCreated = false; 1280 1281 1288 public void createPackageContents() 1289 { 1290 if (isCreated) return; 1291 isCreated = true; 1292 1293 genModelEClass = createEClass(GEN_MODEL); 1295 createEAttribute(genModelEClass, GEN_MODEL__COPYRIGHT_TEXT); 1296 createEAttribute(genModelEClass, GEN_MODEL__MODEL_DIRECTORY); 1297 createEAttribute(genModelEClass, GEN_MODEL__CREATION_COMMANDS); 1298 createEAttribute(genModelEClass, GEN_MODEL__CREATION_ICONS); 1299 createEAttribute(genModelEClass, GEN_MODEL__EDIT_DIRECTORY); 1300 createEAttribute(genModelEClass, GEN_MODEL__EDITOR_DIRECTORY); 1301 createEAttribute(genModelEClass, GEN_MODEL__MODEL_PLUGIN_ID); 1302 createEAttribute(genModelEClass, GEN_MODEL__TEMPLATE_DIRECTORY); 1303 createEAttribute(genModelEClass, GEN_MODEL__RUNTIME_JAR); 1304 createEAttribute(genModelEClass, GEN_MODEL__FOREIGN_MODEL); 1305 createEAttribute(genModelEClass, GEN_MODEL__DYNAMIC_TEMPLATES); 1306 createEAttribute(genModelEClass, GEN_MODEL__REDIRECTION); 1307 createEAttribute(genModelEClass, GEN_MODEL__FORCE_OVERWRITE); 1308 createEAttribute(genModelEClass, GEN_MODEL__NON_EXTERNALIZED_STRING_TAG); 1309 createEAttribute(genModelEClass, GEN_MODEL__MODEL_NAME); 1310 createEAttribute(genModelEClass, GEN_MODEL__MODEL_PLUGIN_CLASS); 1311 createEAttribute(genModelEClass, GEN_MODEL__EDIT_PLUGIN_CLASS); 1312 createEAttribute(genModelEClass, GEN_MODEL__EDITOR_PLUGIN_CLASS); 1313 createEAttribute(genModelEClass, GEN_MODEL__UPDATE_CLASSPATH); 1314 createEAttribute(genModelEClass, GEN_MODEL__GENERATE_SCHEMA); 1315 createEAttribute(genModelEClass, GEN_MODEL__NON_NLS_MARKERS); 1316 createEAttribute(genModelEClass, GEN_MODEL__STATIC_PACKAGES); 1317 createEAttribute(genModelEClass, GEN_MODEL__MODEL_PLUGIN_VARIABLES); 1318 createEAttribute(genModelEClass, GEN_MODEL__ROOT_EXTENDS_INTERFACE); 1319 createEAttribute(genModelEClass, GEN_MODEL__ROOT_EXTENDS_CLASS); 1320 createEAttribute(genModelEClass, GEN_MODEL__ROOT_IMPLEMENTS_INTERFACE); 1321 createEAttribute(genModelEClass, GEN_MODEL__SUPPRESS_EMF_TYPES); 1322 createEAttribute(genModelEClass, GEN_MODEL__FEATURE_MAP_WRAPPER_INTERFACE); 1323 createEAttribute(genModelEClass, GEN_MODEL__FEATURE_MAP_WRAPPER_INTERNAL_INTERFACE); 1324 createEAttribute(genModelEClass, GEN_MODEL__FEATURE_MAP_WRAPPER_CLASS); 1325 createEAttribute(genModelEClass, GEN_MODEL__RUNTIME_COMPATIBILITY); 1326 createEAttribute(genModelEClass, GEN_MODEL__RICH_CLIENT_PLATFORM); 1327 createEAttribute(genModelEClass, GEN_MODEL__REFLECTIVE_DELEGATION); 1328 createEAttribute(genModelEClass, GEN_MODEL__CODE_FORMATTING); 1329 createEAttribute(genModelEClass, GEN_MODEL__TESTS_DIRECTORY); 1330 createEAttribute(genModelEClass, GEN_MODEL__TEST_SUITE_CLASS); 1331 createEAttribute(genModelEClass, GEN_MODEL__BOOLEAN_FLAGS_FIELD); 1332 createEAttribute(genModelEClass, GEN_MODEL__BOOLEAN_FLAGS_RESERVED_BITS); 1333 createEAttribute(genModelEClass, GEN_MODEL__IMPORTER_ID); 1334 createEAttribute(genModelEClass, GEN_MODEL__BUNDLE_MANIFEST); 1335 createEReference(genModelEClass, GEN_MODEL__GEN_PACKAGES); 1336 createEReference(genModelEClass, GEN_MODEL__USED_GEN_PACKAGES); 1337 1338 genPackageEClass = createEClass(GEN_PACKAGE); 1339 createEAttribute(genPackageEClass, GEN_PACKAGE__PREFIX); 1340 createEAttribute(genPackageEClass, GEN_PACKAGE__BASE_PACKAGE); 1341 createEAttribute(genPackageEClass, GEN_PACKAGE__RESOURCE); 1342 createEAttribute(genPackageEClass, GEN_PACKAGE__DISPOSABLE_PROVIDER_FACTORY); 1343 createEAttribute(genPackageEClass, GEN_PACKAGE__ADAPTER_FACTORY); 1344 createEAttribute(genPackageEClass, GEN_PACKAGE__LOAD_INITIALIZATION); 1345 createEAttribute(genPackageEClass, GEN_PACKAGE__INTERFACE_PACKAGE_SUFFIX); 1346 createEAttribute(genPackageEClass, GEN_PACKAGE__CLASS_PACKAGE_SUFFIX); 1347 createEAttribute(genPackageEClass, GEN_PACKAGE__UTILITY_PACKAGE_SUFFIX); 1348 createEAttribute(genPackageEClass, GEN_PACKAGE__PROVIDER_PACKAGE_SUFFIX); 1349 createEAttribute(genPackageEClass, GEN_PACKAGE__PRESENTATION_PACKAGE_SUFFIX); 1350 createEAttribute(genPackageEClass, GEN_PACKAGE__TESTS_PACKAGE_SUFFIX); 1351 createEAttribute(genPackageEClass, GEN_PACKAGE__GENERATE_EXAMPLE_CLASS); 1352 createEReference(genPackageEClass, GEN_PACKAGE__ECORE_PACKAGE); 1353 createEReference(genPackageEClass, GEN_PACKAGE__GEN_MODEL); 1354 createEReference(genPackageEClass, GEN_PACKAGE__GEN_ENUMS); 1355 createEReference(genPackageEClass, GEN_PACKAGE__GEN_DATA_TYPES); 1356 createEReference(genPackageEClass, GEN_PACKAGE__GEN_CLASSES); 1357 createEReference(genPackageEClass, GEN_PACKAGE__NESTED_GEN_PACKAGES); 1358 createEReference(genPackageEClass, GEN_PACKAGE__GEN_CLASSIFIERS); 1359 1360 genClassEClass = createEClass(GEN_CLASS); 1361 createEAttribute(genClassEClass, GEN_CLASS__PROVIDER); 1362 createEAttribute(genClassEClass, GEN_CLASS__IMAGE); 1363 createEReference(genClassEClass, GEN_CLASS__ECORE_CLASS); 1364 createEReference(genClassEClass, GEN_CLASS__GEN_FEATURES); 1365 createEReference(genClassEClass, GEN_CLASS__GEN_OPERATIONS); 1366 createEReference(genClassEClass, GEN_CLASS__LABEL_FEATURE); 1367 1368 genFeatureEClass = createEClass(GEN_FEATURE); 1369 createEAttribute(genFeatureEClass, GEN_FEATURE__PROPERTY); 1370 createEAttribute(genFeatureEClass, GEN_FEATURE__NOTIFY); 1371 createEAttribute(genFeatureEClass, GEN_FEATURE__CHILDREN); 1372 createEAttribute(genFeatureEClass, GEN_FEATURE__CREATE_CHILD); 1373 createEAttribute(genFeatureEClass, GEN_FEATURE__PROPERTY_CATEGORY); 1374 createEAttribute(genFeatureEClass, GEN_FEATURE__PROPERTY_FILTER_FLAGS); 1375 createEAttribute(genFeatureEClass, GEN_FEATURE__PROPERTY_DESCRIPTION); 1376 createEReference(genFeatureEClass, GEN_FEATURE__GEN_CLASS); 1377 createEReference(genFeatureEClass, GEN_FEATURE__ECORE_FEATURE); 1378 1379 genBaseEClass = createEClass(GEN_BASE); 1380 1381 genEnumEClass = createEClass(GEN_ENUM); 1382 createEReference(genEnumEClass, GEN_ENUM__ECORE_ENUM); 1383 createEReference(genEnumEClass, GEN_ENUM__GEN_ENUM_LITERALS); 1384 1385 genEnumLiteralEClass = createEClass(GEN_ENUM_LITERAL); 1386 createEReference(genEnumLiteralEClass, GEN_ENUM_LITERAL__GEN_ENUM); 1387 createEReference(genEnumLiteralEClass, GEN_ENUM_LITERAL__ECORE_ENUM_LITERAL); 1388 1389 genClassifierEClass = createEClass(GEN_CLASSIFIER); 1390 createEReference(genClassifierEClass, GEN_CLASSIFIER__GEN_PACKAGE); 1391 1392 genDataTypeEClass = createEClass(GEN_DATA_TYPE); 1393 createEReference(genDataTypeEClass, GEN_DATA_TYPE__ECORE_DATA_TYPE); 1394 1395 genOperationEClass = createEClass(GEN_OPERATION); 1396 createEReference(genOperationEClass, GEN_OPERATION__GEN_CLASS); 1397 createEReference(genOperationEClass, GEN_OPERATION__ECORE_OPERATION); 1398 createEReference(genOperationEClass, GEN_OPERATION__GEN_PARAMETERS); 1399 1400 genParameterEClass = createEClass(GEN_PARAMETER); 1401 createEReference(genParameterEClass, GEN_PARAMETER__GEN_OPERATION); 1402 createEReference(genParameterEClass, GEN_PARAMETER__ECORE_PARAMETER); 1403 1404 genTypedElementEClass = createEClass(GEN_TYPED_ELEMENT); 1405 1406 genProviderKindEEnum = createEEnum(GEN_PROVIDER_KIND); 1408 genPropertyKindEEnum = createEEnum(GEN_PROPERTY_KIND); 1409 genResourceKindEEnum = createEEnum(GEN_RESOURCE_KIND); 1410 } 1411 1412 1417 private boolean isInitialized = false; 1418 1419 1426 public void initializePackageContents() 1427 { 1428 if (isInitialized) return; 1429 isInitialized = true; 1430 1431 setName(eNAME); 1433 setNsPrefix(eNS_PREFIX); 1434 setNsURI(eNS_URI); 1435 1436 EcorePackageImpl theEcorePackage = (EcorePackageImpl)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); 1438 1439 genModelEClass.getESuperTypes().add(this.getGenBase()); 1441 genPackageEClass.getESuperTypes().add(this.getGenBase()); 1442 genClassEClass.getESuperTypes().add(this.getGenClassifier()); 1443 genFeatureEClass.getESuperTypes().add(this.getGenTypedElement()); 1444 genEnumEClass.getESuperTypes().add(this.getGenDataType()); 1445 genEnumLiteralEClass.getESuperTypes().add(this.getGenBase()); 1446 genClassifierEClass.getESuperTypes().add(this.getGenBase()); 1447 genDataTypeEClass.getESuperTypes().add(this.getGenClassifier()); 1448 genOperationEClass.getESuperTypes().add(this.getGenTypedElement()); 1449 genParameterEClass.getESuperTypes().add(this.getGenTypedElement()); 1450 genTypedElementEClass.getESuperTypes().add(this.getGenBase()); 1451 1452 initEClass(genModelEClass, GenModel.class, "GenModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1454 initEAttribute(getGenModel_CopyrightText(), ecorePackage.getEString(), "copyrightText", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1455 initEAttribute(getGenModel_ModelDirectory(), ecorePackage.getEString(), "modelDirectory", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1456 initEAttribute(getGenModel_CreationCommands(), ecorePackage.getEBoolean(), "creationCommands", "true", 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1457 initEAttribute(getGenModel_CreationIcons(), ecorePackage.getEBoolean(), "creationIcons", "true", 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1458 initEAttribute(getGenModel_EditDirectory(), ecorePackage.getEString(), "editDirectory", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1459 initEAttribute(getGenModel_EditorDirectory(), ecorePackage.getEString(), "editorDirectory", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1460 initEAttribute(getGenModel_ModelPluginID(), ecorePackage.getEString(), "modelPluginID", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1461 initEAttribute(getGenModel_TemplateDirectory(), ecorePackage.getEString(), "templateDirectory", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1462 initEAttribute(getGenModel_RuntimeJar(), ecorePackage.getEBoolean(), "runtimeJar", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1463 initEAttribute(getGenModel_ForeignModel(), ecorePackage.getEString(), "foreignModel", null, 0, -1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1464 initEAttribute(getGenModel_DynamicTemplates(), ecorePackage.getEBoolean(), "dynamicTemplates", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1465 initEAttribute(getGenModel_Redirection(), ecorePackage.getEString(), "redirection", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1466 initEAttribute(getGenModel_ForceOverwrite(), ecorePackage.getEBoolean(), "forceOverwrite", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1467 initEAttribute(getGenModel_NonExternalizedStringTag(), ecorePackage.getEString(), "nonExternalizedStringTag", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1468 initEAttribute(getGenModel_ModelName(), ecorePackage.getEString(), "modelName", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1469 initEAttribute(getGenModel_ModelPluginClass(), ecorePackage.getEString(), "modelPluginClass", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1470 initEAttribute(getGenModel_EditPluginClass(), ecorePackage.getEString(), "editPluginClass", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1471 initEAttribute(getGenModel_EditorPluginClass(), ecorePackage.getEString(), "editorPluginClass", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1472 initEAttribute(getGenModel_UpdateClasspath(), ecorePackage.getEBoolean(), "updateClasspath", "true", 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1473 initEAttribute(getGenModel_GenerateSchema(), ecorePackage.getEBoolean(), "generateSchema", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1474 initEAttribute(getGenModel_NonNLSMarkers(), ecorePackage.getEBoolean(), "nonNLSMarkers", "false", 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1475 initEAttribute(getGenModel_StaticPackages(), ecorePackage.getEString(), "staticPackages", null, 0, -1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1476 initEAttribute(getGenModel_ModelPluginVariables(), ecorePackage.getEString(), "modelPluginVariables", null, 0, -1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1477 initEAttribute(getGenModel_RootExtendsInterface(), ecorePackage.getEString(), "rootExtendsInterface", "org.eclipse.emf.ecore.EObject", 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1478 initEAttribute(getGenModel_RootExtendsClass(), ecorePackage.getEString(), "rootExtendsClass", "org.eclipse.emf.ecore.impl.EObjectImpl", 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1479 initEAttribute(getGenModel_RootImplementsInterface(), ecorePackage.getEString(), "rootImplementsInterface", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1480 initEAttribute(getGenModel_SuppressEMFTypes(), ecorePackage.getEBoolean(), "suppressEMFTypes", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1481 initEAttribute(getGenModel_FeatureMapWrapperInterface(), ecorePackage.getEString(), "featureMapWrapperInterface", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1482 initEAttribute(getGenModel_FeatureMapWrapperInternalInterface(), ecorePackage.getEString(), "featureMapWrapperInternalInterface", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1483 initEAttribute(getGenModel_FeatureMapWrapperClass(), ecorePackage.getEString(), "featureMapWrapperClass", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1484 initEAttribute(getGenModel_RuntimeCompatibility(), ecorePackage.getEBoolean(), "runtimeCompatibility", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1485 initEAttribute(getGenModel_RichClientPlatform(), ecorePackage.getEBoolean(), "richClientPlatform", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1486 initEAttribute(getGenModel_ReflectiveDelegation(), ecorePackage.getEBoolean(), "reflectiveDelegation", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1487 initEAttribute(getGenModel_CodeFormatting(), ecorePackage.getEBoolean(), "codeFormatting", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1488 initEAttribute(getGenModel_TestsDirectory(), ecorePackage.getEString(), "testsDirectory", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1489 initEAttribute(getGenModel_TestSuiteClass(), ecorePackage.getEString(), "testSuiteClass", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1490 initEAttribute(getGenModel_BooleanFlagsField(), ecorePackage.getEString(), "booleanFlagsField", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1491 initEAttribute(getGenModel_BooleanFlagsReservedBits(), ecorePackage.getEInt(), "booleanFlagsReservedBits", "-1", 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1492 initEAttribute(getGenModel_ImporterID(), ecorePackage.getEString(), "importerID", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1493 initEAttribute(getGenModel_BundleManifest(), ecorePackage.getEBoolean(), "bundleManifest", "true", 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1494 initEReference(getGenModel_GenPackages(), this.getGenPackage(), this.getGenPackage_GenModel(), "genPackages", null, 0, -1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1495 initEReference(getGenModel_UsedGenPackages(), this.getGenPackage(), null, "usedGenPackages", null, 0, -1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1496 1497 initEClass(genPackageEClass, GenPackage.class, "GenPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1498 initEAttribute(getGenPackage_Prefix(), ecorePackage.getEString(), "prefix", null, 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1499 initEAttribute(getGenPackage_BasePackage(), ecorePackage.getEString(), "basePackage", null, 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1500 initEAttribute(getGenPackage_Resource(), this.getGenResourceKind(), "resource", null, 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1501 initEAttribute(getGenPackage_DisposableProviderFactory(), ecorePackage.getEBoolean(), "disposableProviderFactory", null, 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1502 initEAttribute(getGenPackage_AdapterFactory(), ecorePackage.getEBoolean(), "adapterFactory", "true", 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1503 initEAttribute(getGenPackage_LoadInitialization(), ecorePackage.getEBoolean(), "loadInitialization", null, 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1504 initEAttribute(getGenPackage_InterfacePackageSuffix(), ecorePackage.getEString(), "interfacePackageSuffix", "", 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1505 initEAttribute(getGenPackage_ClassPackageSuffix(), ecorePackage.getEString(), "classPackageSuffix", "impl", 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1506 initEAttribute(getGenPackage_UtilityPackageSuffix(), ecorePackage.getEString(), "utilityPackageSuffix", "util", 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1507 initEAttribute(getGenPackage_ProviderPackageSuffix(), ecorePackage.getEString(), "providerPackageSuffix", "provider", 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1508 initEAttribute(getGenPackage_PresentationPackageSuffix(), ecorePackage.getEString(), "presentationPackageSuffix", "presentation", 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1509 initEAttribute(getGenPackage_TestsPackageSuffix(), ecorePackage.getEString(), "testsPackageSuffix", "tests", 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1510 initEAttribute(getGenPackage_GenerateExampleClass(), ecorePackage.getEBoolean(), "generateExampleClass", "true", 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1511 initEReference(getGenPackage_EcorePackage(), theEcorePackage.getEPackage(), null, "ecorePackage", null, 1, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1512 initEReference(getGenPackage_GenModel(), this.getGenModel(), this.getGenModel_GenPackages(), "genModel", null, 1, 1, GenPackage.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1513 initEReference(getGenPackage_GenEnums(), this.getGenEnum(), null, "genEnums", null, 0, -1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1514 initEReference(getGenPackage_GenDataTypes(), this.getGenDataType(), null, "genDataTypes", null, 0, -1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1515 initEReference(getGenPackage_GenClasses(), this.getGenClass(), null, "genClasses", null, 0, -1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1516 initEReference(getGenPackage_NestedGenPackages(), this.getGenPackage(), null, "nestedGenPackages", null, 0, -1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1517 initEReference(getGenPackage_GenClassifiers(), this.getGenClassifier(), this.getGenClassifier_GenPackage(), "genClassifiers", null, 0, -1, GenPackage.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1518 1519 initEClass(genClassEClass, GenClass.class, "GenClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1520 initEAttribute(getGenClass_Provider(), this.getGenProviderKind(), "provider", null, 0, 1, GenClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1521 initEAttribute(getGenClass_Image(), ecorePackage.getEBoolean(), "image", "true", 0, 1, GenClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1522 initEReference(getGenClass_EcoreClass(), theEcorePackage.getEClass(), null, "ecoreClass", null, 1, 1, GenClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1523 initEReference(getGenClass_GenFeatures(), this.getGenFeature(), this.getGenFeature_GenClass(), "genFeatures", null, 0, -1, GenClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1524 initEReference(getGenClass_GenOperations(), this.getGenOperation(), this.getGenOperation_GenClass(), "genOperations", null, 0, -1, GenClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1525 initEReference(getGenClass_LabelFeature(), this.getGenFeature(), null, "labelFeature", null, 0, 1, GenClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1526 1527 initEClass(genFeatureEClass, GenFeature.class, "GenFeature", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1528 initEAttribute(getGenFeature_Property(), this.getGenPropertyKind(), "property", null, 0, 1, GenFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1529 initEAttribute(getGenFeature_Notify(), ecorePackage.getEBoolean(), "notify", "true", 0, 1, GenFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1530 initEAttribute(getGenFeature_Children(), ecorePackage.getEBoolean(), "children", null, 0, 1, GenFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1531 initEAttribute(getGenFeature_CreateChild(), ecorePackage.getEBoolean(), "createChild", null, 0, 1, GenFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1532 initEAttribute(getGenFeature_PropertyCategory(), ecorePackage.getEString(), "propertyCategory", null, 0, 1, GenFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1533 initEAttribute(getGenFeature_PropertyFilterFlags(), ecorePackage.getEString(), "propertyFilterFlags", null, 0, -1, GenFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1534 initEAttribute(getGenFeature_PropertyDescription(), ecorePackage.getEString(), "propertyDescription", null, 0, 1, GenFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1535 initEReference(getGenFeature_GenClass(), this.getGenClass(), this.getGenClass_GenFeatures(), "genClass", null, 1, 1, GenFeature.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1536 initEReference(getGenFeature_EcoreFeature(), theEcorePackage.getEStructuralFeature(), null, "ecoreFeature", null, 1, 1, GenFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1537 1538 initEClass(genBaseEClass, GenBase.class, "GenBase", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1539 1540 initEClass(genEnumEClass, GenEnum.class, "GenEnum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1541 initEReference(getGenEnum_EcoreEnum(), theEcorePackage.getEEnum(), null, "ecoreEnum", null, 1, 1, GenEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1542 initEReference(getGenEnum_GenEnumLiterals(), this.getGenEnumLiteral(), this.getGenEnumLiteral_GenEnum(), "genEnumLiterals", null, 0, -1, GenEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1543 1544 initEClass(genEnumLiteralEClass, GenEnumLiteral.class, "GenEnumLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1545 initEReference(getGenEnumLiteral_GenEnum(), this.getGenEnum(), this.getGenEnum_GenEnumLiterals(), "genEnum", null, 1, 1, GenEnumLiteral.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1546 initEReference(getGenEnumLiteral_EcoreEnumLiteral(), theEcorePackage.getEEnumLiteral(), null, "ecoreEnumLiteral", null, 1, 1, GenEnumLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1547 1548 initEClass(genClassifierEClass, GenClassifier.class, "GenClassifier", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1549 initEReference(getGenClassifier_GenPackage(), this.getGenPackage(), this.getGenPackage_GenClassifiers(), "genPackage", null, 1, 1, GenClassifier.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1550 1551 initEClass(genDataTypeEClass, GenDataType.class, "GenDataType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1552 initEReference(getGenDataType_EcoreDataType(), theEcorePackage.getEDataType(), null, "ecoreDataType", null, 1, 1, GenDataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1553 1554 initEClass(genOperationEClass, GenOperation.class, "GenOperation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1555 initEReference(getGenOperation_GenClass(), this.getGenClass(), this.getGenClass_GenOperations(), "genClass", null, 1, 1, GenOperation.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1556 initEReference(getGenOperation_EcoreOperation(), theEcorePackage.getEOperation(), null, "ecoreOperation", null, 1, 1, GenOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1557 initEReference(getGenOperation_GenParameters(), this.getGenParameter(), this.getGenParameter_GenOperation(), "genParameters", null, 0, -1, GenOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1558 1559 initEClass(genParameterEClass, GenParameter.class, "GenParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1560 initEReference(getGenParameter_GenOperation(), this.getGenOperation(), this.getGenOperation_GenParameters(), "genOperation", null, 1, 1, GenParameter.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1561 initEReference(getGenParameter_EcoreParameter(), theEcorePackage.getEParameter(), null, "ecoreParameter", null, 1, 1, GenParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1562 1563 initEClass(genTypedElementEClass, GenTypedElement.class, "GenTypedElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1564 1565 initEEnum(genProviderKindEEnum, GenProviderKind.class, "GenProviderKind"); 1567 addEEnumLiteral(genProviderKindEEnum, GenProviderKind.SINGLETON_LITERAL); 1568 addEEnumLiteral(genProviderKindEEnum, GenProviderKind.STATEFUL_LITERAL); 1569 addEEnumLiteral(genProviderKindEEnum, GenProviderKind.NONE_LITERAL); 1570 1571 initEEnum(genPropertyKindEEnum, GenPropertyKind.class, "GenPropertyKind"); 1572 addEEnumLiteral(genPropertyKindEEnum, GenPropertyKind.EDITABLE_LITERAL); 1573 addEEnumLiteral(genPropertyKindEEnum, GenPropertyKind.READONLY_LITERAL); 1574 addEEnumLiteral(genPropertyKindEEnum, GenPropertyKind.NONE_LITERAL); 1575 1576 initEEnum(genResourceKindEEnum, GenResourceKind.class, "GenResourceKind"); 1577 addEEnumLiteral(genResourceKindEEnum, GenResourceKind.NONE_LITERAL); 1578 addEEnumLiteral(genResourceKindEEnum, GenResourceKind.BASIC_LITERAL); 1579 addEEnumLiteral(genResourceKindEEnum, GenResourceKind.XMI_LITERAL); 1580 addEEnumLiteral(genResourceKindEEnum, GenResourceKind.XML_LITERAL); 1581 1582 createResource(eNS_URI); 1584 } 1585 1586} | Popular Tags |