Package org.eclipse.emf.ecore.impl

Examples of org.eclipse.emf.ecore.impl.EcorePackageImpl


    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    ChangePackageImpl theChangePackage = (ChangePackageImpl)EPackage.Registry.INSTANCE.getEPackage(ChangePackage.eNS_URI);
    EcorePackageImpl theEcorePackage = (EcorePackageImpl)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
    XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);

    // Add supertypes to classes
    changeSummaryEClass.getESuperTypes().add(theChangePackage.getChangeDescription());
    changeSummarySettingEClass.getESuperTypes().add(theChangePackage.getFeatureChange());
    dataGraphEClass.getESuperTypes().add(theEcorePackage.getEObject());
    anyTypeDataObjectEClass.getESuperTypes().add(this.getDataObject());
    anyTypeDataObjectEClass.getESuperTypes().add(theXMLTypePackage.getAnyType());
    simpleAnyTypeDataObjectEClass.getESuperTypes().add(this.getAnyTypeDataObject());
    simpleAnyTypeDataObjectEClass.getESuperTypes().add(theXMLTypePackage.getSimpleAnyType());
    classEClass.getESuperTypes().add(theEcorePackage.getEClass());
    classEClass.getESuperTypes().add(this.getType());
    dataTypeEClass.getESuperTypes().add(theEcorePackage.getEDataType());
    dataTypeEClass.getESuperTypes().add(this.getType());
    attributeEClass.getESuperTypes().add(theEcorePackage.getEAttribute());
    attributeEClass.getESuperTypes().add(this.getProperty());
    referenceEClass.getESuperTypes().add(theEcorePackage.getEReference());
    referenceEClass.getESuperTypes().add(this.getProperty());
    enumEClass.getESuperTypes().add(theEcorePackage.getEEnum());
    enumEClass.getESuperTypes().add(this.getType());
    dynamicDataObjectEClass.getESuperTypes().add(this.getDataObject());
    storeDataObjectEClass.getESuperTypes().add(this.getDataObject());
    dynamicStoreDataObjectEClass.getESuperTypes().add(this.getStoreDataObject());

    // Initialize classes and features; add operations and parameters
    initEClass(changeSummaryEClass, ChangeSummary.class, "ChangeSummary", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
    initEReference(getChangeSummary_EDataGraph(), this.getDataGraph(), this.getDataGraph_EChangeSummary(), "eDataGraph", null, 1, 1, ChangeSummary.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    addEOperation(changeSummaryEClass, null, "beginLogging");

    addEOperation(changeSummaryEClass, null, "endLogging");

    EOperation op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isCreated");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isDeleted");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, this.getEJavaList(), "getOldValues");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isModified");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, this.getChangeSummarySetting(), "getOldValue");
    addEParameter(op, this.getDataObject(), "dataObject");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(changeSummaryEClass, this.getDataObject(), "getOldContainer");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, this.getProperty(), "getOldContainmentProperty");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, this.getSequence(), "getOldSequence");
    addEParameter(op, this.getDataObject(), "dataObject");

    addEOperation(changeSummaryEClass, null, "undoChanges");

    addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isLogging");

    addEOperation(changeSummaryEClass, this.getDataGraph(), "getDataGraph");

    addEOperation(changeSummaryEClass, this.getEJavaList(), "getChangedObjects");

    addEOperation(changeSummaryEClass, this.getDataObject(), "getRootObject");

    initEClass(changeSummarySettingEClass, ChangeSummary.Setting.class, "ChangeSummarySetting", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    addEOperation(changeSummarySettingEClass, ecorePackage.getEBoolean(), "isSet");

    addEOperation(changeSummarySettingEClass, theEcorePackage.getEJavaObject(), "getValue");

    addEOperation(changeSummarySettingEClass, this.getProperty(), "getProperty");

    initEClass(dataGraphEClass, DataGraph.class, "DataGraph", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getDataGraph_ResourceSet(), theEcorePackage.getEResourceSet(), "resourceSet", null, 0, 1, DataGraph.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getDataGraph_RootResource(), theEcorePackage.getEResource(), "rootResource", null, 0, 1, DataGraph.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
    initEReference(getDataGraph_EChangeSummary(), this.getChangeSummary(), this.getChangeSummary_EDataGraph(), "eChangeSummary", null, 1, 1, DataGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getDataGraph_ERootObject(), theEcorePackage.getEObject(), null, "eRootObject", null, 1, 1, DataGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    op = addEOperation(dataGraphEClass, this.getDataObject(), "createRootObject");
    addEParameter(op, ecorePackage.getEString(), "namespaceURI");
    addEParameter(op, ecorePackage.getEString(), "typeName");

    op = addEOperation(dataGraphEClass, this.getDataObject(), "createRootObject");
    addEParameter(op, this.getType(), "type");

    op = addEOperation(dataGraphEClass, this.getType(), "getType");
    addEParameter(op, ecorePackage.getEString(), "namespaceURI");
    addEParameter(op, ecorePackage.getEString(), "typeName");

    addEOperation(dataGraphEClass, this.getDataObject(), "getRootObject");

    addEOperation(dataGraphEClass, this.getChangeSummary(), "getChangeSummary");

    initEClass(dataObjectEClass, DataObject.class, "DataObject", IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    op = addEOperation(dataObjectEClass, theEcorePackage.getEJavaObject(), "get");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, null, "set");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "isSet");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, null, "unset");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEJavaObject(), "get");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, null, "set");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "isSet");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, null, "unset");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEJavaObject(), "get");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, null, "set");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "isSet");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, null, "unset");
    addEParameter(op, this.getProperty(), "property");

    addEOperation(dataObjectEClass, this.getDataObject(), "getContainer");

    addEOperation(dataObjectEClass, this.getProperty(), "getContainmentProperty");

    addEOperation(dataObjectEClass, this.getDataGraph(), "getDataGraph");

    addEOperation(dataObjectEClass, this.getType(), "getType");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigDecimal(), "getBigDecimal");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigInteger(), "getBigInteger");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "getBoolean");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEByte(), "getByte");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEByteArray(), "getBytes");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEChar(), "getChar");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "getDataObject");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEDate(), "getDate");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEDouble(), "getDouble");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEFloat(), "getFloat");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEInt(), "getInt");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, this.getEJavaList(), "getList");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getELong(), "getLong");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, this.getSequence(), "getSequence");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEShort(), "getShort");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEString(), "getString");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, null, "setBigDecimal");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEBigDecimal(), "value");

    op = addEOperation(dataObjectEClass, null, "setBigInteger");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEBigInteger(), "value");

    op = addEOperation(dataObjectEClass, null, "setBoolean");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEBoolean(), "value");

    op = addEOperation(dataObjectEClass, null, "setByte");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEByte(), "value");

    op = addEOperation(dataObjectEClass, null, "setBytes");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEByteArray(), "value");

    op = addEOperation(dataObjectEClass, null, "setChar");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEChar(), "value");

    op = addEOperation(dataObjectEClass, null, "setDataObject");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, this.getDataObject(), "value");

    op = addEOperation(dataObjectEClass, null, "setDate");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEDate(), "value");

    op = addEOperation(dataObjectEClass, null, "setDouble");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEDouble(), "value");

    op = addEOperation(dataObjectEClass, null, "setFloat");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEFloat(), "value");

    op = addEOperation(dataObjectEClass, null, "setInt");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEInt(), "value");

    op = addEOperation(dataObjectEClass, null, "setList");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, this.getEJavaList(), "value");

    op = addEOperation(dataObjectEClass, null, "setLong");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getELong(), "value");

    op = addEOperation(dataObjectEClass, null, "setShort");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEShort(), "value");

    op = addEOperation(dataObjectEClass, null, "setString");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEString(), "value");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigDecimal(), "getBigDecimal");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigInteger(), "getBigInteger");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "getBoolean");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEByte(), "getByte");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEByteArray(), "getBytes");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEChar(), "getChar");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "getDataObject");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEDate(), "getDate");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEDouble(), "getDouble");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEFloat(), "getFloat");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEInt(), "getInt");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, this.getEJavaList(), "getList");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getELong(), "getLong");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, this.getSequence(), "getSequence");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEShort(), "getShort");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEString(), "getString");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, null, "setBigDecimal");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEBigDecimal(), "value");

    op = addEOperation(dataObjectEClass, null, "setBigInteger");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEBigInteger(), "value");

    op = addEOperation(dataObjectEClass, null, "setBoolean");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEBoolean(), "value");

    op = addEOperation(dataObjectEClass, null, "setByte");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEByte(), "value");

    op = addEOperation(dataObjectEClass, null, "setBytes");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEByteArray(), "value");

    op = addEOperation(dataObjectEClass, null, "setChar");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEChar(), "value");

    op = addEOperation(dataObjectEClass, null, "setDataObject");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, this.getDataObject(), "value");

    op = addEOperation(dataObjectEClass, null, "setDate");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEDate(), "value");

    op = addEOperation(dataObjectEClass, null, "setDouble");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEDouble(), "value");

    op = addEOperation(dataObjectEClass, null, "setFloat");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEFloat(), "value");

    op = addEOperation(dataObjectEClass, null, "setInt");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEInt(), "value");

    op = addEOperation(dataObjectEClass, null, "setList");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, this.getEJavaList(), "value");

    op = addEOperation(dataObjectEClass, null, "setLong");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getELong(), "value");

    op = addEOperation(dataObjectEClass, null, "setShort");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEShort(), "value");

    op = addEOperation(dataObjectEClass, null, "setString");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEString(), "value");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigDecimal(), "getBigDecimal");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigInteger(), "getBigInteger");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "getBoolean");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEByte(), "getByte");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEByteArray(), "getBytes");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEChar(), "getChar");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "getDataObject");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEDate(), "getDate");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEDouble(), "getDouble");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEFloat(), "getFloat");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEInt(), "getInt");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, this.getEJavaList(), "getList");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getELong(), "getLong");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, this.getSequence(), "getSequence");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEShort(), "getShort");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEString(), "getString");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, null, "setBigDecimal");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEBigDecimal(), "value");

    op = addEOperation(dataObjectEClass, null, "setBigInteger");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEBigInteger(), "value");

    op = addEOperation(dataObjectEClass, null, "setBoolean");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEBoolean(), "value");

    op = addEOperation(dataObjectEClass, null, "setByte");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEByte(), "value");

    op = addEOperation(dataObjectEClass, null, "setBytes");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEByteArray(), "value");

    op = addEOperation(dataObjectEClass, null, "setChar");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEChar(), "value");

    op = addEOperation(dataObjectEClass, null, "setDataObject");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, this.getDataObject(), "value");

    op = addEOperation(dataObjectEClass, null, "setDate");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEDate(), "value");

    op = addEOperation(dataObjectEClass, null, "setDouble");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEDouble(), "value");

    op = addEOperation(dataObjectEClass, null, "setFloat");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEFloat(), "value");

    op = addEOperation(dataObjectEClass, null, "setInt");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEInt(), "value");

    op = addEOperation(dataObjectEClass, null, "setList");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, this.getEJavaList(), "value");

    op = addEOperation(dataObjectEClass, null, "setLong");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getELong(), "value");

    op = addEOperation(dataObjectEClass, null, "setShort");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEShort(), "value");

    op = addEOperation(dataObjectEClass, null, "setString");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEString(), "value");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, ecorePackage.getEString(), "propertyName");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, ecorePackage.getEString(), "propertyName");
    addEParameter(op, ecorePackage.getEString(), "namespaceURI");
    addEParameter(op, ecorePackage.getEString(), "typeName");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEString(), "namespaceURI");
    addEParameter(op, ecorePackage.getEString(), "typeName");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, this.getType(), "type");

    addEOperation(dataObjectEClass, null, "delete");

    addEOperation(dataObjectEClass, this.getSequence(), "getSequence");

    addEOperation(dataObjectEClass, this.getEJavaList(), "getInstanceProperties");

    op = addEOperation(dataObjectEClass, this.getProperty(), "getProperty");
    addEParameter(op, ecorePackage.getEString(), "propertyName");

    addEOperation(dataObjectEClass, this.getDataObject(), "getRootObject");

    addEOperation(dataObjectEClass, this.getChangeSummary(), "getChangeSummary");

    addEOperation(dataObjectEClass, null, "detach");

    initEClass(propertyEClass, Property.class, "Property", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    addEOperation(propertyEClass, ecorePackage.getEString(), "getName");

    addEOperation(propertyEClass, this.getType(), "getType");

    addEOperation(propertyEClass, ecorePackage.getEBoolean(), "isMany");

    addEOperation(propertyEClass, ecorePackage.getEBoolean(), "isContainment");

    addEOperation(propertyEClass, ecorePackage.getEBoolean(), "isReadOnly");

    addEOperation(propertyEClass, this.getType(), "getContainingType");

    addEOperation(propertyEClass, this.getEJavaList(), "getAliasNames");

    addEOperation(propertyEClass, this.getProperty(), "getOpposite");

    addEOperation(propertyEClass, theEcorePackage.getEJavaObject(), "getDefault");

    initEClass(sequenceEClass, Sequence.class, "Sequence", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    addEOperation(sequenceEClass, ecorePackage.getEInt(), "size");

    op = addEOperation(sequenceEClass, this.getProperty(), "getProperty");
    addEParameter(op, ecorePackage.getEInt(), "index");

    op = addEOperation(sequenceEClass, theEcorePackage.getEJavaObject(), "getValue");
    addEParameter(op, ecorePackage.getEInt(), "index");

    op = addEOperation(sequenceEClass, theEcorePackage.getEJavaObject(), "setValue");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, ecorePackage.getEBoolean(), "add");
    addEParameter(op, ecorePackage.getEString(), "propertyName");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, ecorePackage.getEBoolean(), "add");
    addEParameter(op, ecorePackage.getEInt(), "propertIndex");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, ecorePackage.getEBoolean(), "add");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, ecorePackage.getEString(), "propertyName");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEString(), "text");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, ecorePackage.getEString(), "text");

    initEClass(typeEClass, Type.class, "Type", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    addEOperation(typeEClass, ecorePackage.getEString(), "getName");

    addEOperation(typeEClass, ecorePackage.getEString(), "getURI");

    addEOperation(typeEClass, theEcorePackage.getEJavaClass(), "getInstanceClass");

    op = addEOperation(typeEClass, ecorePackage.getEBoolean(), "isInstance");
    addEParameter(op, theEcorePackage.getEJavaObject(), "object");

    addEOperation(typeEClass, ecorePackage.getEBoolean(), "isDataType");

    addEOperation(typeEClass, ecorePackage.getEBoolean(), "isSequenced");
View Full Code Here


    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    ChangePackageImpl theChangePackage = (ChangePackageImpl)EPackage.Registry.INSTANCE.getEPackage(ChangePackage.eNS_URI);
    EcorePackageImpl theEcorePackage = (EcorePackageImpl)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
    XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);

    // Add supertypes to classes
    changeSummaryEClass.getESuperTypes().add(theChangePackage.getChangeDescription());
    changeSummarySettingEClass.getESuperTypes().add(theChangePackage.getFeatureChange());
    dataGraphEClass.getESuperTypes().add(theEcorePackage.getEObject());
    anyTypeDataObjectEClass.getESuperTypes().add(this.getDataObject());
    anyTypeDataObjectEClass.getESuperTypes().add(theXMLTypePackage.getAnyType());
    simpleAnyTypeDataObjectEClass.getESuperTypes().add(this.getAnyTypeDataObject());
    simpleAnyTypeDataObjectEClass.getESuperTypes().add(theXMLTypePackage.getSimpleAnyType());
    classEClass.getESuperTypes().add(theEcorePackage.getEClass());
    classEClass.getESuperTypes().add(this.getType());
    dataTypeEClass.getESuperTypes().add(theEcorePackage.getEDataType());
    dataTypeEClass.getESuperTypes().add(this.getType());
    attributeEClass.getESuperTypes().add(theEcorePackage.getEAttribute());
    attributeEClass.getESuperTypes().add(this.getProperty());
    referenceEClass.getESuperTypes().add(theEcorePackage.getEReference());
    referenceEClass.getESuperTypes().add(this.getProperty());
    enumEClass.getESuperTypes().add(theEcorePackage.getEEnum());
    enumEClass.getESuperTypes().add(this.getType());
    dynamicDataObjectEClass.getESuperTypes().add(this.getDataObject());
    storeDataObjectEClass.getESuperTypes().add(this.getDataObject());
    dynamicStoreDataObjectEClass.getESuperTypes().add(this.getStoreDataObject());

    // Initialize classes and features; add operations and parameters
    initEClass(changeSummaryEClass, ChangeSummary.class, "ChangeSummary", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
    initEReference(getChangeSummary_EDataGraph(), this.getDataGraph(), this.getDataGraph_EChangeSummary(), "eDataGraph", null, 1, 1, ChangeSummary.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    addEOperation(changeSummaryEClass, null, "beginLogging");

    addEOperation(changeSummaryEClass, null, "endLogging");

    EOperation op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isCreated");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isDeleted");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, this.getEJavaList(), "getOldValues");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isModified");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, this.getChangeSummarySetting(), "getOldValue");
    addEParameter(op, this.getDataObject(), "dataObject");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(changeSummaryEClass, this.getDataObject(), "getOldContainer");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, this.getProperty(), "getOldContainmentProperty");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, this.getSequence(), "getOldSequence");
    addEParameter(op, this.getDataObject(), "dataObject");

    addEOperation(changeSummaryEClass, null, "undoChanges");

    addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isLogging");

    addEOperation(changeSummaryEClass, this.getDataGraph(), "getDataGraph");

    addEOperation(changeSummaryEClass, this.getEJavaList(), "getChangedObjects");

    addEOperation(changeSummaryEClass, this.getDataObject(), "getRootObject");

    initEClass(changeSummarySettingEClass, ChangeSummary.Setting.class, "ChangeSummarySetting", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    addEOperation(changeSummarySettingEClass, ecorePackage.getEBoolean(), "isSet");

    addEOperation(changeSummarySettingEClass, theEcorePackage.getEJavaObject(), "getValue");

    addEOperation(changeSummarySettingEClass, this.getProperty(), "getProperty");

    initEClass(dataGraphEClass, DataGraph.class, "DataGraph", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getDataGraph_ResourceSet(), theEcorePackage.getEResourceSet(), "resourceSet", null, 0, 1, DataGraph.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getDataGraph_RootResource(), theEcorePackage.getEResource(), "rootResource", null, 0, 1, DataGraph.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
    initEReference(getDataGraph_EChangeSummary(), this.getChangeSummary(), this.getChangeSummary_EDataGraph(), "eChangeSummary", null, 1, 1, DataGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getDataGraph_ERootObject(), theEcorePackage.getEObject(), null, "eRootObject", null, 1, 1, DataGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    op = addEOperation(dataGraphEClass, this.getDataObject(), "createRootObject");
    addEParameter(op, ecorePackage.getEString(), "namespaceURI");
    addEParameter(op, ecorePackage.getEString(), "typeName");

    op = addEOperation(dataGraphEClass, this.getDataObject(), "createRootObject");
    addEParameter(op, this.getType(), "type");

    op = addEOperation(dataGraphEClass, this.getType(), "getType");
    addEParameter(op, ecorePackage.getEString(), "namespaceURI");
    addEParameter(op, ecorePackage.getEString(), "typeName");

    addEOperation(dataGraphEClass, this.getDataObject(), "getRootObject");

    addEOperation(dataGraphEClass, this.getChangeSummary(), "getChangeSummary");

    initEClass(dataObjectEClass, DataObject.class, "DataObject", IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    op = addEOperation(dataObjectEClass, theEcorePackage.getEJavaObject(), "get");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, null, "set");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "isSet");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, null, "unset");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEJavaObject(), "get");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, null, "set");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "isSet");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, null, "unset");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEJavaObject(), "get");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, null, "set");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "isSet");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, null, "unset");
    addEParameter(op, this.getProperty(), "property");

    addEOperation(dataObjectEClass, this.getDataObject(), "getContainer");

    addEOperation(dataObjectEClass, this.getProperty(), "getContainmentProperty");

    addEOperation(dataObjectEClass, this.getDataGraph(), "getDataGraph");

    addEOperation(dataObjectEClass, this.getType(), "getType");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigDecimal(), "getBigDecimal");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigInteger(), "getBigInteger");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "getBoolean");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEByte(), "getByte");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEByteArray(), "getBytes");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEChar(), "getChar");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "getDataObject");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEDate(), "getDate");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEDouble(), "getDouble");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEFloat(), "getFloat");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEInt(), "getInt");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, this.getEJavaList(), "getList");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getELong(), "getLong");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, this.getSequence(), "getSequence");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEShort(), "getShort");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEString(), "getString");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, null, "setBigDecimal");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEBigDecimal(), "value");

    op = addEOperation(dataObjectEClass, null, "setBigInteger");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEBigInteger(), "value");

    op = addEOperation(dataObjectEClass, null, "setBoolean");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEBoolean(), "value");

    op = addEOperation(dataObjectEClass, null, "setByte");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEByte(), "value");

    op = addEOperation(dataObjectEClass, null, "setBytes");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEByteArray(), "value");

    op = addEOperation(dataObjectEClass, null, "setChar");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEChar(), "value");

    op = addEOperation(dataObjectEClass, null, "setDataObject");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, this.getDataObject(), "value");

    op = addEOperation(dataObjectEClass, null, "setDate");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEDate(), "value");

    op = addEOperation(dataObjectEClass, null, "setDouble");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEDouble(), "value");

    op = addEOperation(dataObjectEClass, null, "setFloat");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEFloat(), "value");

    op = addEOperation(dataObjectEClass, null, "setInt");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEInt(), "value");

    op = addEOperation(dataObjectEClass, null, "setList");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, this.getEJavaList(), "value");

    op = addEOperation(dataObjectEClass, null, "setLong");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getELong(), "value");

    op = addEOperation(dataObjectEClass, null, "setShort");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEShort(), "value");

    op = addEOperation(dataObjectEClass, null, "setString");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEString(), "value");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigDecimal(), "getBigDecimal");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigInteger(), "getBigInteger");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "getBoolean");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEByte(), "getByte");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEByteArray(), "getBytes");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEChar(), "getChar");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "getDataObject");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEDate(), "getDate");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEDouble(), "getDouble");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEFloat(), "getFloat");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEInt(), "getInt");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, this.getEJavaList(), "getList");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getELong(), "getLong");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, this.getSequence(), "getSequence");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEShort(), "getShort");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEString(), "getString");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, null, "setBigDecimal");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEBigDecimal(), "value");

    op = addEOperation(dataObjectEClass, null, "setBigInteger");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEBigInteger(), "value");

    op = addEOperation(dataObjectEClass, null, "setBoolean");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEBoolean(), "value");

    op = addEOperation(dataObjectEClass, null, "setByte");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEByte(), "value");

    op = addEOperation(dataObjectEClass, null, "setBytes");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEByteArray(), "value");

    op = addEOperation(dataObjectEClass, null, "setChar");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEChar(), "value");

    op = addEOperation(dataObjectEClass, null, "setDataObject");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, this.getDataObject(), "value");

    op = addEOperation(dataObjectEClass, null, "setDate");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEDate(), "value");

    op = addEOperation(dataObjectEClass, null, "setDouble");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEDouble(), "value");

    op = addEOperation(dataObjectEClass, null, "setFloat");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEFloat(), "value");

    op = addEOperation(dataObjectEClass, null, "setInt");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEInt(), "value");

    op = addEOperation(dataObjectEClass, null, "setList");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, this.getEJavaList(), "value");

    op = addEOperation(dataObjectEClass, null, "setLong");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getELong(), "value");

    op = addEOperation(dataObjectEClass, null, "setShort");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEShort(), "value");

    op = addEOperation(dataObjectEClass, null, "setString");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEString(), "value");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigDecimal(), "getBigDecimal");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigInteger(), "getBigInteger");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "getBoolean");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEByte(), "getByte");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEByteArray(), "getBytes");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEChar(), "getChar");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "getDataObject");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEDate(), "getDate");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEDouble(), "getDouble");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEFloat(), "getFloat");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEInt(), "getInt");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, this.getEJavaList(), "getList");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getELong(), "getLong");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, this.getSequence(), "getSequence");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEShort(), "getShort");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEString(), "getString");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, null, "setBigDecimal");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEBigDecimal(), "value");

    op = addEOperation(dataObjectEClass, null, "setBigInteger");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEBigInteger(), "value");

    op = addEOperation(dataObjectEClass, null, "setBoolean");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEBoolean(), "value");

    op = addEOperation(dataObjectEClass, null, "setByte");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEByte(), "value");

    op = addEOperation(dataObjectEClass, null, "setBytes");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEByteArray(), "value");

    op = addEOperation(dataObjectEClass, null, "setChar");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEChar(), "value");

    op = addEOperation(dataObjectEClass, null, "setDataObject");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, this.getDataObject(), "value");

    op = addEOperation(dataObjectEClass, null, "setDate");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEDate(), "value");

    op = addEOperation(dataObjectEClass, null, "setDouble");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEDouble(), "value");

    op = addEOperation(dataObjectEClass, null, "setFloat");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEFloat(), "value");

    op = addEOperation(dataObjectEClass, null, "setInt");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEInt(), "value");

    op = addEOperation(dataObjectEClass, null, "setList");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, this.getEJavaList(), "value");

    op = addEOperation(dataObjectEClass, null, "setLong");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getELong(), "value");

    op = addEOperation(dataObjectEClass, null, "setShort");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEShort(), "value");

    op = addEOperation(dataObjectEClass, null, "setString");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEString(), "value");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, ecorePackage.getEString(), "propertyName");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, ecorePackage.getEString(), "propertyName");
    addEParameter(op, ecorePackage.getEString(), "namespaceURI");
    addEParameter(op, ecorePackage.getEString(), "typeName");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEString(), "namespaceURI");
    addEParameter(op, ecorePackage.getEString(), "typeName");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, this.getType(), "type");

    addEOperation(dataObjectEClass, null, "delete");

    addEOperation(dataObjectEClass, this.getSequence(), "getSequence");

    addEOperation(dataObjectEClass, this.getEJavaList(), "getInstanceProperties");

    op = addEOperation(dataObjectEClass, this.getProperty(), "getProperty");
    addEParameter(op, ecorePackage.getEString(), "propertyName");

    addEOperation(dataObjectEClass, this.getDataObject(), "getRootObject");

    addEOperation(dataObjectEClass, this.getChangeSummary(), "getChangeSummary");

    addEOperation(dataObjectEClass, null, "detach");

    initEClass(propertyEClass, Property.class, "Property", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    addEOperation(propertyEClass, ecorePackage.getEString(), "getName");

    addEOperation(propertyEClass, this.getType(), "getType");

    addEOperation(propertyEClass, ecorePackage.getEBoolean(), "isMany");

    addEOperation(propertyEClass, ecorePackage.getEBoolean(), "isContainment");

    addEOperation(propertyEClass, ecorePackage.getEBoolean(), "isReadOnly");

    addEOperation(propertyEClass, this.getType(), "getContainingType");

    addEOperation(propertyEClass, this.getEJavaList(), "getAliasNames");

    addEOperation(propertyEClass, this.getProperty(), "getOpposite");

    addEOperation(propertyEClass, theEcorePackage.getEJavaObject(), "getDefault");

    initEClass(sequenceEClass, Sequence.class, "Sequence", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    addEOperation(sequenceEClass, ecorePackage.getEInt(), "size");

    op = addEOperation(sequenceEClass, this.getProperty(), "getProperty");
    addEParameter(op, ecorePackage.getEInt(), "index");

    op = addEOperation(sequenceEClass, theEcorePackage.getEJavaObject(), "getValue");
    addEParameter(op, ecorePackage.getEInt(), "index");

    op = addEOperation(sequenceEClass, theEcorePackage.getEJavaObject(), "setValue");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, ecorePackage.getEBoolean(), "add");
    addEParameter(op, ecorePackage.getEString(), "propertyName");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, ecorePackage.getEBoolean(), "add");
    addEParameter(op, ecorePackage.getEInt(), "propertIndex");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, ecorePackage.getEBoolean(), "add");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, ecorePackage.getEString(), "propertyName");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEString(), "text");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, ecorePackage.getEString(), "text");

    initEClass(typeEClass, Type.class, "Type", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    addEOperation(typeEClass, ecorePackage.getEString(), "getName");

    addEOperation(typeEClass, ecorePackage.getEString(), "getURI");

    addEOperation(typeEClass, theEcorePackage.getEJavaClass(), "getInstanceClass");

    op = addEOperation(typeEClass, ecorePackage.getEBoolean(), "isInstance");
    addEParameter(op, theEcorePackage.getEJavaObject(), "object");

    addEOperation(typeEClass, ecorePackage.getEBoolean(), "isDataType");

    addEOperation(typeEClass, ecorePackage.getEBoolean(), "isSequenced");
View Full Code Here

    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    ChangePackageImpl theChangePackage = (ChangePackageImpl)EPackage.Registry.INSTANCE.getEPackage(ChangePackage.eNS_URI);
    EcorePackageImpl theEcorePackage = (EcorePackageImpl)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
    XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);

    // Add supertypes to classes
    changeSummaryEClass.getESuperTypes().add(theChangePackage.getChangeDescription());
    changeSummarySettingEClass.getESuperTypes().add(theChangePackage.getFeatureChange());
    dataGraphEClass.getESuperTypes().add(theEcorePackage.getEObject());
    anyTypeDataObjectEClass.getESuperTypes().add(this.getDataObject());
    anyTypeDataObjectEClass.getESuperTypes().add(theXMLTypePackage.getAnyType());
    simpleAnyTypeDataObjectEClass.getESuperTypes().add(this.getAnyTypeDataObject());
    simpleAnyTypeDataObjectEClass.getESuperTypes().add(theXMLTypePackage.getSimpleAnyType());
    classEClass.getESuperTypes().add(theEcorePackage.getEClass());
    classEClass.getESuperTypes().add(this.getType());
    dataTypeEClass.getESuperTypes().add(theEcorePackage.getEDataType());
    dataTypeEClass.getESuperTypes().add(this.getType());
    attributeEClass.getESuperTypes().add(theEcorePackage.getEAttribute());
    attributeEClass.getESuperTypes().add(this.getProperty());
    referenceEClass.getESuperTypes().add(theEcorePackage.getEReference());
    referenceEClass.getESuperTypes().add(this.getProperty());
    enumEClass.getESuperTypes().add(theEcorePackage.getEEnum());
    enumEClass.getESuperTypes().add(this.getType());
    dynamicDataObjectEClass.getESuperTypes().add(this.getDataObject());
    storeDataObjectEClass.getESuperTypes().add(this.getDataObject());
    dynamicStoreDataObjectEClass.getESuperTypes().add(this.getStoreDataObject());
    extensibleDataObjectEClass.getESuperTypes().add(this.getDataObject());

    // Initialize classes and features; add operations and parameters
    initEClass(changeSummaryEClass, ChangeSummary.class, "ChangeSummary", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
    initEReference(getChangeSummary_EDataGraph(), this.getDataGraph(), this.getDataGraph_EChangeSummary(), "eDataGraph", null, 1, 1, ChangeSummary.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    addEOperation(changeSummaryEClass, null, "beginLogging");

    addEOperation(changeSummaryEClass, null, "endLogging");

    EOperation op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isCreated");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isDeleted");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, this.getEJavaList(), "getOldValues");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isModified");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, this.getChangeSummarySetting(), "getOldValue");
    addEParameter(op, this.getDataObject(), "dataObject");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(changeSummaryEClass, this.getDataObject(), "getOldContainer");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, this.getProperty(), "getOldContainmentProperty");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, this.getSequence(), "getOldSequence");
    addEParameter(op, this.getDataObject(), "dataObject");

    addEOperation(changeSummaryEClass, null, "undoChanges");

    addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isLogging");

    addEOperation(changeSummaryEClass, this.getDataGraph(), "getDataGraph");

    addEOperation(changeSummaryEClass, this.getEJavaList(), "getChangedObjects");

    addEOperation(changeSummaryEClass, this.getDataObject(), "getRootObject");

    initEClass(changeSummarySettingEClass, ChangeSummary.Setting.class, "ChangeSummarySetting", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    addEOperation(changeSummarySettingEClass, ecorePackage.getEBoolean(), "isSet");

    addEOperation(changeSummarySettingEClass, theEcorePackage.getEJavaObject(), "getValue");

    addEOperation(changeSummarySettingEClass, this.getProperty(), "getProperty");

    initEClass(dataGraphEClass, DataGraph.class, "DataGraph", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getDataGraph_ResourceSet(), theEcorePackage.getEResourceSet(), "resourceSet", null, 0, 1, DataGraph.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getDataGraph_RootResource(), theEcorePackage.getEResource(), "rootResource", null, 0, 1, DataGraph.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
    initEReference(getDataGraph_EChangeSummary(), this.getChangeSummary(), this.getChangeSummary_EDataGraph(), "eChangeSummary", null, 1, 1, DataGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getDataGraph_ERootObject(), theEcorePackage.getEObject(), null, "eRootObject", null, 1, 1, DataGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    op = addEOperation(dataGraphEClass, this.getDataObject(), "createRootObject");
    addEParameter(op, ecorePackage.getEString(), "namespaceURI");
    addEParameter(op, ecorePackage.getEString(), "typeName");

    op = addEOperation(dataGraphEClass, this.getDataObject(), "createRootObject");
    addEParameter(op, this.getType(), "type");

    op = addEOperation(dataGraphEClass, this.getType(), "getType");
    addEParameter(op, ecorePackage.getEString(), "namespaceURI");
    addEParameter(op, ecorePackage.getEString(), "typeName");

    addEOperation(dataGraphEClass, this.getDataObject(), "getRootObject");

    addEOperation(dataGraphEClass, this.getChangeSummary(), "getChangeSummary");

    initEClass(dataObjectEClass, DataObject.class, "DataObject", IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    op = addEOperation(dataObjectEClass, theEcorePackage.getEJavaObject(), "get");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, null, "set");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "isSet");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, null, "unset");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEJavaObject(), "get");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, null, "set");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "isSet");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, null, "unset");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEJavaObject(), "get");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, null, "set");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "isSet");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, null, "unset");
    addEParameter(op, this.getProperty(), "property");

    addEOperation(dataObjectEClass, this.getDataObject(), "getContainer");

    addEOperation(dataObjectEClass, this.getProperty(), "getContainmentProperty");

    addEOperation(dataObjectEClass, this.getDataGraph(), "getDataGraph");

    addEOperation(dataObjectEClass, this.getType(), "getType");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigDecimal(), "getBigDecimal");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigInteger(), "getBigInteger");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "getBoolean");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEByte(), "getByte");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEByteArray(), "getBytes");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEChar(), "getChar");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "getDataObject");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEDate(), "getDate");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEDouble(), "getDouble");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEFloat(), "getFloat");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEInt(), "getInt");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, this.getEJavaList(), "getList");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getELong(), "getLong");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, this.getSequence(), "getSequence");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEShort(), "getShort");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEString(), "getString");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, null, "setBigDecimal");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEBigDecimal(), "value");

    op = addEOperation(dataObjectEClass, null, "setBigInteger");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEBigInteger(), "value");

    op = addEOperation(dataObjectEClass, null, "setBoolean");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEBoolean(), "value");

    op = addEOperation(dataObjectEClass, null, "setByte");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEByte(), "value");

    op = addEOperation(dataObjectEClass, null, "setBytes");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEByteArray(), "value");

    op = addEOperation(dataObjectEClass, null, "setChar");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEChar(), "value");

    op = addEOperation(dataObjectEClass, null, "setDataObject");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, this.getDataObject(), "value");

    op = addEOperation(dataObjectEClass, null, "setDate");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEDate(), "value");

    op = addEOperation(dataObjectEClass, null, "setDouble");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEDouble(), "value");

    op = addEOperation(dataObjectEClass, null, "setFloat");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEFloat(), "value");

    op = addEOperation(dataObjectEClass, null, "setInt");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEInt(), "value");

    op = addEOperation(dataObjectEClass, null, "setList");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, this.getEJavaList(), "value");

    op = addEOperation(dataObjectEClass, null, "setLong");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getELong(), "value");

    op = addEOperation(dataObjectEClass, null, "setShort");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEShort(), "value");

    op = addEOperation(dataObjectEClass, null, "setString");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEString(), "value");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigDecimal(), "getBigDecimal");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigInteger(), "getBigInteger");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "getBoolean");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEByte(), "getByte");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEByteArray(), "getBytes");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEChar(), "getChar");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "getDataObject");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEDate(), "getDate");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEDouble(), "getDouble");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEFloat(), "getFloat");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEInt(), "getInt");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, this.getEJavaList(), "getList");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getELong(), "getLong");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, this.getSequence(), "getSequence");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEShort(), "getShort");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEString(), "getString");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, null, "setBigDecimal");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEBigDecimal(), "value");

    op = addEOperation(dataObjectEClass, null, "setBigInteger");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEBigInteger(), "value");

    op = addEOperation(dataObjectEClass, null, "setBoolean");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEBoolean(), "value");

    op = addEOperation(dataObjectEClass, null, "setByte");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEByte(), "value");

    op = addEOperation(dataObjectEClass, null, "setBytes");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEByteArray(), "value");

    op = addEOperation(dataObjectEClass, null, "setChar");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEChar(), "value");

    op = addEOperation(dataObjectEClass, null, "setDataObject");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, this.getDataObject(), "value");

    op = addEOperation(dataObjectEClass, null, "setDate");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEDate(), "value");

    op = addEOperation(dataObjectEClass, null, "setDouble");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEDouble(), "value");

    op = addEOperation(dataObjectEClass, null, "setFloat");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEFloat(), "value");

    op = addEOperation(dataObjectEClass, null, "setInt");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEInt(), "value");

    op = addEOperation(dataObjectEClass, null, "setList");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, this.getEJavaList(), "value");

    op = addEOperation(dataObjectEClass, null, "setLong");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getELong(), "value");

    op = addEOperation(dataObjectEClass, null, "setShort");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEShort(), "value");

    op = addEOperation(dataObjectEClass, null, "setString");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEString(), "value");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigDecimal(), "getBigDecimal");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigInteger(), "getBigInteger");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "getBoolean");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEByte(), "getByte");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEByteArray(), "getBytes");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEChar(), "getChar");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "getDataObject");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEDate(), "getDate");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEDouble(), "getDouble");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEFloat(), "getFloat");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEInt(), "getInt");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, this.getEJavaList(), "getList");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getELong(), "getLong");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, this.getSequence(), "getSequence");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEShort(), "getShort");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEString(), "getString");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, null, "setBigDecimal");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEBigDecimal(), "value");

    op = addEOperation(dataObjectEClass, null, "setBigInteger");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEBigInteger(), "value");

    op = addEOperation(dataObjectEClass, null, "setBoolean");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEBoolean(), "value");

    op = addEOperation(dataObjectEClass, null, "setByte");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEByte(), "value");

    op = addEOperation(dataObjectEClass, null, "setBytes");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEByteArray(), "value");

    op = addEOperation(dataObjectEClass, null, "setChar");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEChar(), "value");

    op = addEOperation(dataObjectEClass, null, "setDataObject");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, this.getDataObject(), "value");

    op = addEOperation(dataObjectEClass, null, "setDate");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEDate(), "value");

    op = addEOperation(dataObjectEClass, null, "setDouble");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEDouble(), "value");

    op = addEOperation(dataObjectEClass, null, "setFloat");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEFloat(), "value");

    op = addEOperation(dataObjectEClass, null, "setInt");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEInt(), "value");

    op = addEOperation(dataObjectEClass, null, "setList");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, this.getEJavaList(), "value");

    op = addEOperation(dataObjectEClass, null, "setLong");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getELong(), "value");

    op = addEOperation(dataObjectEClass, null, "setShort");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEShort(), "value");

    op = addEOperation(dataObjectEClass, null, "setString");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEString(), "value");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, ecorePackage.getEString(), "propertyName");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, ecorePackage.getEString(), "propertyName");
    addEParameter(op, ecorePackage.getEString(), "namespaceURI");
    addEParameter(op, ecorePackage.getEString(), "typeName");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEString(), "namespaceURI");
    addEParameter(op, ecorePackage.getEString(), "typeName");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, this.getType(), "type");

    addEOperation(dataObjectEClass, null, "delete");

    addEOperation(dataObjectEClass, this.getSequence(), "getSequence");

    addEOperation(dataObjectEClass, this.getEJavaList(), "getInstanceProperties");

    op = addEOperation(dataObjectEClass, this.getProperty(), "getProperty");
    addEParameter(op, ecorePackage.getEString(), "propertyName");

    addEOperation(dataObjectEClass, this.getDataObject(), "getRootObject");

    addEOperation(dataObjectEClass, this.getChangeSummary(), "getChangeSummary");

    addEOperation(dataObjectEClass, null, "detach");

    initEClass(propertyEClass, Property.class, "Property", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    addEOperation(propertyEClass, ecorePackage.getEString(), "getName");

    addEOperation(propertyEClass, this.getType(), "getType");

    addEOperation(propertyEClass, ecorePackage.getEBoolean(), "isMany");

    addEOperation(propertyEClass, ecorePackage.getEBoolean(), "isContainment");

    addEOperation(propertyEClass, ecorePackage.getEBoolean(), "isReadOnly");

    addEOperation(propertyEClass, this.getType(), "getContainingType");

    addEOperation(propertyEClass, this.getEJavaList(), "getAliasNames");

    addEOperation(propertyEClass, this.getProperty(), "getOpposite");

    addEOperation(propertyEClass, theEcorePackage.getEJavaObject(), "getDefault");

    initEClass(sequenceEClass, Sequence.class, "Sequence", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    addEOperation(sequenceEClass, ecorePackage.getEInt(), "size");

    op = addEOperation(sequenceEClass, this.getProperty(), "getProperty");
    addEParameter(op, ecorePackage.getEInt(), "index");

    op = addEOperation(sequenceEClass, theEcorePackage.getEJavaObject(), "getValue");
    addEParameter(op, ecorePackage.getEInt(), "index");

    op = addEOperation(sequenceEClass, theEcorePackage.getEJavaObject(), "setValue");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, ecorePackage.getEBoolean(), "add");
    addEParameter(op, ecorePackage.getEString(), "propertyName");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, ecorePackage.getEBoolean(), "add");
    addEParameter(op, ecorePackage.getEInt(), "propertIndex");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, ecorePackage.getEBoolean(), "add");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, ecorePackage.getEString(), "propertyName");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEString(), "text");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, ecorePackage.getEString(), "text");

    initEClass(typeEClass, Type.class, "Type", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    addEOperation(typeEClass, ecorePackage.getEString(), "getName");

    addEOperation(typeEClass, ecorePackage.getEString(), "getURI");

    addEOperation(typeEClass, theEcorePackage.getEJavaClass(), "getInstanceClass");

    op = addEOperation(typeEClass, ecorePackage.getEBoolean(), "isInstance");
    addEParameter(op, theEcorePackage.getEJavaObject(), "object");

    addEOperation(typeEClass, ecorePackage.getEBoolean(), "isDataType");

    addEOperation(typeEClass, ecorePackage.getEBoolean(), "isSequenced");
View Full Code Here

    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    ChangePackageImpl theChangePackage = (ChangePackageImpl)EPackage.Registry.INSTANCE.getEPackage(ChangePackage.eNS_URI);
    EcorePackageImpl theEcorePackage = (EcorePackageImpl)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
    XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);

    // Add supertypes to classes
    changeSummaryEClass.getESuperTypes().add(theChangePackage.getChangeDescription());
    changeSummarySettingEClass.getESuperTypes().add(theChangePackage.getFeatureChange());
    dataGraphEClass.getESuperTypes().add(theEcorePackage.getEObject());
    anyTypeDataObjectEClass.getESuperTypes().add(this.getDataObject());
    anyTypeDataObjectEClass.getESuperTypes().add(theXMLTypePackage.getAnyType());
    simpleAnyTypeDataObjectEClass.getESuperTypes().add(this.getAnyTypeDataObject());
    simpleAnyTypeDataObjectEClass.getESuperTypes().add(theXMLTypePackage.getSimpleAnyType());
    classEClass.getESuperTypes().add(theEcorePackage.getEClass());
    classEClass.getESuperTypes().add(this.getType());
    dataTypeEClass.getESuperTypes().add(theEcorePackage.getEDataType());
    dataTypeEClass.getESuperTypes().add(this.getType());
    attributeEClass.getESuperTypes().add(theEcorePackage.getEAttribute());
    attributeEClass.getESuperTypes().add(this.getProperty());
    referenceEClass.getESuperTypes().add(theEcorePackage.getEReference());
    referenceEClass.getESuperTypes().add(this.getProperty());
    enumEClass.getESuperTypes().add(theEcorePackage.getEEnum());
    enumEClass.getESuperTypes().add(this.getType());
    dynamicDataObjectEClass.getESuperTypes().add(this.getDataObject());
    storeDataObjectEClass.getESuperTypes().add(this.getDataObject());
    dynamicStoreDataObjectEClass.getESuperTypes().add(this.getStoreDataObject());

    // Initialize classes and features; add operations and parameters
    initEClass(changeSummaryEClass, ChangeSummary.class, "ChangeSummary", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
    initEReference(getChangeSummary_EDataGraph(), this.getDataGraph(), this.getDataGraph_EChangeSummary(), "eDataGraph", null, 1, 1, ChangeSummary.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    addEOperation(changeSummaryEClass, null, "beginLogging");

    addEOperation(changeSummaryEClass, null, "endLogging");

    EOperation op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isCreated");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isDeleted");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, this.getEJavaList(), "getOldValues");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isModified");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, this.getChangeSummarySetting(), "getOldValue");
    addEParameter(op, this.getDataObject(), "dataObject");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(changeSummaryEClass, this.getDataObject(), "getOldContainer");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, this.getProperty(), "getOldContainmentProperty");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, this.getSequence(), "getOldSequence");
    addEParameter(op, this.getDataObject(), "dataObject");

    addEOperation(changeSummaryEClass, null, "undoChanges");

    addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isLogging");

    addEOperation(changeSummaryEClass, this.getDataGraph(), "getDataGraph");

    addEOperation(changeSummaryEClass, this.getEJavaList(), "getChangedObjects");

    addEOperation(changeSummaryEClass, this.getDataObject(), "getRootObject");

    initEClass(changeSummarySettingEClass, ChangeSummary.Setting.class, "ChangeSummarySetting", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    addEOperation(changeSummarySettingEClass, ecorePackage.getEBoolean(), "isSet");

    addEOperation(changeSummarySettingEClass, theEcorePackage.getEJavaObject(), "getValue");

    addEOperation(changeSummarySettingEClass, this.getProperty(), "getProperty");

    initEClass(dataGraphEClass, DataGraph.class, "DataGraph", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getDataGraph_ResourceSet(), theEcorePackage.getEResourceSet(), "resourceSet", null, 0, 1, DataGraph.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getDataGraph_RootResource(), theEcorePackage.getEResource(), "rootResource", null, 0, 1, DataGraph.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
    initEReference(getDataGraph_EChangeSummary(), this.getChangeSummary(), this.getChangeSummary_EDataGraph(), "eChangeSummary", null, 1, 1, DataGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getDataGraph_ERootObject(), theEcorePackage.getEObject(), null, "eRootObject", null, 1, 1, DataGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    op = addEOperation(dataGraphEClass, this.getDataObject(), "createRootObject");
    addEParameter(op, ecorePackage.getEString(), "namespaceURI");
    addEParameter(op, ecorePackage.getEString(), "typeName");

    op = addEOperation(dataGraphEClass, this.getDataObject(), "createRootObject");
    addEParameter(op, this.getType(), "type");

    op = addEOperation(dataGraphEClass, this.getType(), "getType");
    addEParameter(op, ecorePackage.getEString(), "namespaceURI");
    addEParameter(op, ecorePackage.getEString(), "typeName");

    addEOperation(dataGraphEClass, this.getDataObject(), "getRootObject");

    addEOperation(dataGraphEClass, this.getChangeSummary(), "getChangeSummary");

    initEClass(dataObjectEClass, DataObject.class, "DataObject", IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    op = addEOperation(dataObjectEClass, theEcorePackage.getEJavaObject(), "get");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, null, "set");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "isSet");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, null, "unset");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEJavaObject(), "get");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, null, "set");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "isSet");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, null, "unset");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEJavaObject(), "get");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, null, "set");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "isSet");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, null, "unset");
    addEParameter(op, this.getProperty(), "property");

    addEOperation(dataObjectEClass, this.getDataObject(), "getContainer");

    addEOperation(dataObjectEClass, this.getProperty(), "getContainmentProperty");

    addEOperation(dataObjectEClass, this.getDataGraph(), "getDataGraph");

    addEOperation(dataObjectEClass, this.getType(), "getType");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigDecimal(), "getBigDecimal");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigInteger(), "getBigInteger");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "getBoolean");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEByte(), "getByte");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEByteArray(), "getBytes");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEChar(), "getChar");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "getDataObject");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEDate(), "getDate");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEDouble(), "getDouble");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEFloat(), "getFloat");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEInt(), "getInt");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, this.getEJavaList(), "getList");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getELong(), "getLong");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, this.getSequence(), "getSequence");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEShort(), "getShort");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, ecorePackage.getEString(), "getString");
    addEParameter(op, ecorePackage.getEString(), "path");

    op = addEOperation(dataObjectEClass, null, "setBigDecimal");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEBigDecimal(), "value");

    op = addEOperation(dataObjectEClass, null, "setBigInteger");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEBigInteger(), "value");

    op = addEOperation(dataObjectEClass, null, "setBoolean");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEBoolean(), "value");

    op = addEOperation(dataObjectEClass, null, "setByte");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEByte(), "value");

    op = addEOperation(dataObjectEClass, null, "setBytes");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEByteArray(), "value");

    op = addEOperation(dataObjectEClass, null, "setChar");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEChar(), "value");

    op = addEOperation(dataObjectEClass, null, "setDataObject");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, this.getDataObject(), "value");

    op = addEOperation(dataObjectEClass, null, "setDate");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, theEcorePackage.getEDate(), "value");

    op = addEOperation(dataObjectEClass, null, "setDouble");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEDouble(), "value");

    op = addEOperation(dataObjectEClass, null, "setFloat");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEFloat(), "value");

    op = addEOperation(dataObjectEClass, null, "setInt");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEInt(), "value");

    op = addEOperation(dataObjectEClass, null, "setList");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, this.getEJavaList(), "value");

    op = addEOperation(dataObjectEClass, null, "setLong");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getELong(), "value");

    op = addEOperation(dataObjectEClass, null, "setShort");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEShort(), "value");

    op = addEOperation(dataObjectEClass, null, "setString");
    addEParameter(op, ecorePackage.getEString(), "path");
    addEParameter(op, ecorePackage.getEString(), "value");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigDecimal(), "getBigDecimal");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigInteger(), "getBigInteger");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "getBoolean");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEByte(), "getByte");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEByteArray(), "getBytes");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEChar(), "getChar");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "getDataObject");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEDate(), "getDate");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEDouble(), "getDouble");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEFloat(), "getFloat");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEInt(), "getInt");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, this.getEJavaList(), "getList");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getELong(), "getLong");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, this.getSequence(), "getSequence");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEShort(), "getShort");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, ecorePackage.getEString(), "getString");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, null, "setBigDecimal");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEBigDecimal(), "value");

    op = addEOperation(dataObjectEClass, null, "setBigInteger");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEBigInteger(), "value");

    op = addEOperation(dataObjectEClass, null, "setBoolean");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEBoolean(), "value");

    op = addEOperation(dataObjectEClass, null, "setByte");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEByte(), "value");

    op = addEOperation(dataObjectEClass, null, "setBytes");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEByteArray(), "value");

    op = addEOperation(dataObjectEClass, null, "setChar");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEChar(), "value");

    op = addEOperation(dataObjectEClass, null, "setDataObject");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, this.getDataObject(), "value");

    op = addEOperation(dataObjectEClass, null, "setDate");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEDate(), "value");

    op = addEOperation(dataObjectEClass, null, "setDouble");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEDouble(), "value");

    op = addEOperation(dataObjectEClass, null, "setFloat");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEFloat(), "value");

    op = addEOperation(dataObjectEClass, null, "setInt");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEInt(), "value");

    op = addEOperation(dataObjectEClass, null, "setList");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, this.getEJavaList(), "value");

    op = addEOperation(dataObjectEClass, null, "setLong");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getELong(), "value");

    op = addEOperation(dataObjectEClass, null, "setShort");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEShort(), "value");

    op = addEOperation(dataObjectEClass, null, "setString");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEString(), "value");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigDecimal(), "getBigDecimal");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEBigInteger(), "getBigInteger");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEBoolean(), "getBoolean");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEByte(), "getByte");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEByteArray(), "getBytes");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEChar(), "getChar");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "getDataObject");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, theEcorePackage.getEDate(), "getDate");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEDouble(), "getDouble");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEFloat(), "getFloat");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEInt(), "getInt");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, this.getEJavaList(), "getList");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getELong(), "getLong");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, this.getSequence(), "getSequence");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEShort(), "getShort");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, ecorePackage.getEString(), "getString");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, null, "setBigDecimal");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEBigDecimal(), "value");

    op = addEOperation(dataObjectEClass, null, "setBigInteger");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEBigInteger(), "value");

    op = addEOperation(dataObjectEClass, null, "setBoolean");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEBoolean(), "value");

    op = addEOperation(dataObjectEClass, null, "setByte");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEByte(), "value");

    op = addEOperation(dataObjectEClass, null, "setBytes");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEByteArray(), "value");

    op = addEOperation(dataObjectEClass, null, "setChar");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEChar(), "value");

    op = addEOperation(dataObjectEClass, null, "setDataObject");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, this.getDataObject(), "value");

    op = addEOperation(dataObjectEClass, null, "setDate");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEDate(), "value");

    op = addEOperation(dataObjectEClass, null, "setDouble");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEDouble(), "value");

    op = addEOperation(dataObjectEClass, null, "setFloat");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEFloat(), "value");

    op = addEOperation(dataObjectEClass, null, "setInt");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEInt(), "value");

    op = addEOperation(dataObjectEClass, null, "setList");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, this.getEJavaList(), "value");

    op = addEOperation(dataObjectEClass, null, "setLong");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getELong(), "value");

    op = addEOperation(dataObjectEClass, null, "setShort");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEShort(), "value");

    op = addEOperation(dataObjectEClass, null, "setString");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, ecorePackage.getEString(), "value");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, ecorePackage.getEString(), "propertyName");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, this.getProperty(), "property");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, ecorePackage.getEString(), "propertyName");
    addEParameter(op, ecorePackage.getEString(), "namespaceURI");
    addEParameter(op, ecorePackage.getEString(), "typeName");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, ecorePackage.getEString(), "namespaceURI");
    addEParameter(op, ecorePackage.getEString(), "typeName");

    op = addEOperation(dataObjectEClass, this.getDataObject(), "createDataObject");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, this.getType(), "type");

    addEOperation(dataObjectEClass, null, "delete");

    addEOperation(dataObjectEClass, this.getSequence(), "getSequence");

    addEOperation(dataObjectEClass, this.getEJavaList(), "getInstanceProperties");

    op = addEOperation(dataObjectEClass, this.getProperty(), "getProperty");
    addEParameter(op, ecorePackage.getEString(), "propertyName");

    addEOperation(dataObjectEClass, this.getDataObject(), "getRootObject");

    addEOperation(dataObjectEClass, this.getChangeSummary(), "getChangeSummary");

    addEOperation(dataObjectEClass, null, "detach");

    initEClass(propertyEClass, Property.class, "Property", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    addEOperation(propertyEClass, ecorePackage.getEString(), "getName");

    addEOperation(propertyEClass, this.getType(), "getType");

    addEOperation(propertyEClass, ecorePackage.getEBoolean(), "isMany");

    addEOperation(propertyEClass, ecorePackage.getEBoolean(), "isContainment");

    addEOperation(propertyEClass, ecorePackage.getEBoolean(), "isReadOnly");

    addEOperation(propertyEClass, this.getType(), "getContainingType");

    addEOperation(propertyEClass, this.getEJavaList(), "getAliasNames");

    addEOperation(propertyEClass, this.getProperty(), "getOpposite");

    addEOperation(propertyEClass, theEcorePackage.getEJavaObject(), "getDefault");

    initEClass(sequenceEClass, Sequence.class, "Sequence", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    addEOperation(sequenceEClass, ecorePackage.getEInt(), "size");

    op = addEOperation(sequenceEClass, this.getProperty(), "getProperty");
    addEParameter(op, ecorePackage.getEInt(), "index");

    op = addEOperation(sequenceEClass, theEcorePackage.getEJavaObject(), "getValue");
    addEParameter(op, ecorePackage.getEInt(), "index");

    op = addEOperation(sequenceEClass, theEcorePackage.getEJavaObject(), "setValue");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, ecorePackage.getEBoolean(), "add");
    addEParameter(op, ecorePackage.getEString(), "propertyName");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, ecorePackage.getEBoolean(), "add");
    addEParameter(op, ecorePackage.getEInt(), "propertIndex");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, ecorePackage.getEBoolean(), "add");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, ecorePackage.getEString(), "propertyName");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, ecorePackage.getEInt(), "propertyIndex");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, this.getProperty(), "property");
    addEParameter(op, theEcorePackage.getEJavaObject(), "value");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEString(), "text");

    op = addEOperation(sequenceEClass, null, "add");
    addEParameter(op, ecorePackage.getEInt(), "index");
    addEParameter(op, ecorePackage.getEString(), "text");

    initEClass(typeEClass, Type.class, "Type", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);

    addEOperation(typeEClass, ecorePackage.getEString(), "getName");

    addEOperation(typeEClass, ecorePackage.getEString(), "getURI");

    addEOperation(typeEClass, theEcorePackage.getEJavaClass(), "getInstanceClass");

    op = addEOperation(typeEClass, ecorePackage.getEBoolean(), "isInstance");
    addEParameter(op, theEcorePackage.getEJavaObject(), "object");

    addEOperation(typeEClass, ecorePackage.getEBoolean(), "isDataType");

    addEOperation(typeEClass, ecorePackage.getEBoolean(), "isSequenced");
View Full Code Here

    setName(eNAME);
    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    EcorePackageImpl theEcorePackage = (EcorePackageImpl)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);

    // Add supertypes to classes

    // Initialize classes and features; add operations and parameters
    initEClass(extensionMapEClass, ExtensionMap.class, "ExtensionMap", !IS_ABSTRACT, !IS_INTERFACE);
    initEAttribute(getExtensionMap_Namespace(), ecorePackage.getEString(), "namespace", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED);
    initEReference(getExtensionMap_Extensions(), this.getExtension(), null, "extensions", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED);

    addEOperation(extensionMapEClass, null, "initializeAdapter");

    initEClass(extensionEClass, Extension.class, "Extension", !IS_ABSTRACT, !IS_INTERFACE);
    initEReference(getExtension_ExtendedObject(), theEcorePackage.getEObject(), null, "extendedObject", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED);
    initEReference(getExtension_ExtensionObject(), theEcorePackage.getEObject(), null, "extensionObject", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED);

    // Create resource
    createResource(eNS_URI);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.emf.ecore.impl.EcorePackageImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.