1 17 package org.eclipse.emf.ecore.sdo.impl; 18 19 20 import java.io.ObjectStreamException ; 21 import java.util.List ; 22 23 import org.eclipse.emf.ecore.EAttribute; 24 import org.eclipse.emf.ecore.EClass; 25 import org.eclipse.emf.ecore.EDataType; 26 import org.eclipse.emf.ecore.EOperation; 27 import org.eclipse.emf.ecore.EPackage; 28 import org.eclipse.emf.ecore.EReference; 29 import org.eclipse.emf.ecore.EcorePackage; 30 import org.eclipse.emf.ecore.change.ChangePackage; 31 import org.eclipse.emf.ecore.change.impl.ChangePackageImpl; 32 import org.eclipse.emf.ecore.impl.EPackageImpl; 33 import org.eclipse.emf.ecore.impl.EcorePackageImpl; 34 import org.eclipse.emf.ecore.sdo.EChangeSummary; 35 import org.eclipse.emf.ecore.sdo.EChangeSummarySetting; 36 import org.eclipse.emf.ecore.sdo.EDataGraph; 37 import org.eclipse.emf.ecore.sdo.EDataObject; 38 import org.eclipse.emf.ecore.sdo.EDataObjectAnyType; 39 import org.eclipse.emf.ecore.sdo.EDataObjectSimpleAnyType; 40 import org.eclipse.emf.ecore.sdo.EProperty; 41 import org.eclipse.emf.ecore.sdo.EType; 42 import org.eclipse.emf.ecore.sdo.InternalEDataObject; 43 import org.eclipse.emf.ecore.sdo.SDOFactory; 44 import org.eclipse.emf.ecore.sdo.SDOPackage; 45 import org.eclipse.emf.ecore.sdo.util.ESequence; 46 47 import org.eclipse.emf.ecore.xml.type.XMLTypePackage; 48 49 import org.eclipse.emf.ecore.xml.type.impl.XMLTypePackageImpl; 50 51 import commonj.sdo.ChangeSummary; 52 import commonj.sdo.DataGraph; 53 import commonj.sdo.DataObject; 54 import commonj.sdo.Property; 55 import commonj.sdo.Sequence; 56 import commonj.sdo.Type; 57 58 59 65 public class SDOPackageImpl extends EPackageImpl implements SDOPackage 66 { 67 72 private EClass eDataObjectEClass = null; 73 74 79 private EClass eDataGraphEClass = null; 80 81 86 private EClass eChangeSummaryEClass = null; 87 88 93 private EClass ePropertyEClass = null; 94 95 100 private EClass dataObjectEClass = null; 101 102 107 private EClass eSequenceEClass = null; 108 109 114 private EClass dataGraphEClass = null; 115 116 121 private EClass changeSummaryEClass = null; 122 123 128 private EClass eTypeEClass = null; 129 130 135 private EClass typeEClass = null; 136 137 142 private EClass propertyEClass = null; 143 144 149 private EClass sequenceEClass = null; 150 151 156 private EClass eChangeSummarySettingEClass = null; 157 158 163 private EClass internalEDataObjectEClass = null; 164 165 170 private EClass eDataObjectAnyTypeEClass = null; 171 172 177 private EClass eDataObjectSimpleAnyTypeEClass = null; 178 179 184 private EClass changeSummarySettingEClass = null; 185 186 191 private EDataType eJavaListEDataType = null; 192 193 198 private EDataType eObjectStreamExceptionEDataType = null; 199 200 215 private SDOPackageImpl() 216 { 217 super(eNS_URI, SDOFactory.eINSTANCE); 218 } 219 220 225 private static boolean isInited = false; 226 227 249 public static SDOPackage init() 250 { 251 if (isInited) return (SDOPackage)EPackage.Registry.INSTANCE.getEPackage(SDOPackage.eNS_URI); 252 253 SDOPackageImpl theSDOPackage = (SDOPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof SDOPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new SDOPackageImpl()); 255 256 isInited = true; 257 258 EcorePackageImpl.init(); 260 XMLTypePackageImpl.init(); 261 ChangePackageImpl.init(); 262 263 theSDOPackage.createPackageContents(); 265 266 theSDOPackage.initializePackageContents(); 268 269 theSDOPackage.freeze(); 271 272 return theSDOPackage; 273 } 274 275 280 public EClass getEDataObject() 281 { 282 return eDataObjectEClass; 283 } 284 285 290 public EClass getEDataGraph() 291 { 292 return eDataGraphEClass; 293 } 294 295 300 public EAttribute getEDataGraph_ResourceSet() 301 { 302 return (EAttribute)eDataGraphEClass.getEStructuralFeatures().get(0); 303 } 304 305 310 public EAttribute getEDataGraph_RootResource() 311 { 312 return (EAttribute)eDataGraphEClass.getEStructuralFeatures().get(1); 313 } 314 315 320 public EReference getEDataGraph_EChangeSummary() 321 { 322 return (EReference)eDataGraphEClass.getEStructuralFeatures().get(2); 323 } 324 325 330 public EReference getEDataGraph_ERootObject() 331 { 332 return (EReference)eDataGraphEClass.getEStructuralFeatures().get(3); 333 } 334 335 340 public EClass getEChangeSummary() 341 { 342 return eChangeSummaryEClass; 343 } 344 345 350 public EReference getEChangeSummary_EDataGraph() 351 { 352 return (EReference)eChangeSummaryEClass.getEStructuralFeatures().get(0); 353 } 354 355 360 public EClass getEProperty() 361 { 362 return ePropertyEClass; 363 } 364 365 370 public EReference getEProperty_EStructuralFeature() 371 { 372 return (EReference)ePropertyEClass.getEStructuralFeatures().get(0); 373 } 374 375 380 public EClass getDataObject() 381 { 382 return dataObjectEClass; 383 } 384 385 390 public EClass getESequence() 391 { 392 return eSequenceEClass; 393 } 394 395 400 public EClass getDataGraph() 401 { 402 return dataGraphEClass; 403 } 404 405 410 public EReference getDataGraph_RootObject() 411 { 412 return (EReference)dataGraphEClass.getEStructuralFeatures().get(0); 413 } 414 415 420 public EReference getDataGraph_ChangeSummary() 421 { 422 return (EReference)dataGraphEClass.getEStructuralFeatures().get(1); 423 } 424 425 430 public EClass getChangeSummary() 431 { 432 return changeSummaryEClass; 433 } 434 435 440 public EAttribute getChangeSummary_Logging() 441 { 442 return (EAttribute)changeSummaryEClass.getEStructuralFeatures().get(0); 443 } 444 445 450 public EReference getChangeSummary_DataGraph() 451 { 452 return (EReference)changeSummaryEClass.getEStructuralFeatures().get(1); 453 } 454 455 460 public EReference getChangeSummary_ChangedDataObjects() 461 { 462 return (EReference)changeSummaryEClass.getEStructuralFeatures().get(2); 463 } 464 465 470 public EClass getEType() 471 { 472 return eTypeEClass; 473 } 474 475 480 public EReference getEType_EClassifier() 481 { 482 return (EReference)eTypeEClass.getEStructuralFeatures().get(0); 483 } 484 485 490 public EClass getType() 491 { 492 return typeEClass; 493 } 494 495 500 public EAttribute getType_Name() 501 { 502 return (EAttribute)typeEClass.getEStructuralFeatures().get(0); 503 } 504 505 510 public EAttribute getType_URI() 511 { 512 return (EAttribute)typeEClass.getEStructuralFeatures().get(1); 513 } 514 515 520 public EAttribute getType_InstanceClass() 521 { 522 return (EAttribute)typeEClass.getEStructuralFeatures().get(2); 523 } 524 525 530 public EReference getType_Properties() 531 { 532 return (EReference)typeEClass.getEStructuralFeatures().get(3); 533 } 534 535 540 public EClass getProperty() 541 { 542 return propertyEClass; 543 } 544 545 550 public EAttribute getProperty_Name() 551 { 552 return (EAttribute)propertyEClass.getEStructuralFeatures().get(0); 553 } 554 555 560 public EAttribute getProperty_Many() 561 { 562 return (EAttribute)propertyEClass.getEStructuralFeatures().get(1); 563 } 564 565 570 public EAttribute getProperty_Containment() 571 { 572 return (EAttribute)propertyEClass.getEStructuralFeatures().get(2); 573 } 574 575 580 public EAttribute getProperty_Default() 581 { 582 return (EAttribute)propertyEClass.getEStructuralFeatures().get(3); 583 } 584 585 590 public EReference getProperty_Type() 591 { 592 return (EReference)propertyEClass.getEStructuralFeatures().get(4); 593 } 594 595 600 public EReference getProperty_ContainingType() 601 { 602 return (EReference)propertyEClass.getEStructuralFeatures().get(5); 603 } 604 605 610 public EClass getSequence() 611 { 612 return sequenceEClass; 613 } 614 615 620 public EClass getEChangeSummarySetting() 621 { 622 return eChangeSummarySettingEClass; 623 } 624 625 630 public EClass getInternalEDataObject() 631 { 632 return internalEDataObjectEClass; 633 } 634 635 640 public EClass getEDataObjectAnyType() 641 { 642 return eDataObjectAnyTypeEClass; 643 } 644 645 650 public EClass getEDataObjectSimpleAnyType() 651 { 652 return eDataObjectSimpleAnyTypeEClass; 653 } 654 655 660 public EClass getChangeSummarySetting() 661 { 662 return changeSummarySettingEClass; 663 } 664 665 670 public EReference getChangeSummarySetting_Property() 671 { 672 return (EReference)changeSummarySettingEClass.getEStructuralFeatures().get(0); 673 } 674 675 680 public EDataType getEJavaList() 681 { 682 return eJavaListEDataType; 683 } 684 685 690 public EDataType getEObjectStreamException() 691 { 692 return eObjectStreamExceptionEDataType; 693 } 694 695 700 public SDOFactory getSDOFactory() 701 { 702 return (SDOFactory)getEFactoryInstance(); 703 } 704 705 710 private boolean isCreated = false; 711 712 719 public void createPackageContents() 720 { 721 if (isCreated) return; 722 isCreated = true; 723 724 eChangeSummaryEClass = createEClass(ECHANGE_SUMMARY); 726 createEReference(eChangeSummaryEClass, ECHANGE_SUMMARY__EDATA_GRAPH); 727 728 eChangeSummarySettingEClass = createEClass(ECHANGE_SUMMARY_SETTING); 729 730 eDataGraphEClass = createEClass(EDATA_GRAPH); 731 createEAttribute(eDataGraphEClass, EDATA_GRAPH__RESOURCE_SET); 732 createEAttribute(eDataGraphEClass, EDATA_GRAPH__ROOT_RESOURCE); 733 createEReference(eDataGraphEClass, EDATA_GRAPH__ECHANGE_SUMMARY); 734 createEReference(eDataGraphEClass, EDATA_GRAPH__EROOT_OBJECT); 735 736 eDataObjectEClass = createEClass(EDATA_OBJECT); 737 738 ePropertyEClass = createEClass(EPROPERTY); 739 createEReference(ePropertyEClass, EPROPERTY__ESTRUCTURAL_FEATURE); 740 741 changeSummaryEClass = createEClass(CHANGE_SUMMARY); 742 createEAttribute(changeSummaryEClass, CHANGE_SUMMARY__LOGGING); 743 createEReference(changeSummaryEClass, CHANGE_SUMMARY__DATA_GRAPH); 744 createEReference(changeSummaryEClass, CHANGE_SUMMARY__CHANGED_DATA_OBJECTS); 745 746 changeSummarySettingEClass = createEClass(CHANGE_SUMMARY_SETTING); 747 createEReference(changeSummarySettingEClass, CHANGE_SUMMARY_SETTING__PROPERTY); 748 749 dataGraphEClass = createEClass(DATA_GRAPH); 750 createEReference(dataGraphEClass, DATA_GRAPH__ROOT_OBJECT); 751 createEReference(dataGraphEClass, DATA_GRAPH__CHANGE_SUMMARY); 752 753 dataObjectEClass = createEClass(DATA_OBJECT); 754 755 eSequenceEClass = createEClass(ESEQUENCE); 756 757 eTypeEClass = createEClass(ETYPE); 758 createEReference(eTypeEClass, ETYPE__ECLASSIFIER); 759 760 propertyEClass = createEClass(PROPERTY); 761 createEAttribute(propertyEClass, PROPERTY__NAME); 762 createEAttribute(propertyEClass, PROPERTY__MANY); 763 createEAttribute(propertyEClass, PROPERTY__CONTAINMENT); 764 createEAttribute(propertyEClass, PROPERTY__DEFAULT); 765 createEReference(propertyEClass, PROPERTY__TYPE); 766 createEReference(propertyEClass, PROPERTY__CONTAINING_TYPE); 767 768 sequenceEClass = createEClass(SEQUENCE); 769 770 typeEClass = createEClass(TYPE); 771 createEAttribute(typeEClass, TYPE__NAME); 772 createEAttribute(typeEClass, TYPE__URI); 773 createEAttribute(typeEClass, TYPE__INSTANCE_CLASS); 774 createEReference(typeEClass, TYPE__PROPERTIES); 775 776 internalEDataObjectEClass = createEClass(INTERNAL_EDATA_OBJECT); 777 778 eDataObjectAnyTypeEClass = createEClass(EDATA_OBJECT_ANY_TYPE); 779 780 eDataObjectSimpleAnyTypeEClass = createEClass(EDATA_OBJECT_SIMPLE_ANY_TYPE); 781 782 eJavaListEDataType = createEDataType(EJAVA_LIST); 784 eObjectStreamExceptionEDataType = createEDataType(EOBJECT_STREAM_EXCEPTION); 785 } 786 787 792 private boolean isInitialized = false; 793 794 801 public void initializePackageContents() 802 { 803 if (isInitialized) return; 804 isInitialized = true; 805 806 setName(eNAME); 808 setNsPrefix(eNS_PREFIX); 809 setNsURI(eNS_URI); 810 811 ChangePackageImpl theChangePackage = (ChangePackageImpl)EPackage.Registry.INSTANCE.getEPackage(ChangePackage.eNS_URI); 813 EcorePackageImpl theEcorePackage = (EcorePackageImpl)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); 814 XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); 815 816 eChangeSummaryEClass.getESuperTypes().add(theChangePackage.getChangeDescription()); 818 eChangeSummaryEClass.getESuperTypes().add(this.getChangeSummary()); 819 eChangeSummarySettingEClass.getESuperTypes().add(theChangePackage.getFeatureChange()); 820 eChangeSummarySettingEClass.getESuperTypes().add(this.getChangeSummarySetting()); 821 eDataGraphEClass.getESuperTypes().add(this.getDataGraph()); 822 eDataObjectEClass.getESuperTypes().add(theEcorePackage.getEObject()); 823 eDataObjectEClass.getESuperTypes().add(this.getDataObject()); 824 ePropertyEClass.getESuperTypes().add(this.getProperty()); 825 eSequenceEClass.getESuperTypes().add(this.getSequence()); 826 eTypeEClass.getESuperTypes().add(this.getType()); 827 internalEDataObjectEClass.getESuperTypes().add(this.getEDataObject()); 828 eDataObjectAnyTypeEClass.getESuperTypes().add(theXMLTypePackage.getAnyType()); 829 eDataObjectAnyTypeEClass.getESuperTypes().add(this.getEDataObject()); 830 eDataObjectSimpleAnyTypeEClass.getESuperTypes().add(theXMLTypePackage.getSimpleAnyType()); 831 eDataObjectSimpleAnyTypeEClass.getESuperTypes().add(this.getEDataObjectAnyType()); 832 833 initEClass(eChangeSummaryEClass, EChangeSummary.class, "EChangeSummary", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 835 initEReference(getEChangeSummary_EDataGraph(), this.getEDataGraph(), this.getEDataGraph_EChangeSummary(), "eDataGraph", null, 1, 1, EChangeSummary.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 836 837 addEOperation(eChangeSummaryEClass, null, "summarize"); 838 839 addEOperation(eChangeSummaryEClass, null, "resumeLogging"); 840 841 initEClass(eChangeSummarySettingEClass, EChangeSummarySetting.class, "EChangeSummarySetting", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 842 843 initEClass(eDataGraphEClass, EDataGraph.class, "EDataGraph", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 844 initEAttribute(getEDataGraph_ResourceSet(), theEcorePackage.getEResourceSet(), "resourceSet", null, 0, 1, EDataGraph.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 845 initEAttribute(getEDataGraph_RootResource(), theEcorePackage.getEResource(), "rootResource", null, 0, 1, EDataGraph.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 846 initEReference(getEDataGraph_EChangeSummary(), this.getEChangeSummary(), this.getEChangeSummary_EDataGraph(), "eChangeSummary", null, 1, 1, EDataGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 847 initEReference(getEDataGraph_ERootObject(), theEcorePackage.getEObject(), null, "eRootObject", null, 1, 1, EDataGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 848 849 EOperation op = addEOperation(eDataGraphEClass, theEcorePackage.getEClassifier(), "getEClassifier"); 850 addEParameter(op, ecorePackage.getEString(), "namespaceURI"); 851 addEParameter(op, ecorePackage.getEString(), "typeName"); 852 853 op = addEOperation(eDataGraphEClass, theEcorePackage.getEObject(), "createEObject"); 854 addEParameter(op, theEcorePackage.getEClass(), "type"); 855 856 initEClass(eDataObjectEClass, EDataObject.class, "EDataObject", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 857 858 addEOperation(eDataObjectEClass, this.getEJavaList(), "getInstanceProperties"); 859 860 initEClass(ePropertyEClass, EProperty.class, "EProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 861 initEReference(getEProperty_EStructuralFeature(), theEcorePackage.getEStructuralFeature(), null, "eStructuralFeature", null, 1, 1, EProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 862 863 initEClass(changeSummaryEClass, ChangeSummary.class, "ChangeSummary", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); 864 initEAttribute(getChangeSummary_Logging(), ecorePackage.getEBoolean(), "logging", null, 0, 1, ChangeSummary.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 865 initEReference(getChangeSummary_DataGraph(), this.getDataGraph(), this.getDataGraph_ChangeSummary(), "dataGraph", null, 1, 1, ChangeSummary.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 866 initEReference(getChangeSummary_ChangedDataObjects(), this.getDataObject(), null, "changedDataObjects", null, 0, -1, ChangeSummary.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 867 868 addEOperation(changeSummaryEClass, null, "beginLogging"); 869 870 addEOperation(changeSummaryEClass, null, "endLogging"); 871 872 op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isCreated"); 873 addEParameter(op, this.getDataObject(), "dataObject"); 874 875 op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isDeleted"); 876 addEParameter(op, this.getDataObject(), "dataObject"); 877 878 op = addEOperation(changeSummaryEClass, this.getEJavaList(), "getOldValues"); 879 addEParameter(op, this.getDataObject(), "dataObject"); 880 881 initEClass(changeSummarySettingEClass, ChangeSummary.Setting.class, "ChangeSummarySetting", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); 882 initEReference(getChangeSummarySetting_Property(), this.getProperty(), null, "property", null, 1, 1, ChangeSummary.Setting.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 883 884 addEOperation(changeSummarySettingEClass, ecorePackage.getEBoolean(), "isSet"); 885 886 addEOperation(changeSummarySettingEClass, theEcorePackage.getEJavaObject(), "getValue"); 887 888 initEClass(dataGraphEClass, DataGraph.class, "DataGraph", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); 889 initEReference(getDataGraph_RootObject(), this.getDataObject(), null, "rootObject", null, 1, 1, DataGraph.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 890 initEReference(getDataGraph_ChangeSummary(), this.getChangeSummary(), this.getChangeSummary_DataGraph(), "changeSummary", null, 1, 1, DataGraph.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 891 892 op = addEOperation(dataGraphEClass, this.getDataObject(), "createRootObject"); 893 addEParameter(op, ecorePackage.getEString(), "namespaceURI"); 894 addEParameter(op, ecorePackage.getEString(), "typeName"); 895 896 op = addEOperation(dataGraphEClass, this.getDataObject(), "createRootObject"); 897 addEParameter(op, this.getType(), "type"); 898 899 op = addEOperation(dataGraphEClass, this.getType(), "getType"); 900 addEParameter(op, ecorePackage.getEString(), "namespaceURI"); 901 addEParameter(op, ecorePackage.getEString(), "typeName"); 902 903 initEClass(dataObjectEClass, DataObject.class, "DataObject", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); 904 905 op = addEOperation(dataObjectEClass, theEcorePackage.getEJavaObject(), "get"); 906 addEParameter(op, ecorePackage.getEString(), "path"); 907 908 op = addEOperation(dataObjectEClass, null, "set"); 909 addEParameter(op, ecorePackage.getEString(), "path"); 910 addEParameter(op, theEcorePackage.getEJavaObject(), "value"); 911 912 op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "isSet"); 913 addEParameter(op, ecorePackage.getEString(), "path"); 914 915 op = addEOperation(dataObjectEClass, null, "unset"); 916 addEParameter(op, ecorePackage.getEString(), "path"); 917 918 op = addEOperation(dataObjectEClass, theEcorePackage.getEJavaObject(), "get"); 919 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 920 921 op = addEOperation(dataObjectEClass, null, "set"); 922 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 923 addEParameter(op, theEcorePackage.getEJavaObject(), "value"); 924 925 op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "isSet"); 926 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 927 928 op = addEOperation(dataObjectEClass, null, "unset"); 929 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 930 931 op = addEOperation(dataObjectEClass, theEcorePackage.getEJavaObject(), "get"); 932 addEParameter(op, this.getProperty(), "property"); 933 934 op = addEOperation(dataObjectEClass, null, "set"); 935 addEParameter(op, this.getProperty(), "property"); 936 addEParameter(op, theEcorePackage.getEJavaObject(), "value"); 937 938 op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "isSet"); 939 addEParameter(op, this.getProperty(), "property"); 940 941 op = addEOperation(dataObjectEClass, null, "unset"); 942 addEParameter(op, this.getProperty(), "property"); 943 944 addEOperation(dataObjectEClass, this.getDataObject(), "getContainer"); 945 946 addEOperation(dataObjectEClass, this.getProperty(), "getContainmentProperty"); 947 948 addEOperation(dataObjectEClass, this.getDataGraph(), "getDataGraph"); 949 950 addEOperation(dataObjectEClass, this.getType(), "getType"); 951 952 op = addEOperation(dataObjectEClass, theEcorePackage.getEBigDecimal(), "getBigDecimal"); 953 addEParameter(op, ecorePackage.getEString(), "path"); 954 955 op = addEOperation(dataObjectEClass, theEcorePackage.getEBigInteger(), "getBigInteger"); 956 addEParameter(op, ecorePackage.getEString(), "path"); 957 958 op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "getBoolean"); 959 addEParameter(op, ecorePackage.getEString(), "path"); 960 961 op = addEOperation(dataObjectEClass, ecorePackage.getEByte(), "getByte"); 962 addEParameter(op, ecorePackage.getEString(), "path"); 963 964 op = addEOperation(dataObjectEClass, theEcorePackage.getEByteArray(), "getBytes"); 965 addEParameter(op, ecorePackage.getEString(), "path"); 966 967 op = addEOperation(dataObjectEClass, ecorePackage.getEChar(), "getChar"); 968 addEParameter(op, ecorePackage.getEString(), "path"); 969 970 op = addEOperation(dataObjectEClass, this.getDataObject(), "getDataObject"); 971 addEParameter(op, ecorePackage.getEString(), "path"); 972 973 op = addEOperation(dataObjectEClass, theEcorePackage.getEDate(), "getDate"); 974 addEParameter(op, ecorePackage.getEString(), "path"); 975 976 op = addEOperation(dataObjectEClass, ecorePackage.getEDouble(), "getDouble"); 977 addEParameter(op, ecorePackage.getEString(), "path"); 978 979 op = addEOperation(dataObjectEClass, ecorePackage.getEFloat(), "getFloat"); 980 addEParameter(op, ecorePackage.getEString(), "path"); 981 982 op = addEOperation(dataObjectEClass, ecorePackage.getEInt(), "getInt"); 983 addEParameter(op, ecorePackage.getEString(), "path"); 984 985 op = addEOperation(dataObjectEClass, this.getEJavaList(), "getList"); 986 addEParameter(op, ecorePackage.getEString(), "path"); 987 988 op = addEOperation(dataObjectEClass, ecorePackage.getELong(), "getLong"); 989 addEParameter(op, ecorePackage.getEString(), "path"); 990 991 op = addEOperation(dataObjectEClass, this.getSequence(), "getSequence"); 992 addEParameter(op, ecorePackage.getEString(), "path"); 993 994 op = addEOperation(dataObjectEClass, ecorePackage.getEShort(), "getShort"); 995 addEParameter(op, ecorePackage.getEString(), "path"); 996 997 op = addEOperation(dataObjectEClass, ecorePackage.getEString(), "getString"); 998 addEParameter(op, ecorePackage.getEString(), "path"); 999 1000 op = addEOperation(dataObjectEClass, null, "setBigDecimal"); 1001 addEParameter(op, ecorePackage.getEString(), "path"); 1002 addEParameter(op, theEcorePackage.getEBigDecimal(), "value"); 1003 1004 op = addEOperation(dataObjectEClass, null, "setBigInteger"); 1005 addEParameter(op, ecorePackage.getEString(), "path"); 1006 addEParameter(op, theEcorePackage.getEBigInteger(), "value"); 1007 1008 op = addEOperation(dataObjectEClass, null, "setBoolean"); 1009 addEParameter(op, ecorePackage.getEString(), "path"); 1010 addEParameter(op, ecorePackage.getEBoolean(), "value"); 1011 1012 op = addEOperation(dataObjectEClass, null, "setByte"); 1013 addEParameter(op, ecorePackage.getEString(), "path"); 1014 addEParameter(op, ecorePackage.getEByte(), "value"); 1015 1016 op = addEOperation(dataObjectEClass, null, "setBytes"); 1017 addEParameter(op, ecorePackage.getEString(), "path"); 1018 addEParameter(op, theEcorePackage.getEByteArray(), "value"); 1019 1020 op = addEOperation(dataObjectEClass, null, "setChar"); 1021 addEParameter(op, ecorePackage.getEString(), "path"); 1022 addEParameter(op, ecorePackage.getEChar(), "value"); 1023 1024 op = addEOperation(dataObjectEClass, null, "setDataObject"); 1025 addEParameter(op, ecorePackage.getEString(), "path"); 1026 addEParameter(op, this.getDataObject(), "value"); 1027 1028 op = addEOperation(dataObjectEClass, null, "setDate"); 1029 addEParameter(op, ecorePackage.getEString(), "path"); 1030 addEParameter(op, theEcorePackage.getEDate(), "value"); 1031 1032 op = addEOperation(dataObjectEClass, null, "setDouble"); 1033 addEParameter(op, ecorePackage.getEString(), "path"); 1034 addEParameter(op, ecorePackage.getEDouble(), "value"); 1035 1036 op = addEOperation(dataObjectEClass, null, "setFloat"); 1037 addEParameter(op, ecorePackage.getEString(), "path"); 1038 addEParameter(op, ecorePackage.getEFloat(), "value"); 1039 1040 op = addEOperation(dataObjectEClass, null, "setInt"); 1041 addEParameter(op, ecorePackage.getEString(), "path"); 1042 addEParameter(op, ecorePackage.getEInt(), "value"); 1043 1044 op = addEOperation(dataObjectEClass, null, "setList"); 1045 addEParameter(op, ecorePackage.getEString(), "path"); 1046 addEParameter(op, this.getEJavaList(), "value"); 1047 1048 op = addEOperation(dataObjectEClass, null, "setLong"); 1049 addEParameter(op, ecorePackage.getEString(), "path"); 1050 addEParameter(op, ecorePackage.getELong(), "value"); 1051 1052 op = addEOperation(dataObjectEClass, null, "setShort"); 1053 addEParameter(op, ecorePackage.getEString(), "path"); 1054 addEParameter(op, ecorePackage.getEShort(), "value"); 1055 1056 op = addEOperation(dataObjectEClass, null, "setString"); 1057 addEParameter(op, ecorePackage.getEString(), "path"); 1058 addEParameter(op, ecorePackage.getEString(), "value"); 1059 1060 op = addEOperation(dataObjectEClass, theEcorePackage.getEBigDecimal(), "getBigDecimal"); 1061 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1062 1063 op = addEOperation(dataObjectEClass, theEcorePackage.getEBigInteger(), "getBigInteger"); 1064 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1065 1066 op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "getBoolean"); 1067 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1068 1069 op = addEOperation(dataObjectEClass, ecorePackage.getEByte(), "getByte"); 1070 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1071 1072 op = addEOperation(dataObjectEClass, theEcorePackage.getEByteArray(), "getBytes"); 1073 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1074 1075 op = addEOperation(dataObjectEClass, ecorePackage.getEChar(), "getChar"); 1076 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1077 1078 op = addEOperation(dataObjectEClass, this.getDataObject(), "getDataObject"); 1079 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1080 1081 op = addEOperation(dataObjectEClass, theEcorePackage.getEDate(), "getDate"); 1082 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1083 1084 op = addEOperation(dataObjectEClass, ecorePackage.getEDouble(), "getDouble"); 1085 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1086 1087 op = addEOperation(dataObjectEClass, ecorePackage.getEFloat(), "getFloat"); 1088 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1089 1090 op = addEOperation(dataObjectEClass, ecorePackage.getEInt(), "getInt"); 1091 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1092 1093 op = addEOperation(dataObjectEClass, this.getEJavaList(), "getList"); 1094 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1095 1096 op = addEOperation(dataObjectEClass, ecorePackage.getELong(), "getLong"); 1097 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1098 1099 op = addEOperation(dataObjectEClass, this.getSequence(), "getSequence"); 1100 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1101 1102 op = addEOperation(dataObjectEClass, ecorePackage.getEShort(), "getShort"); 1103 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1104 1105 op = addEOperation(dataObjectEClass, ecorePackage.getEString(), "getString"); 1106 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1107 1108 op = addEOperation(dataObjectEClass, null, "setBigDecimal"); 1109 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1110 addEParameter(op, theEcorePackage.getEBigDecimal(), "value"); 1111 1112 op = addEOperation(dataObjectEClass, null, "setBigInteger"); 1113 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1114 addEParameter(op, theEcorePackage.getEBigInteger(), "value"); 1115 1116 op = addEOperation(dataObjectEClass, null, "setBoolean"); 1117 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1118 addEParameter(op, ecorePackage.getEBoolean(), "value"); 1119 1120 op = addEOperation(dataObjectEClass, null, "setByte"); 1121 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1122 addEParameter(op, ecorePackage.getEByte(), "value"); 1123 1124 op = addEOperation(dataObjectEClass, null, "setBytes"); 1125 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1126 addEParameter(op, theEcorePackage.getEByteArray(), "value"); 1127 1128 op = addEOperation(dataObjectEClass, null, "setChar"); 1129 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1130 addEParameter(op, ecorePackage.getEChar(), "value"); 1131 1132 op = addEOperation(dataObjectEClass, null, "setDataObject"); 1133 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1134 addEParameter(op, this.getDataObject(), "value"); 1135 1136 op = addEOperation(dataObjectEClass, null, "setDate"); 1137 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1138 addEParameter(op, theEcorePackage.getEDate(), "value"); 1139 1140 op = addEOperation(dataObjectEClass, null, "setDouble"); 1141 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1142 addEParameter(op, ecorePackage.getEDouble(), "value"); 1143 1144 op = addEOperation(dataObjectEClass, null, "setFloat"); 1145 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1146 addEParameter(op, ecorePackage.getEFloat(), "value"); 1147 1148 op = addEOperation(dataObjectEClass, null, "setInt"); 1149 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1150 addEParameter(op, ecorePackage.getEInt(), "value"); 1151 1152 op = addEOperation(dataObjectEClass, null, "setList"); 1153 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1154 addEParameter(op, this.getEJavaList(), "value"); 1155 1156 op = addEOperation(dataObjectEClass, null, "setLong"); 1157 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1158 addEParameter(op, ecorePackage.getELong(), "value"); 1159 1160 op = addEOperation(dataObjectEClass, null, "setShort"); 1161 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1162 addEParameter(op, ecorePackage.getEShort(), "value"); 1163 1164 op = addEOperation(dataObjectEClass, null, "setString"); 1165 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1166 addEParameter(op, ecorePackage.getEString(), "value"); 1167 1168 op = addEOperation(dataObjectEClass, theEcorePackage.getEBigDecimal(), "getBigDecimal"); 1169 addEParameter(op, this.getProperty(), "property"); 1170 1171 op = addEOperation(dataObjectEClass, theEcorePackage.getEBigInteger(), "getBigInteger"); 1172 addEParameter(op, this.getProperty(), "property"); 1173 1174 op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "getBoolean"); 1175 addEParameter(op, this.getProperty(), "property"); 1176 1177 op = addEOperation(dataObjectEClass, ecorePackage.getEByte(), "getByte"); 1178 addEParameter(op, this.getProperty(), "property"); 1179 1180 op = addEOperation(dataObjectEClass, theEcorePackage.getEByteArray(), "getBytes"); 1181 addEParameter(op, this.getProperty(), "property"); 1182 1183 op = addEOperation(dataObjectEClass, ecorePackage.getEChar(), "getChar"); 1184 addEParameter(op, this.getProperty(), "property"); 1185 1186 op = addEOperation(dataObjectEClass, this.getDataObject(), "getDataObject"); 1187 addEParameter(op, this.getProperty(), "property"); 1188 1189 op = addEOperation(dataObjectEClass, theEcorePackage.getEDate(), "getDate"); 1190 addEParameter(op, this.getProperty(), "property"); 1191 1192 op = addEOperation(dataObjectEClass, ecorePackage.getEDouble(), "getDouble"); 1193 addEParameter(op, this.getProperty(), "property"); 1194 1195 op = addEOperation(dataObjectEClass, ecorePackage.getEFloat(), "getFloat"); 1196 addEParameter(op, this.getProperty(), "property"); 1197 1198 op = addEOperation(dataObjectEClass, ecorePackage.getEInt(), "getInt"); 1199 addEParameter(op, this.getProperty(), "property"); 1200 1201 op = addEOperation(dataObjectEClass, this.getEJavaList(), "getList"); 1202 addEParameter(op, this.getProperty(), "property"); 1203 1204 op = addEOperation(dataObjectEClass, ecorePackage.getELong(), "getLong"); 1205 addEParameter(op, this.getProperty(), "property"); 1206 1207 op = addEOperation(dataObjectEClass, this.getSequence(), "getSequence"); 1208 addEParameter(op, this.getProperty(), "property"); 1209 1210 op = addEOperation(dataObjectEClass, ecorePackage.getEShort(), "getShort"); 1211 addEParameter(op, this.getProperty(), "property"); 1212 1213 op = addEOperation(dataObjectEClass, ecorePackage.getEString(), "getString"); 1214 addEParameter(op, this.getProperty(), "property"); 1215 1216 op = addEOperation(dataObjectEClass, null, "setBigDecimal"); 1217 addEParameter(op, this.getProperty(), "property"); 1218 addEParameter(op, theEcorePackage.getEBigDecimal(), "value"); 1219 1220 op = addEOperation(dataObjectEClass, null, "setBigInteger"); 1221 addEParameter(op, this.getProperty(), "property"); 1222 addEParameter(op, theEcorePackage.getEBigInteger(), "value"); 1223 1224 op = addEOperation(dataObjectEClass, null, "setBoolean"); 1225 addEParameter(op, this.getProperty(), "property"); 1226 addEParameter(op, ecorePackage.getEBoolean(), "value"); 1227 1228 op = addEOperation(dataObjectEClass, null, "setByte"); 1229 addEParameter(op, this.getProperty(), "property"); 1230 addEParameter(op, ecorePackage.getEByte(), "value"); 1231 1232 op = addEOperation(dataObjectEClass, null, "setBytes"); 1233 addEParameter(op, this.getProperty(), "property"); 1234 addEParameter(op, theEcorePackage.getEByteArray(), "value"); 1235 1236 op = addEOperation(dataObjectEClass, null, "setChar"); 1237 addEParameter(op, this.getProperty(), "property"); 1238 addEParameter(op, ecorePackage.getEChar(), "value"); 1239 1240 op = addEOperation(dataObjectEClass, null, "setDataObject"); 1241 addEParameter(op, this.getProperty(), "property"); 1242 addEParameter(op, this.getDataObject(), "value"); 1243 1244 op = addEOperation(dataObjectEClass, null, "setDate"); 1245 addEParameter(op, this.getProperty(), "property"); 1246 addEParameter(op, theEcorePackage.getEDate(), "value"); 1247 1248 op = addEOperation(dataObjectEClass, null, "setDouble"); 1249 addEParameter(op, this.getProperty(), "property"); 1250 addEParameter(op, ecorePackage.getEDouble(), "value"); 1251 1252 op = addEOperation(dataObjectEClass, null, "setFloat"); 1253 addEParameter(op, this.getProperty(), "property"); 1254 addEParameter(op, ecorePackage.getEFloat(), "value"); 1255 1256 op = addEOperation(dataObjectEClass, null, "setInt"); 1257 addEParameter(op, this.getProperty(), "property"); 1258 addEParameter(op, ecorePackage.getEInt(), "value"); 1259 1260 op = addEOperation(dataObjectEClass, null, "setList"); 1261 addEParameter(op, this.getProperty(), "property"); 1262 addEParameter(op, this.getEJavaList(), "value"); 1263 1264 op = addEOperation(dataObjectEClass, null, "setLong"); 1265 addEParameter(op, this.getProperty(), "property"); 1266 addEParameter(op, ecorePackage.getELong(), "value"); 1267 1268 op = addEOperation(dataObjectEClass, null, "setShort"); 1269 addEParameter(op, this.getProperty(), "property"); 1270 addEParameter(op, ecorePackage.getEShort(), "value"); 1271 1272 op = addEOperation(dataObjectEClass, null, "setString"); 1273 addEParameter(op, this.getProperty(), "property"); 1274 addEParameter(op, ecorePackage.getEString(), "value"); 1275 1276 op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject"); 1277 addEParameter(op, ecorePackage.getEString(), "propertyName"); 1278 1279 op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject"); 1280 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1281 1282 op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject"); 1283 addEParameter(op, this.getProperty(), "property"); 1284 1285 op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject"); 1286 addEParameter(op, ecorePackage.getEString(), "propertyName"); 1287 addEParameter(op, ecorePackage.getEString(), "namespaceURI"); 1288 addEParameter(op, ecorePackage.getEString(), "typeName"); 1289 1290 op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject"); 1291 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1292 addEParameter(op, ecorePackage.getEString(), "namespaceURI"); 1293 addEParameter(op, ecorePackage.getEString(), "typeName"); 1294 1295 op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject"); 1296 addEParameter(op, this.getProperty(), "property"); 1297 addEParameter(op, this.getType(), "type"); 1298 1299 addEOperation(dataObjectEClass, null, "delete"); 1300 1301 initEClass(eSequenceEClass, ESequence.class, "ESequence", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); 1302 1303 addEOperation(eSequenceEClass, theEcorePackage.getEFeatureMap(), "featureMap"); 1304 1305 initEClass(eTypeEClass, EType.class, "EType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1306 initEReference(getEType_EClassifier(), theEcorePackage.getEClassifier(), null, "eClassifier", null, 1, 1, EType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1307 1308 op = addEOperation(eTypeEClass, this.getEProperty(), "getEProperty"); 1309 addEParameter(op, ecorePackage.getEString(), "propertyName"); 1310 1311 initEClass(propertyEClass, Property.class, "Property", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); 1312 initEAttribute(getProperty_Name(), ecorePackage.getEString(), "name", null, 0, 1, Property.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1313 initEAttribute(getProperty_Many(), ecorePackage.getEBoolean(), "many", null, 0, 1, Property.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1314 initEAttribute(getProperty_Containment(), ecorePackage.getEBoolean(), "containment", null, 0, 1, Property.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1315 initEAttribute(getProperty_Default(), theEcorePackage.getEJavaObject(), "default", null, 0, 1, Property.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1316 initEReference(getProperty_Type(), this.getType(), null, "type", null, 1, 1, Property.class, !IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1317 initEReference(getProperty_ContainingType(), this.getType(), this.getType_Properties(), "containingType", null, 1, 1, Property.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1318 1319 initEClass(sequenceEClass, Sequence.class, "Sequence", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); 1320 1321 addEOperation(sequenceEClass, ecorePackage.getEInt(), "size"); 1322 1323 op = addEOperation(sequenceEClass, this.getProperty(), "getProperty"); 1324 addEParameter(op, ecorePackage.getEInt(), "index"); 1325 1326 op = addEOperation(sequenceEClass, theEcorePackage.getEJavaObject(), "getValue"); 1327 addEParameter(op, ecorePackage.getEInt(), "index"); 1328 1329 op = addEOperation(sequenceEClass, theEcorePackage.getEJavaObject(), "setValue"); 1330 addEParameter(op, ecorePackage.getEInt(), "index"); 1331 addEParameter(op, theEcorePackage.getEJavaObject(), "value"); 1332 1333 op = addEOperation(sequenceEClass, ecorePackage.getEBoolean(), "add"); 1334 addEParameter(op, ecorePackage.getEString(), "propertyName"); 1335 addEParameter(op, theEcorePackage.getEJavaObject(), "value"); 1336 1337 op = addEOperation(sequenceEClass, ecorePackage.getEBoolean(), "add"); 1338 addEParameter(op, ecorePackage.getEInt(), "propertIndex"); 1339 addEParameter(op, theEcorePackage.getEJavaObject(), "value"); 1340 1341 op = addEOperation(sequenceEClass, ecorePackage.getEBoolean(), "add"); 1342 addEParameter(op, this.getProperty(), "property"); 1343 addEParameter(op, theEcorePackage.getEJavaObject(), "value"); 1344 1345 op = addEOperation(sequenceEClass, null, "add"); 1346 addEParameter(op, ecorePackage.getEInt(), "index"); 1347 addEParameter(op, ecorePackage.getEString(), "propertyName"); 1348 addEParameter(op, theEcorePackage.getEJavaObject(), "value"); 1349 1350 op = addEOperation(sequenceEClass, null, "add"); 1351 addEParameter(op, ecorePackage.getEInt(), "index"); 1352 addEParameter(op, ecorePackage.getEInt(), "propertyIndex"); 1353 addEParameter(op, theEcorePackage.getEJavaObject(), "value"); 1354 1355 op = addEOperation(sequenceEClass, null, "add"); 1356 addEParameter(op, ecorePackage.getEInt(), "index"); 1357 addEParameter(op, this.getProperty(), "property"); 1358 addEParameter(op, theEcorePackage.getEJavaObject(), "value"); 1359 1360 initEClass(typeEClass, Type.class, "Type", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); 1361 initEAttribute(getType_Name(), ecorePackage.getEString(), "name", null, 0, 1, Type.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1362 initEAttribute(getType_URI(), ecorePackage.getEString(), "uRI", null, 0, 1, Type.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1363 initEAttribute(getType_InstanceClass(), theEcorePackage.getEJavaClass(), "instanceClass", null, 0, 1, Type.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1364 initEReference(getType_Properties(), this.getProperty(), this.getProperty_ContainingType(), "properties", null, 0, -1, Type.class, !IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1365 1366 op = addEOperation(typeEClass, ecorePackage.getEBoolean(), "isInstance"); 1367 addEParameter(op, theEcorePackage.getEJavaObject(), "object"); 1368 1369 op = addEOperation(typeEClass, this.getProperty(), "getProperty"); 1370 addEParameter(op, ecorePackage.getEString(), "propertyName"); 1371 1372 initEClass(internalEDataObjectEClass, InternalEDataObject.class, "InternalEDataObject", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1373 1374 op = addEOperation(internalEDataObjectEClass, theEcorePackage.getEJavaObject(), "writeReplace"); 1375 addEException(op, this.getEObjectStreamException()); 1376 1377 initEClass(eDataObjectAnyTypeEClass, EDataObjectAnyType.class, "EDataObjectAnyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1378 1379 initEClass(eDataObjectSimpleAnyTypeEClass, EDataObjectSimpleAnyType.class, "EDataObjectSimpleAnyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1380 1381 initEDataType(eJavaListEDataType, List .class, "EJavaList", !IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1383 initEDataType(eObjectStreamExceptionEDataType, ObjectStreamException .class, "EObjectStreamException", !IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1384 1385 createResource(eNS_URI); 1387 1388 createGenModelAnnotations(); 1391 createExtendedMetaDataAnnotations(); 1393 } 1394 1395 1401 protected void createGenModelAnnotations() 1402 { 1403 String source = "http://www.eclipse.org/emf/2002/GenModel"; 1404 addAnnotation 1405 ((EOperation)eDataObjectEClass.getEOperations().get(0), 1406 source, 1407 new String [] 1408 { 1409 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getInstanceProperties(this);" 1410 }); 1411 addAnnotation 1412 ((EOperation)dataObjectEClass.getEOperations().get(0), 1413 source, 1414 new String [] 1415 { 1416 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.get(this, path);" 1417 }); 1418 addAnnotation 1419 ((EOperation)dataObjectEClass.getEOperations().get(1), 1420 source, 1421 new String [] 1422 { 1423 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.set(this, path, value);" 1424 }); 1425 addAnnotation 1426 ((EOperation)dataObjectEClass.getEOperations().get(2), 1427 source, 1428 new String [] 1429 { 1430 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.isSet(this, path);" 1431 }); 1432 addAnnotation 1433 ((EOperation)dataObjectEClass.getEOperations().get(3), 1434 source, 1435 new String [] 1436 { 1437 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.unset(this, path);" 1438 }); 1439 addAnnotation 1440 ((EOperation)dataObjectEClass.getEOperations().get(4), 1441 source, 1442 new String [] 1443 { 1444 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.get(this, propertyIndex);" 1445 }); 1446 addAnnotation 1447 ((EOperation)dataObjectEClass.getEOperations().get(5), 1448 source, 1449 new String [] 1450 { 1451 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.set(this, propertyIndex, value);" 1452 }); 1453 addAnnotation 1454 ((EOperation)dataObjectEClass.getEOperations().get(6), 1455 source, 1456 new String [] 1457 { 1458 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.isSet(this, propertyIndex);" 1459 }); 1460 addAnnotation 1461 ((EOperation)dataObjectEClass.getEOperations().get(7), 1462 source, 1463 new String [] 1464 { 1465 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.unset(this, propertyIndex);" 1466 }); 1467 addAnnotation 1468 ((EOperation)dataObjectEClass.getEOperations().get(8), 1469 source, 1470 new String [] 1471 { 1472 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.get(this, property);" 1473 }); 1474 addAnnotation 1475 ((EOperation)dataObjectEClass.getEOperations().get(9), 1476 source, 1477 new String [] 1478 { 1479 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.set(this, property, value);" 1480 }); 1481 addAnnotation 1482 ((EOperation)dataObjectEClass.getEOperations().get(10), 1483 source, 1484 new String [] 1485 { 1486 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.isSet(this, property);" 1487 }); 1488 addAnnotation 1489 ((EOperation)dataObjectEClass.getEOperations().get(11), 1490 source, 1491 new String [] 1492 { 1493 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.unset(this, property);" 1494 }); 1495 addAnnotation 1496 ((EOperation)dataObjectEClass.getEOperations().get(12), 1497 source, 1498 new String [] 1499 { 1500 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getContainer(this);" 1501 }); 1502 addAnnotation 1503 ((EOperation)dataObjectEClass.getEOperations().get(13), 1504 source, 1505 new String [] 1506 { 1507 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getContainmentProperty(this);" 1508 }); 1509 addAnnotation 1510 ((EOperation)dataObjectEClass.getEOperations().get(14), 1511 source, 1512 new String [] 1513 { 1514 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getDataGraph(this);" 1515 }); 1516 addAnnotation 1517 ((EOperation)dataObjectEClass.getEOperations().get(15), 1518 source, 1519 new String [] 1520 { 1521 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getType(this);" 1522 }); 1523 addAnnotation 1524 ((EOperation)dataObjectEClass.getEOperations().get(16), 1525 source, 1526 new String [] 1527 { 1528 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getBigDecimal(this, path);" 1529 }); 1530 addAnnotation 1531 ((EOperation)dataObjectEClass.getEOperations().get(17), 1532 source, 1533 new String [] 1534 { 1535 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getBigInteger(this, path);" 1536 }); 1537 addAnnotation 1538 ((EOperation)dataObjectEClass.getEOperations().get(18), 1539 source, 1540 new String [] 1541 { 1542 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getBoolean(this, path);" 1543 }); 1544 addAnnotation 1545 ((EOperation)dataObjectEClass.getEOperations().get(19), 1546 source, 1547 new String [] 1548 { 1549 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getByte(this, path);" 1550 }); 1551 addAnnotation 1552 ((EOperation)dataObjectEClass.getEOperations().get(20), 1553 source, 1554 new String [] 1555 { 1556 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getBytes(this, path);" 1557 }); 1558 addAnnotation 1559 ((EOperation)dataObjectEClass.getEOperations().get(21), 1560 source, 1561 new String [] 1562 { 1563 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getChar(this, path);" 1564 }); 1565 addAnnotation 1566 ((EOperation)dataObjectEClass.getEOperations().get(22), 1567 source, 1568 new String [] 1569 { 1570 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getDataObject(this, path);" 1571 }); 1572 addAnnotation 1573 ((EOperation)dataObjectEClass.getEOperations().get(23), 1574 source, 1575 new String [] 1576 { 1577 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getDate(this, path);" 1578 }); 1579 addAnnotation 1580 ((EOperation)dataObjectEClass.getEOperations().get(24), 1581 source, 1582 new String [] 1583 { 1584 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getDouble(this, path);" 1585 }); 1586 addAnnotation 1587 ((EOperation)dataObjectEClass.getEOperations().get(25), 1588 source, 1589 new String [] 1590 { 1591 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getFloat(this, path);" 1592 }); 1593 addAnnotation 1594 ((EOperation)dataObjectEClass.getEOperations().get(26), 1595 source, 1596 new String [] 1597 { 1598 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getInt(this, path);" 1599 }); 1600 addAnnotation 1601 ((EOperation)dataObjectEClass.getEOperations().get(27), 1602 source, 1603 new String [] 1604 { 1605 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getList(this, path);" 1606 }); 1607 addAnnotation 1608 ((EOperation)dataObjectEClass.getEOperations().get(28), 1609 source, 1610 new String [] 1611 { 1612 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getLong(this, path);" 1613 }); 1614 addAnnotation 1615 ((EOperation)dataObjectEClass.getEOperations().get(29), 1616 source, 1617 new String [] 1618 { 1619 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getSequence(this, path);" 1620 }); 1621 addAnnotation 1622 ((EOperation)dataObjectEClass.getEOperations().get(30), 1623 source, 1624 new String [] 1625 { 1626 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getShort(this, path);" 1627 }); 1628 addAnnotation 1629 ((EOperation)dataObjectEClass.getEOperations().get(31), 1630 source, 1631 new String [] 1632 { 1633 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getString(this, path);" 1634 }); 1635 addAnnotation 1636 ((EOperation)dataObjectEClass.getEOperations().get(32), 1637 source, 1638 new String [] 1639 { 1640 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setBigDecimal(this, path, value);" 1641 }); 1642 addAnnotation 1643 ((EOperation)dataObjectEClass.getEOperations().get(33), 1644 source, 1645 new String [] 1646 { 1647 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setBigInteger(this, path, value);" 1648 }); 1649 addAnnotation 1650 ((EOperation)dataObjectEClass.getEOperations().get(34), 1651 source, 1652 new String [] 1653 { 1654 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setBoolean(this, path, value);" 1655 }); 1656 addAnnotation 1657 ((EOperation)dataObjectEClass.getEOperations().get(35), 1658 source, 1659 new String [] 1660 { 1661 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setByte(this, path, value);" 1662 }); 1663 addAnnotation 1664 ((EOperation)dataObjectEClass.getEOperations().get(36), 1665 source, 1666 new String [] 1667 { 1668 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setBytes(this, path, value);" 1669 }); 1670 addAnnotation 1671 ((EOperation)dataObjectEClass.getEOperations().get(37), 1672 source, 1673 new String [] 1674 { 1675 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setChar(this, path, value);" 1676 }); 1677 addAnnotation 1678 ((EOperation)dataObjectEClass.getEOperations().get(38), 1679 source, 1680 new String [] 1681 { 1682 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setDataObject(this, path, value);" 1683 }); 1684 addAnnotation 1685 ((EOperation)dataObjectEClass.getEOperations().get(39), 1686 source, 1687 new String [] 1688 { 1689 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setDate(this, path, value);" 1690 }); 1691 addAnnotation 1692 ((EOperation)dataObjectEClass.getEOperations().get(40), 1693 source, 1694 new String [] 1695 { 1696 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setDouble(this, path, value);" 1697 }); 1698 addAnnotation 1699 ((EOperation)dataObjectEClass.getEOperations().get(41), 1700 source, 1701 new String [] 1702 { 1703 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setFloat(this, path, value);" 1704 }); 1705 addAnnotation 1706 ((EOperation)dataObjectEClass.getEOperations().get(42), 1707 source, 1708 new String [] 1709 { 1710 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setInt(this, path, value);" 1711 }); 1712 addAnnotation 1713 ((EOperation)dataObjectEClass.getEOperations().get(43), 1714 source, 1715 new String [] 1716 { 1717 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setList(this, path, value);" 1718 }); 1719 addAnnotation 1720 ((EOperation)dataObjectEClass.getEOperations().get(44), 1721 source, 1722 new String [] 1723 { 1724 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setLong(this, path, value);" 1725 }); 1726 addAnnotation 1727 ((EOperation)dataObjectEClass.getEOperations().get(45), 1728 source, 1729 new String [] 1730 { 1731 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setShort(this, path, value);" 1732 }); 1733 addAnnotation 1734 ((EOperation)dataObjectEClass.getEOperations().get(46), 1735 source, 1736 new String [] 1737 { 1738 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setString(this, path, value);" 1739 }); 1740 addAnnotation 1741 ((EOperation)dataObjectEClass.getEOperations().get(47), 1742 source, 1743 new String [] 1744 { 1745 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getBigDecimal(this, propertyIndex);" 1746 }); 1747 addAnnotation 1748 ((EOperation)dataObjectEClass.getEOperations().get(48), 1749 source, 1750 new String [] 1751 { 1752 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getBigInteger(this, propertyIndex);" 1753 }); 1754 addAnnotation 1755 ((EOperation)dataObjectEClass.getEOperations().get(49), 1756 source, 1757 new String [] 1758 { 1759 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getBoolean(this, propertyIndex);" 1760 }); 1761 addAnnotation 1762 ((EOperation)dataObjectEClass.getEOperations().get(50), 1763 source, 1764 new String [] 1765 { 1766 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getByte(this, propertyIndex);" 1767 }); 1768 addAnnotation 1769 ((EOperation)dataObjectEClass.getEOperations().get(51), 1770 source, 1771 new String [] 1772 { 1773 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getBytes(this, propertyIndex);" 1774 }); 1775 addAnnotation 1776 ((EOperation)dataObjectEClass.getEOperations().get(52), 1777 source, 1778 new String [] 1779 { 1780 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getChar(this, propertyIndex);" 1781 }); 1782 addAnnotation 1783 ((EOperation)dataObjectEClass.getEOperations().get(53), 1784 source, 1785 new String [] 1786 { 1787 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getDataObject(this, propertyIndex);" 1788 }); 1789 addAnnotation 1790 ((EOperation)dataObjectEClass.getEOperations().get(54), 1791 source, 1792 new String [] 1793 { 1794 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getDate(this, propertyIndex);" 1795 }); 1796 addAnnotation 1797 ((EOperation)dataObjectEClass.getEOperations().get(55), 1798 source, 1799 new String [] 1800 { 1801 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getDouble(this, propertyIndex);" 1802 }); 1803 addAnnotation 1804 ((EOperation)dataObjectEClass.getEOperations().get(56), 1805 source, 1806 new String [] 1807 { 1808 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getFloat(this, propertyIndex);" 1809 }); 1810 addAnnotation 1811 ((EOperation)dataObjectEClass.getEOperations().get(57), 1812 source, 1813 new String [] 1814 { 1815 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getInt(this, propertyIndex);" 1816 }); 1817 addAnnotation 1818 ((EOperation)dataObjectEClass.getEOperations().get(58), 1819 source, 1820 new String [] 1821 { 1822 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getList(this, propertyIndex);" 1823 }); 1824 addAnnotation 1825 ((EOperation)dataObjectEClass.getEOperations().get(59), 1826 source, 1827 new String [] 1828 { 1829 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getLong(this, propertyIndex);" 1830 }); 1831 addAnnotation 1832 ((EOperation)dataObjectEClass.getEOperations().get(60), 1833 source, 1834 new String [] 1835 { 1836 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getSequence(this, propertyIndex);" 1837 }); 1838 addAnnotation 1839 ((EOperation)dataObjectEClass.getEOperations().get(61), 1840 source, 1841 new String [] 1842 { 1843 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getShort(this, propertyIndex);" 1844 }); 1845 addAnnotation 1846 ((EOperation)dataObjectEClass.getEOperations().get(62), 1847 source, 1848 new String [] 1849 { 1850 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getString(this, propertyIndex);" 1851 }); 1852 addAnnotation 1853 ((EOperation)dataObjectEClass.getEOperations().get(63), 1854 source, 1855 new String [] 1856 { 1857 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setBigDecimal(this, propertyIndex, value);" 1858 }); 1859 addAnnotation 1860 ((EOperation)dataObjectEClass.getEOperations().get(64), 1861 source, 1862 new String [] 1863 { 1864 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setBigInteger(this, propertyIndex, value);" 1865 }); 1866 addAnnotation 1867 ((EOperation)dataObjectEClass.getEOperations().get(65), 1868 source, 1869 new String [] 1870 { 1871 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setBoolean(this, propertyIndex, value);" 1872 }); 1873 addAnnotation 1874 ((EOperation)dataObjectEClass.getEOperations().get(66), 1875 source, 1876 new String [] 1877 { 1878 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setByte(this, propertyIndex, value);" 1879 }); 1880 addAnnotation 1881 ((EOperation)dataObjectEClass.getEOperations().get(67), 1882 source, 1883 new String [] 1884 { 1885 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setBytes(this, propertyIndex, value);" 1886 }); 1887 addAnnotation 1888 ((EOperation)dataObjectEClass.getEOperations().get(68), 1889 source, 1890 new String [] 1891 { 1892 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setChar(this, propertyIndex, value);" 1893 }); 1894 addAnnotation 1895 ((EOperation)dataObjectEClass.getEOperations().get(69), 1896 source, 1897 new String [] 1898 { 1899 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setDataObject(this, propertyIndex, value);" 1900 }); 1901 addAnnotation 1902 ((EOperation)dataObjectEClass.getEOperations().get(70), 1903 source, 1904 new String [] 1905 { 1906 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setDate(this, propertyIndex, value);" 1907 }); 1908 addAnnotation 1909 ((EOperation)dataObjectEClass.getEOperations().get(71), 1910 source, 1911 new String [] 1912 { 1913 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setDouble(this, propertyIndex, value);" 1914 }); 1915 addAnnotation 1916 ((EOperation)dataObjectEClass.getEOperations().get(72), 1917 source, 1918 new String [] 1919 { 1920 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setFloat(this, propertyIndex, value);" 1921 }); 1922 addAnnotation 1923 ((EOperation)dataObjectEClass.getEOperations().get(73), 1924 source, 1925 new String [] 1926 { 1927 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setInt(this, propertyIndex, value);" 1928 }); 1929 addAnnotation 1930 ((EOperation)dataObjectEClass.getEOperations().get(74), 1931 source, 1932 new String [] 1933 { 1934 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setList(this, propertyIndex, value);" 1935 }); 1936 addAnnotation 1937 ((EOperation)dataObjectEClass.getEOperations().get(75), 1938 source, 1939 new String [] 1940 { 1941 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setLong(this, propertyIndex, value);" 1942 }); 1943 addAnnotation 1944 ((EOperation)dataObjectEClass.getEOperations().get(76), 1945 source, 1946 new String [] 1947 { 1948 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setShort(this, propertyIndex, value);" 1949 }); 1950 addAnnotation 1951 ((EOperation)dataObjectEClass.getEOperations().get(77), 1952 source, 1953 new String [] 1954 { 1955 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setString(this, propertyIndex, value);" 1956 }); 1957 addAnnotation 1958 ((EOperation)dataObjectEClass.getEOperations().get(78), 1959 source, 1960 new String [] 1961 { 1962 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getBigDecimal(this, property);" 1963 }); 1964 addAnnotation 1965 ((EOperation)dataObjectEClass.getEOperations().get(79), 1966 source, 1967 new String [] 1968 { 1969 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getBigInteger(this, property);" 1970 }); 1971 addAnnotation 1972 ((EOperation)dataObjectEClass.getEOperations().get(80), 1973 source, 1974 new String [] 1975 { 1976 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getBoolean(this, property);" 1977 }); 1978 addAnnotation 1979 ((EOperation)dataObjectEClass.getEOperations().get(81), 1980 source, 1981 new String [] 1982 { 1983 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getByte(this, property);" 1984 }); 1985 addAnnotation 1986 ((EOperation)dataObjectEClass.getEOperations().get(82), 1987 source, 1988 new String [] 1989 { 1990 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getBytes(this, property);" 1991 }); 1992 addAnnotation 1993 ((EOperation)dataObjectEClass.getEOperations().get(83), 1994 source, 1995 new String [] 1996 { 1997 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getChar(this, property);" 1998 }); 1999 addAnnotation 2000 ((EOperation)dataObjectEClass.getEOperations().get(84), 2001 source, 2002 new String [] 2003 { 2004 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getDataObject(this, property);" 2005 }); 2006 addAnnotation 2007 ((EOperation)dataObjectEClass.getEOperations().get(85), 2008 source, 2009 new String [] 2010 { 2011 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getDate(this, property);" 2012 }); 2013 addAnnotation 2014 ((EOperation)dataObjectEClass.getEOperations().get(86), 2015 source, 2016 new String [] 2017 { 2018 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getDouble(this, property);" 2019 }); 2020 addAnnotation 2021 ((EOperation)dataObjectEClass.getEOperations().get(87), 2022 source, 2023 new String [] 2024 { 2025 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getFloat(this, property);" 2026 }); 2027 addAnnotation 2028 ((EOperation)dataObjectEClass.getEOperations().get(88), 2029 source, 2030 new String [] 2031 { 2032 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getInt(this, property);" 2033 }); 2034 addAnnotation 2035 ((EOperation)dataObjectEClass.getEOperations().get(89), 2036 source, 2037 new String [] 2038 { 2039 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getList(this, property);" 2040 }); 2041 addAnnotation 2042 ((EOperation)dataObjectEClass.getEOperations().get(90), 2043 source, 2044 new String [] 2045 { 2046 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getLong(this, property);" 2047 }); 2048 addAnnotation 2049 ((EOperation)dataObjectEClass.getEOperations().get(91), 2050 source, 2051 new String [] 2052 { 2053 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getSequence(this, property);" 2054 }); 2055 addAnnotation 2056 ((EOperation)dataObjectEClass.getEOperations().get(92), 2057 source, 2058 new String [] 2059 { 2060 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getShort(this, property);" 2061 }); 2062 addAnnotation 2063 ((EOperation)dataObjectEClass.getEOperations().get(93), 2064 source, 2065 new String [] 2066 { 2067 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.getString(this, property);" 2068 }); 2069 addAnnotation 2070 ((EOperation)dataObjectEClass.getEOperations().get(94), 2071 source, 2072 new String [] 2073 { 2074 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setBigDecimal(this, property, value);" 2075 }); 2076 addAnnotation 2077 ((EOperation)dataObjectEClass.getEOperations().get(95), 2078 source, 2079 new String [] 2080 { 2081 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setBigInteger(this, property, value);" 2082 }); 2083 addAnnotation 2084 ((EOperation)dataObjectEClass.getEOperations().get(96), 2085 source, 2086 new String [] 2087 { 2088 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setBoolean(this, property, value);" 2089 }); 2090 addAnnotation 2091 ((EOperation)dataObjectEClass.getEOperations().get(97), 2092 source, 2093 new String [] 2094 { 2095 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setByte(this, property, value);" 2096 }); 2097 addAnnotation 2098 ((EOperation)dataObjectEClass.getEOperations().get(98), 2099 source, 2100 new String [] 2101 { 2102 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setBytes(this, property, value);" 2103 }); 2104 addAnnotation 2105 ((EOperation)dataObjectEClass.getEOperations().get(99), 2106 source, 2107 new String [] 2108 { 2109 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setChar(this, property, value);" 2110 }); 2111 addAnnotation 2112 ((EOperation)dataObjectEClass.getEOperations().get(100), 2113 source, 2114 new String [] 2115 { 2116 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setDataObject(this, property, value);" 2117 }); 2118 addAnnotation 2119 ((EOperation)dataObjectEClass.getEOperations().get(101), 2120 source, 2121 new String [] 2122 { 2123 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setDate(this, property, value);" 2124 }); 2125 addAnnotation 2126 ((EOperation)dataObjectEClass.getEOperations().get(102), 2127 source, 2128 new String [] 2129 { 2130 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setDouble(this, property, value);" 2131 }); 2132 addAnnotation 2133 ((EOperation)dataObjectEClass.getEOperations().get(103), 2134 source, 2135 new String [] 2136 { 2137 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setFloat(this, property, value);" 2138 }); 2139 addAnnotation 2140 ((EOperation)dataObjectEClass.getEOperations().get(104), 2141 source, 2142 new String [] 2143 { 2144 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setInt(this, property, value);" 2145 }); 2146 addAnnotation 2147 ((EOperation)dataObjectEClass.getEOperations().get(105), 2148 source, 2149 new String [] 2150 { 2151 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setList(this, property, value);" 2152 }); 2153 addAnnotation 2154 ((EOperation)dataObjectEClass.getEOperations().get(106), 2155 source, 2156 new String [] 2157 { 2158 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setLong(this, property, value);" 2159 }); 2160 addAnnotation 2161 ((EOperation)dataObjectEClass.getEOperations().get(107), 2162 source, 2163 new String [] 2164 { 2165 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setShort(this, property, value);" 2166 }); 2167 addAnnotation 2168 ((EOperation)dataObjectEClass.getEOperations().get(108), 2169 source, 2170 new String [] 2171 { 2172 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.setString(this, property, value);" 2173 }); 2174 addAnnotation 2175 ((EOperation)dataObjectEClass.getEOperations().get(109), 2176 source, 2177 new String [] 2178 { 2179 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.createDataObject(this, propertyName);" 2180 }); 2181 addAnnotation 2182 ((EOperation)dataObjectEClass.getEOperations().get(110), 2183 source, 2184 new String [] 2185 { 2186 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.createDataObject(this, propertyIndex);" 2187 }); 2188 addAnnotation 2189 ((EOperation)dataObjectEClass.getEOperations().get(111), 2190 source, 2191 new String [] 2192 { 2193 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.createDataObject(this, property);" 2194 }); 2195 addAnnotation 2196 ((EOperation)dataObjectEClass.getEOperations().get(112), 2197 source, 2198 new String [] 2199 { 2200 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.createDataObject(this, propertyName, namespaceURI, typeName);" 2201 }); 2202 addAnnotation 2203 ((EOperation)dataObjectEClass.getEOperations().get(113), 2204 source, 2205 new String [] 2206 { 2207 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.createDataObject(this, propertyIndex, namespaceURI, typeName);" 2208 }); 2209 addAnnotation 2210 ((EOperation)dataObjectEClass.getEOperations().get(114), 2211 source, 2212 new String [] 2213 { 2214 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.createDataObject(this, property, type);" 2215 }); 2216 addAnnotation 2217 ((EOperation)dataObjectEClass.getEOperations().get(115), 2218 source, 2219 new String [] 2220 { 2221 "body", "<%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.delete(this);" 2222 }); 2223 addAnnotation 2224 ((EOperation)internalEDataObjectEClass.getEOperations().get(0), 2225 source, 2226 new String [] 2227 { 2228 "body", "return <%org.eclipse.emf.ecore.sdo.util.SDOUtil%>.writeReplace(this);" 2229 }); 2230 } 2231 2232 2238 protected void createExtendedMetaDataAnnotations() 2239 { 2240 String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; 2241 addAnnotation 2242 (eDataObjectAnyTypeEClass, 2243 source, 2244 new String [] 2245 { 2246 "kind", "mixed" 2247 }); 2248 addAnnotation 2249 (eDataObjectSimpleAnyTypeEClass, 2250 source, 2251 new String [] 2252 { 2253 "kind", "simple" 2254 }); 2255 } 2256 2257} | Popular Tags |