1 17 package org.eclipse.emf.ecore.change.impl; 18 19 20 import java.util.Map ; 21 22 import org.eclipse.emf.ecore.EAttribute; 23 import org.eclipse.emf.ecore.EClass; 24 import org.eclipse.emf.ecore.EEnum; 25 import org.eclipse.emf.ecore.EOperation; 26 import org.eclipse.emf.ecore.EPackage; 27 import org.eclipse.emf.ecore.EReference; 28 import org.eclipse.emf.ecore.EcorePackage; 29 import org.eclipse.emf.ecore.change.ChangeDescription; 30 import org.eclipse.emf.ecore.change.ChangeFactory; 31 import org.eclipse.emf.ecore.change.ChangeKind; 32 import org.eclipse.emf.ecore.change.ChangePackage; 33 import org.eclipse.emf.ecore.change.FeatureChange; 34 import org.eclipse.emf.ecore.change.FeatureMapEntry; 35 import org.eclipse.emf.ecore.change.ListChange; 36 import org.eclipse.emf.ecore.change.ResourceChange; 37 import org.eclipse.emf.ecore.impl.EPackageImpl; 38 import org.eclipse.emf.ecore.impl.EcorePackageImpl; 39 40 41 47 public class ChangePackageImpl extends EPackageImpl implements ChangePackage 48 { 49 54 private EClass changeDescriptionEClass = null; 55 56 61 private EClass eObjectToChangesMapEntryEClass = null; 62 63 68 private EClass featureChangeEClass = null; 69 70 75 private EClass listChangeEClass = null; 76 77 82 private EClass resourceChangeEClass = null; 83 84 89 private EClass featureMapEntryEClass = null; 90 91 96 private EEnum changeKindEEnum = null; 97 98 113 private ChangePackageImpl() 114 { 115 super(eNS_URI, ChangeFactory.eINSTANCE); 116 } 117 118 123 private static boolean isInited = false; 124 125 147 public static ChangePackage init() 148 { 149 if (isInited) return (ChangePackage)EPackage.Registry.INSTANCE.getEPackage(ChangePackage.eNS_URI); 150 151 ChangePackageImpl theChangePackage = (ChangePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof ChangePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new ChangePackageImpl()); 153 154 isInited = true; 155 156 EcorePackageImpl.init(); 158 159 theChangePackage.createPackageContents(); 161 162 theChangePackage.initializePackageContents(); 164 165 theChangePackage.freeze(); 167 168 return theChangePackage; 169 } 170 171 176 public EClass getChangeDescription() 177 { 178 return changeDescriptionEClass; 179 } 180 181 186 public EReference getChangeDescription_ObjectChanges() 187 { 188 return (EReference)changeDescriptionEClass.getEStructuralFeatures().get(0); 189 } 190 191 196 public EReference getChangeDescription_ObjectsToDetach() 197 { 198 return (EReference)changeDescriptionEClass.getEStructuralFeatures().get(1); 199 } 200 201 206 public EReference getChangeDescription_ObjectsToAttach() 207 { 208 return (EReference)changeDescriptionEClass.getEStructuralFeatures().get(2); 209 } 210 211 216 public EReference getChangeDescription_ResourceChanges() 217 { 218 return (EReference)changeDescriptionEClass.getEStructuralFeatures().get(3); 219 } 220 221 226 public EClass getEObjectToChangesMapEntry() 227 { 228 return eObjectToChangesMapEntryEClass; 229 } 230 231 236 public EReference getEObjectToChangesMapEntry_Key() 237 { 238 return (EReference)eObjectToChangesMapEntryEClass.getEStructuralFeatures().get(0); 239 } 240 241 246 public EReference getEObjectToChangesMapEntry_Value() 247 { 248 return (EReference)eObjectToChangesMapEntryEClass.getEStructuralFeatures().get(1); 249 } 250 251 256 public EClass getFeatureChange() 257 { 258 return featureChangeEClass; 259 } 260 261 266 public EAttribute getFeatureChange_FeatureName() 267 { 268 return (EAttribute)featureChangeEClass.getEStructuralFeatures().get(0); 269 } 270 271 276 public EAttribute getFeatureChange_DataValue() 277 { 278 return (EAttribute)featureChangeEClass.getEStructuralFeatures().get(1); 279 } 280 281 286 public EAttribute getFeatureChange_Set() 287 { 288 return (EAttribute)featureChangeEClass.getEStructuralFeatures().get(2); 289 } 290 291 296 public EAttribute getFeatureChange_Value() 297 { 298 return (EAttribute)featureChangeEClass.getEStructuralFeatures().get(3); 299 } 300 301 306 public EReference getFeatureChange_Feature() 307 { 308 return (EReference)featureChangeEClass.getEStructuralFeatures().get(4); 309 } 310 311 316 public EReference getFeatureChange_ReferenceValue() 317 { 318 return (EReference)featureChangeEClass.getEStructuralFeatures().get(5); 319 } 320 321 326 public EReference getFeatureChange_ListChanges() 327 { 328 return (EReference)featureChangeEClass.getEStructuralFeatures().get(6); 329 } 330 331 336 public EClass getListChange() 337 { 338 return listChangeEClass; 339 } 340 341 346 public EAttribute getListChange_Kind() 347 { 348 return (EAttribute)listChangeEClass.getEStructuralFeatures().get(0); 349 } 350 351 356 public EAttribute getListChange_DataValues() 357 { 358 return (EAttribute)listChangeEClass.getEStructuralFeatures().get(1); 359 } 360 361 366 public EAttribute getListChange_Index() 367 { 368 return (EAttribute)listChangeEClass.getEStructuralFeatures().get(2); 369 } 370 371 376 public EAttribute getListChange_MoveToIndex() 377 { 378 return (EAttribute)listChangeEClass.getEStructuralFeatures().get(3); 379 } 380 381 386 public EAttribute getListChange_Values() 387 { 388 return (EAttribute)listChangeEClass.getEStructuralFeatures().get(4); 389 } 390 391 396 public EReference getListChange_ReferenceValues() 397 { 398 return (EReference)listChangeEClass.getEStructuralFeatures().get(5); 399 } 400 401 406 public EReference getListChange_Feature() 407 { 408 return (EReference)listChangeEClass.getEStructuralFeatures().get(6); 409 } 410 411 416 public EReference getListChange_FeatureMapEntryValues() 417 { 418 return (EReference)listChangeEClass.getEStructuralFeatures().get(7); 419 } 420 421 426 public EClass getResourceChange() 427 { 428 return resourceChangeEClass; 429 } 430 431 436 public EAttribute getResourceChange_ResourceURI() 437 { 438 return (EAttribute)resourceChangeEClass.getEStructuralFeatures().get(0); 439 } 440 441 446 public EAttribute getResourceChange_Resource() 447 { 448 return (EAttribute)resourceChangeEClass.getEStructuralFeatures().get(1); 449 } 450 451 456 public EAttribute getResourceChange_Value() 457 { 458 return (EAttribute)resourceChangeEClass.getEStructuralFeatures().get(2); 459 } 460 461 466 public EReference getResourceChange_ListChanges() 467 { 468 return (EReference)resourceChangeEClass.getEStructuralFeatures().get(3); 469 } 470 471 476 public EClass getFeatureMapEntry() 477 { 478 return featureMapEntryEClass; 479 } 480 481 486 public EAttribute getFeatureMapEntry_FeatureName() 487 { 488 return (EAttribute)featureMapEntryEClass.getEStructuralFeatures().get(0); 489 } 490 491 496 public EAttribute getFeatureMapEntry_DataValue() 497 { 498 return (EAttribute)featureMapEntryEClass.getEStructuralFeatures().get(1); 499 } 500 501 506 public EAttribute getFeatureMapEntry_Value() 507 { 508 return (EAttribute)featureMapEntryEClass.getEStructuralFeatures().get(2); 509 } 510 511 516 public EReference getFeatureMapEntry_Feature() 517 { 518 return (EReference)featureMapEntryEClass.getEStructuralFeatures().get(3); 519 } 520 521 526 public EReference getFeatureMapEntry_ReferenceValue() 527 { 528 return (EReference)featureMapEntryEClass.getEStructuralFeatures().get(4); 529 } 530 531 536 public EEnum getChangeKind() 537 { 538 return changeKindEEnum; 539 } 540 541 546 public ChangeFactory getChangeFactory() 547 { 548 return (ChangeFactory)getEFactoryInstance(); 549 } 550 551 556 private boolean isCreated = false; 557 558 565 public void createPackageContents() 566 { 567 if (isCreated) return; 568 isCreated = true; 569 570 changeDescriptionEClass = createEClass(CHANGE_DESCRIPTION); 572 createEReference(changeDescriptionEClass, CHANGE_DESCRIPTION__OBJECT_CHANGES); 573 createEReference(changeDescriptionEClass, CHANGE_DESCRIPTION__OBJECTS_TO_DETACH); 574 createEReference(changeDescriptionEClass, CHANGE_DESCRIPTION__OBJECTS_TO_ATTACH); 575 createEReference(changeDescriptionEClass, CHANGE_DESCRIPTION__RESOURCE_CHANGES); 576 577 eObjectToChangesMapEntryEClass = createEClass(EOBJECT_TO_CHANGES_MAP_ENTRY); 578 createEReference(eObjectToChangesMapEntryEClass, EOBJECT_TO_CHANGES_MAP_ENTRY__KEY); 579 createEReference(eObjectToChangesMapEntryEClass, EOBJECT_TO_CHANGES_MAP_ENTRY__VALUE); 580 581 featureChangeEClass = createEClass(FEATURE_CHANGE); 582 createEAttribute(featureChangeEClass, FEATURE_CHANGE__FEATURE_NAME); 583 createEAttribute(featureChangeEClass, FEATURE_CHANGE__DATA_VALUE); 584 createEAttribute(featureChangeEClass, FEATURE_CHANGE__SET); 585 createEAttribute(featureChangeEClass, FEATURE_CHANGE__VALUE); 586 createEReference(featureChangeEClass, FEATURE_CHANGE__FEATURE); 587 createEReference(featureChangeEClass, FEATURE_CHANGE__REFERENCE_VALUE); 588 createEReference(featureChangeEClass, FEATURE_CHANGE__LIST_CHANGES); 589 590 listChangeEClass = createEClass(LIST_CHANGE); 591 createEAttribute(listChangeEClass, LIST_CHANGE__KIND); 592 createEAttribute(listChangeEClass, LIST_CHANGE__DATA_VALUES); 593 createEAttribute(listChangeEClass, LIST_CHANGE__INDEX); 594 createEAttribute(listChangeEClass, LIST_CHANGE__MOVE_TO_INDEX); 595 createEAttribute(listChangeEClass, LIST_CHANGE__VALUES); 596 createEReference(listChangeEClass, LIST_CHANGE__REFERENCE_VALUES); 597 createEReference(listChangeEClass, LIST_CHANGE__FEATURE); 598 createEReference(listChangeEClass, LIST_CHANGE__FEATURE_MAP_ENTRY_VALUES); 599 600 resourceChangeEClass = createEClass(RESOURCE_CHANGE); 601 createEAttribute(resourceChangeEClass, RESOURCE_CHANGE__RESOURCE_URI); 602 createEAttribute(resourceChangeEClass, RESOURCE_CHANGE__RESOURCE); 603 createEAttribute(resourceChangeEClass, RESOURCE_CHANGE__VALUE); 604 createEReference(resourceChangeEClass, RESOURCE_CHANGE__LIST_CHANGES); 605 606 featureMapEntryEClass = createEClass(FEATURE_MAP_ENTRY); 607 createEAttribute(featureMapEntryEClass, FEATURE_MAP_ENTRY__FEATURE_NAME); 608 createEAttribute(featureMapEntryEClass, FEATURE_MAP_ENTRY__DATA_VALUE); 609 createEAttribute(featureMapEntryEClass, FEATURE_MAP_ENTRY__VALUE); 610 createEReference(featureMapEntryEClass, FEATURE_MAP_ENTRY__FEATURE); 611 createEReference(featureMapEntryEClass, FEATURE_MAP_ENTRY__REFERENCE_VALUE); 612 613 changeKindEEnum = createEEnum(CHANGE_KIND); 615 } 616 617 622 private boolean isInitialized = false; 623 624 631 public void initializePackageContents() 632 { 633 if (isInitialized) return; 634 isInitialized = true; 635 636 setName(eNAME); 638 setNsPrefix(eNS_PREFIX); 639 setNsURI(eNS_URI); 640 641 EcorePackageImpl theEcorePackage = (EcorePackageImpl)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); 643 644 646 initEClass(changeDescriptionEClass, ChangeDescription.class, "ChangeDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 648 initEReference(getChangeDescription_ObjectChanges(), this.getEObjectToChangesMapEntry(), null, "objectChanges", null, 0, -1, ChangeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 649 initEReference(getChangeDescription_ObjectsToDetach(), theEcorePackage.getEObject(), null, "objectsToDetach", null, 0, -1, ChangeDescription.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); 650 initEReference(getChangeDescription_ObjectsToAttach(), theEcorePackage.getEObject(), null, "objectsToAttach", null, 0, -1, ChangeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 651 initEReference(getChangeDescription_ResourceChanges(), this.getResourceChange(), null, "resourceChanges", null, 0, -1, ChangeDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 652 653 addEOperation(changeDescriptionEClass, null, "apply"); 654 655 addEOperation(changeDescriptionEClass, null, "applyAndReverse"); 656 657 initEClass(eObjectToChangesMapEntryEClass, Map.Entry .class, "EObjectToChangesMapEntry", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); 658 initEReference(getEObjectToChangesMapEntry_Key(), theEcorePackage.getEObject(), null, "key", null, 1, 1, Map.Entry .class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 659 initEReference(getEObjectToChangesMapEntry_Value(), this.getFeatureChange(), null, "value", null, 0, -1, Map.Entry .class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 660 661 initEClass(featureChangeEClass, FeatureChange.class, "FeatureChange", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 662 initEAttribute(getFeatureChange_FeatureName(), ecorePackage.getEString(), "featureName", null, 0, 1, FeatureChange.class, !IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 663 initEAttribute(getFeatureChange_DataValue(), ecorePackage.getEString(), "dataValue", null, 0, 1, FeatureChange.class, !IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 664 initEAttribute(getFeatureChange_Set(), ecorePackage.getEBoolean(), "set", "true", 0, 1, FeatureChange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 665 initEAttribute(getFeatureChange_Value(), theEcorePackage.getEJavaObject(), "value", null, 0, 1, FeatureChange.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED); 666 initEReference(getFeatureChange_Feature(), theEcorePackage.getEStructuralFeature(), null, "feature", null, 1, 1, FeatureChange.class, !IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 667 initEReference(getFeatureChange_ReferenceValue(), theEcorePackage.getEObject(), null, "referenceValue", null, 0, 1, FeatureChange.class, !IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 668 initEReference(getFeatureChange_ListChanges(), this.getListChange(), null, "listChanges", null, 0, -1, FeatureChange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 669 670 EOperation op = addEOperation(featureChangeEClass, null, "apply"); 671 addEParameter(op, theEcorePackage.getEObject(), "originalObject"); 672 673 op = addEOperation(featureChangeEClass, null, "applyAndReverse"); 674 addEParameter(op, theEcorePackage.getEObject(), "originalObject"); 675 676 initEClass(listChangeEClass, ListChange.class, "ListChange", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 677 initEAttribute(getListChange_Kind(), this.getChangeKind(), "kind", null, 0, 1, ListChange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 678 initEAttribute(getListChange_DataValues(), ecorePackage.getEString(), "dataValues", null, 0, -1, ListChange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 679 initEAttribute(getListChange_Index(), ecorePackage.getEInt(), "index", "-1", 0, 1, ListChange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 680 initEAttribute(getListChange_MoveToIndex(), ecorePackage.getEInt(), "moveToIndex", null, 0, 1, ListChange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 681 initEAttribute(getListChange_Values(), theEcorePackage.getEJavaObject(), "values", null, 0, -1, ListChange.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED); 682 initEReference(getListChange_ReferenceValues(), theEcorePackage.getEObject(), null, "referenceValues", null, 0, -1, ListChange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 683 initEReference(getListChange_Feature(), theEcorePackage.getEStructuralFeature(), null, "feature", null, 0, 1, ListChange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 684 initEReference(getListChange_FeatureMapEntryValues(), this.getFeatureMapEntry(), null, "featureMapEntryValues", null, 0, -1, ListChange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 685 686 op = addEOperation(listChangeEClass, null, "apply"); 687 addEParameter(op, theEcorePackage.getEEList(), "originalList"); 688 689 op = addEOperation(listChangeEClass, null, "applyAndReverse"); 690 addEParameter(op, theEcorePackage.getEEList(), "originalList"); 691 692 initEClass(resourceChangeEClass, ResourceChange.class, "ResourceChange", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 693 initEAttribute(getResourceChange_ResourceURI(), ecorePackage.getEString(), "resourceURI", null, 0, 1, ResourceChange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 694 initEAttribute(getResourceChange_Resource(), theEcorePackage.getEResource(), "resource", null, 0, 1, ResourceChange.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED); 695 initEAttribute(getResourceChange_Value(), theEcorePackage.getEEList(), "value", null, 0, 1, ResourceChange.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED); 696 initEReference(getResourceChange_ListChanges(), this.getListChange(), null, "listChanges", null, 0, -1, ResourceChange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 697 698 addEOperation(resourceChangeEClass, null, "apply"); 699 700 addEOperation(resourceChangeEClass, null, "applyAndReverse"); 701 702 initEClass(featureMapEntryEClass, FeatureMapEntry.class, "FeatureMapEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 703 initEAttribute(getFeatureMapEntry_FeatureName(), ecorePackage.getEString(), "featureName", null, 0, 1, FeatureMapEntry.class, !IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 704 initEAttribute(getFeatureMapEntry_DataValue(), ecorePackage.getEString(), "dataValue", null, 0, 1, FeatureMapEntry.class, !IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 705 initEAttribute(getFeatureMapEntry_Value(), theEcorePackage.getEJavaObject(), "value", null, 0, 1, FeatureMapEntry.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED); 706 initEReference(getFeatureMapEntry_Feature(), theEcorePackage.getEStructuralFeature(), null, "feature", null, 1, 1, FeatureMapEntry.class, !IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 707 initEReference(getFeatureMapEntry_ReferenceValue(), theEcorePackage.getEObject(), null, "referenceValue", null, 0, 1, FeatureMapEntry.class, !IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 708 709 initEEnum(changeKindEEnum, ChangeKind.class, "ChangeKind"); 711 addEEnumLiteral(changeKindEEnum, ChangeKind.ADD_LITERAL); 712 addEEnumLiteral(changeKindEEnum, ChangeKind.REMOVE_LITERAL); 713 addEEnumLiteral(changeKindEEnum, ChangeKind.MOVE_LITERAL); 714 715 createResource(eNS_URI); 717 } 718 719 } | Popular Tags |