diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.samples/src/org/example/mindmap/impl/MindmapPackageImpl.java')
-rwxr-xr-x | tests/org.eclipse.emf.teneo.samples/src/org/example/mindmap/impl/MindmapPackageImpl.java | 930 |
1 files changed, 388 insertions, 542 deletions
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/example/mindmap/impl/MindmapPackageImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/example/mindmap/impl/MindmapPackageImpl.java index c901db7fd..ef6746b8c 100755 --- a/tests/org.eclipse.emf.teneo.samples/src/org/example/mindmap/impl/MindmapPackageImpl.java +++ b/tests/org.eclipse.emf.teneo.samples/src/org/example/mindmap/impl/MindmapPackageImpl.java @@ -29,99 +29,97 @@ import org.example.mindmap.ThreadItem; import org.example.mindmap.Topic; /** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> + * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc --> + * * @generated */ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private EClass documentRootEClass = null; /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private EClass mapEClass = null; /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private EClass relationshipEClass = null; /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private EClass resourceEClass = null; /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private EClass threadEClass = null; /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private EClass threadItemEClass = null; /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private EClass topicEClass = null; /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private EEnum priorityEEnum = null; /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private EEnum relationshipTypeEEnum = null; /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private EDataType priorityObjectEDataType = null; /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private EDataType relationshipTypeObjectEDataType = null; /** * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package package URI + * value. + * <p> + * Note: the correct way to create the package is via the static factory method {@link #init + * init()}, which also performs initialization of the package, or returns the registered package, + * if one already exists. <!-- begin-user-doc --> <!-- end-user-doc --> + * * @see org.eclipse.emf.ecore.EPackage.Registry * @see org.example.mindmap.MindmapPackage#eNS_URI * @see #init() @@ -132,39 +130,39 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private static boolean isInited = false; /** - * Creates, registers, and initializes the <b>Package</b> for this - * model, and for any others upon which it depends. Simple - * dependencies are satisfied by calling this method on all - * dependent packages before doing anything else. This method drives - * initialization for interdependent packages directly, in parallel - * with this package, itself. - * <p>Of this package and its interdependencies, all packages which - * have not yet been registered by their URI values are first created - * and registered. The packages are then initialized in two steps: - * meta-model objects for all of the packages are created before any - * are initialized, since one package's meta-model objects may refer to - * those of another. - * <p>Invocation of this method will not affect any packages that have - * already been initialized. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon + * which it depends. Simple dependencies are satisfied by calling this method on all dependent + * packages before doing anything else. This method drives initialization for interdependent + * packages directly, in parallel with this package, itself. + * <p> + * Of this package and its interdependencies, all packages which have not yet been registered by + * their URI values are first created and registered. The packages are then initialized in two + * steps: meta-model objects for all of the packages are created before any are initialized, since + * one package's meta-model objects may refer to those of another. + * <p> + * Invocation of this method will not affect any packages that have already been initialized. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() * @generated */ public static MindmapPackage init() { - if (isInited) return (MindmapPackage)EPackage.Registry.INSTANCE.getEPackage(MindmapPackage.eNS_URI); + if (isInited) + return (MindmapPackage) EPackage.Registry.INSTANCE.getEPackage(MindmapPackage.eNS_URI); // Obtain or create and register package - MindmapPackageImpl theMindmapPackage = (MindmapPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof MindmapPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new MindmapPackageImpl()); + MindmapPackageImpl theMindmapPackage = (MindmapPackageImpl) (EPackage.Registry.INSTANCE + .getEPackage(eNS_URI) instanceof MindmapPackageImpl ? EPackage.Registry.INSTANCE + .getEPackage(eNS_URI) : new MindmapPackageImpl()); isInited = true; @@ -184,8 +182,8 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EClass getDocumentRoot() { @@ -193,44 +191,44 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EAttribute getDocumentRoot_Mixed() { - return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0); + return (EAttribute) documentRootEClass.getEStructuralFeatures().get(0); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EReference getDocumentRoot_XMLNSPrefixMap() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(1); + return (EReference) documentRootEClass.getEStructuralFeatures().get(1); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EReference getDocumentRoot_XSISchemaLocation() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(2); + return (EReference) documentRootEClass.getEStructuralFeatures().get(2); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EReference getDocumentRoot_Map() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(3); + return (EReference) documentRootEClass.getEStructuralFeatures().get(3); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EClass getMap() { @@ -238,44 +236,44 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EReference getMap_RootTopics() { - return (EReference)mapEClass.getEStructuralFeatures().get(0); + return (EReference) mapEClass.getEStructuralFeatures().get(0); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EReference getMap_Relations() { - return (EReference)mapEClass.getEStructuralFeatures().get(1); + return (EReference) mapEClass.getEStructuralFeatures().get(1); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EReference getMap_Resources() { - return (EReference)mapEClass.getEStructuralFeatures().get(2); + return (EReference) mapEClass.getEStructuralFeatures().get(2); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EAttribute getMap_Title() { - return (EAttribute)mapEClass.getEStructuralFeatures().get(3); + return (EAttribute) mapEClass.getEStructuralFeatures().get(3); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EClass getRelationship() { @@ -283,44 +281,44 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EAttribute getRelationship_Label() { - return (EAttribute)relationshipEClass.getEStructuralFeatures().get(0); + return (EAttribute) relationshipEClass.getEStructuralFeatures().get(0); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EReference getRelationship_Source() { - return (EReference)relationshipEClass.getEStructuralFeatures().get(1); + return (EReference) relationshipEClass.getEStructuralFeatures().get(1); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EReference getRelationship_Target() { - return (EReference)relationshipEClass.getEStructuralFeatures().get(2); + return (EReference) relationshipEClass.getEStructuralFeatures().get(2); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EAttribute getRelationship_Type() { - return (EAttribute)relationshipEClass.getEStructuralFeatures().get(3); + return (EAttribute) relationshipEClass.getEStructuralFeatures().get(3); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EClass getResource() { @@ -328,44 +326,44 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EReference getResource_Comments() { - return (EReference)resourceEClass.getEStructuralFeatures().get(0); + return (EReference) resourceEClass.getEStructuralFeatures().get(0); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EAttribute getResource_Email() { - return (EAttribute)resourceEClass.getEStructuralFeatures().get(1); + return (EAttribute) resourceEClass.getEStructuralFeatures().get(1); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EAttribute getResource_Name() { - return (EAttribute)resourceEClass.getEStructuralFeatures().get(2); + return (EAttribute) resourceEClass.getEStructuralFeatures().get(2); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EReference getResource_Topics() { - return (EReference)resourceEClass.getEStructuralFeatures().get(3); + return (EReference) resourceEClass.getEStructuralFeatures().get(3); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EClass getThread() { @@ -373,44 +371,44 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EReference getThread_Items() { - return (EReference)threadEClass.getEStructuralFeatures().get(0); + return (EReference) threadEClass.getEStructuralFeatures().get(0); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EReference getThread_Author() { - return (EReference)threadEClass.getEStructuralFeatures().get(1); + return (EReference) threadEClass.getEStructuralFeatures().get(1); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EAttribute getThread_PostDate() { - return (EAttribute)threadEClass.getEStructuralFeatures().get(2); + return (EAttribute) threadEClass.getEStructuralFeatures().get(2); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EAttribute getThread_Subject() { - return (EAttribute)threadEClass.getEStructuralFeatures().get(3); + return (EAttribute) threadEClass.getEStructuralFeatures().get(3); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EClass getThreadItem() { @@ -418,35 +416,35 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EReference getThreadItem_Author() { - return (EReference)threadItemEClass.getEStructuralFeatures().get(0); + return (EReference) threadItemEClass.getEStructuralFeatures().get(0); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EAttribute getThreadItem_Body() { - return (EAttribute)threadItemEClass.getEStructuralFeatures().get(1); + return (EAttribute) threadItemEClass.getEStructuralFeatures().get(1); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EAttribute getThreadItem_ItemPostDate() { - return (EAttribute)threadItemEClass.getEStructuralFeatures().get(2); + return (EAttribute) threadItemEClass.getEStructuralFeatures().get(2); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EClass getTopic() { @@ -454,89 +452,89 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EReference getTopic_Comments() { - return (EReference)topicEClass.getEStructuralFeatures().get(0); + return (EReference) topicEClass.getEStructuralFeatures().get(0); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EAttribute getTopic_Duration() { - return (EAttribute)topicEClass.getEStructuralFeatures().get(1); + return (EAttribute) topicEClass.getEStructuralFeatures().get(1); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EAttribute getTopic_EndDate() { - return (EAttribute)topicEClass.getEStructuralFeatures().get(2); + return (EAttribute) topicEClass.getEStructuralFeatures().get(2); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EAttribute getTopic_Name() { - return (EAttribute)topicEClass.getEStructuralFeatures().get(3); + return (EAttribute) topicEClass.getEStructuralFeatures().get(3); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EAttribute getTopic_PercentComplete() { - return (EAttribute)topicEClass.getEStructuralFeatures().get(4); + return (EAttribute) topicEClass.getEStructuralFeatures().get(4); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EAttribute getTopic_Priority() { - return (EAttribute)topicEClass.getEStructuralFeatures().get(5); + return (EAttribute) topicEClass.getEStructuralFeatures().get(5); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EReference getTopic_Resources() { - return (EReference)topicEClass.getEStructuralFeatures().get(6); + return (EReference) topicEClass.getEStructuralFeatures().get(6); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EAttribute getTopic_StartDate() { - return (EAttribute)topicEClass.getEStructuralFeatures().get(7); + return (EAttribute) topicEClass.getEStructuralFeatures().get(7); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EReference getTopic_Subtopics() { - return (EReference)topicEClass.getEStructuralFeatures().get(8); + return (EReference) topicEClass.getEStructuralFeatures().get(8); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EEnum getPriority() { @@ -544,8 +542,8 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EEnum getRelationshipType() { @@ -553,8 +551,8 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EDataType getPriorityObject() { @@ -562,8 +560,8 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public EDataType getRelationshipTypeObject() { @@ -571,30 +569,30 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public MindmapFactory getMindmapFactory() { - return (MindmapFactory)getEFactoryInstance(); + return (MindmapFactory) getEFactoryInstance(); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private boolean isCreated = false; /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * Creates the meta-model objects for the package. This method is guarded to have no affect on any + * invocation but its first. <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public void createPackageContents() { - if (isCreated) return; + if (isCreated) + return; isCreated = true; // Create classes and their features @@ -654,21 +652,21 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private boolean isInitialized = false; /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * Complete the initialization of the package and its meta-model. This method is guarded to have + * no affect on any invocation but its first. <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public void initializePackageContents() { - if (isInitialized) return; + if (isInitialized) + return; isInitialized = true; // Initialize package @@ -677,56 +675,128 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { setNsURI(eNS_URI); // Obtain other dependent packages - XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); + XMLTypePackage theXMLTypePackage = (XMLTypePackage) EPackage.Registry.INSTANCE + .getEPackage(XMLTypePackage.eNS_URI); // Add supertypes to classes // Initialize classes and features; add operations and parameters - initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getDocumentRoot_Map(), this.getMap(), null, "map", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); - - initEClass(mapEClass, Map.class, "Map", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getMap_RootTopics(), this.getTopic(), null, "rootTopics", null, 0, -1, Map.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMap_Relations(), this.getRelationship(), null, "relations", null, 0, -1, Map.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMap_Resources(), this.getResource(), null, "resources", null, 0, -1, Map.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getMap_Title(), theXMLTypePackage.getString(), "title", null, 0, 1, Map.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(relationshipEClass, Relationship.class, "Relationship", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getRelationship_Label(), theXMLTypePackage.getString(), "label", null, 0, 1, Relationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getRelationship_Source(), this.getTopic(), null, "source", null, 0, 1, Relationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getRelationship_Target(), this.getTopic(), null, "target", null, 0, 1, Relationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getRelationship_Type(), this.getRelationshipType(), "type", "DEPENDENCY", 0, 1, Relationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(resourceEClass, Resource.class, "Resource", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getResource_Comments(), this.getThread(), this.getThread_Author(), "comments", null, 0, -1, Resource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getResource_Email(), theXMLTypePackage.getString(), "email", null, 0, 1, Resource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getResource_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, Resource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getResource_Topics(), this.getTopic(), this.getTopic_Resources(), "topics", null, 0, -1, Resource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(threadEClass, org.example.mindmap.Thread.class, "Thread", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getThread_Items(), this.getThreadItem(), null, "items", null, 0, -1, org.example.mindmap.Thread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getThread_Author(), this.getResource(), this.getResource_Comments(), "author", null, 0, 1, org.example.mindmap.Thread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getThread_PostDate(), theXMLTypePackage.getDate(), "postDate", null, 0, 1, org.example.mindmap.Thread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getThread_Subject(), theXMLTypePackage.getString(), "subject", null, 0, 1, org.example.mindmap.Thread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(threadItemEClass, ThreadItem.class, "ThreadItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getThreadItem_Author(), this.getResource(), null, "author", null, 0, 1, ThreadItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getThreadItem_Body(), theXMLTypePackage.getString(), "body", null, 0, 1, ThreadItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getThreadItem_ItemPostDate(), theXMLTypePackage.getDate(), "itemPostDate", null, 0, 1, ThreadItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(topicEClass, Topic.class, "Topic", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getTopic_Comments(), this.getThread(), null, "comments", null, 0, -1, Topic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getTopic_Duration(), theXMLTypePackage.getFloat(), "duration", "0", 0, 1, Topic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getTopic_EndDate(), theXMLTypePackage.getDate(), "endDate", null, 0, 1, Topic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getTopic_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, Topic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getTopic_PercentComplete(), theXMLTypePackage.getFloat(), "percentComplete", null, 0, 1, Topic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getTopic_Priority(), this.getPriority(), "priority", "ZERO", 0, 1, Topic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getTopic_Resources(), this.getResource(), this.getResource_Topics(), "resources", null, 0, -1, Topic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getTopic_StartDate(), theXMLTypePackage.getDate(), "startDate", null, 0, 1, Topic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getTopic_Subtopics(), this.getTopic(), null, "subtopics", null, 0, -1, Topic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, + -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), + null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), + null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Map(), this.getMap(), null, "map", null, 0, -2, null, + IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + + initEClass(mapEClass, Map.class, "Map", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getMap_RootTopics(), this.getTopic(), null, "rootTopics", null, 0, -1, + Map.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getMap_Relations(), this.getRelationship(), null, "relations", null, 0, -1, + Map.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getMap_Resources(), this.getResource(), null, "resources", null, 0, -1, + Map.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getMap_Title(), theXMLTypePackage.getString(), "title", null, 0, 1, Map.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + initEClass(relationshipEClass, Relationship.class, "Relationship", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRelationship_Label(), theXMLTypePackage.getString(), "label", null, 0, 1, + Relationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRelationship_Source(), this.getTopic(), null, "source", null, 0, 1, + Relationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRelationship_Target(), this.getTopic(), null, "target", null, 0, 1, + Relationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getRelationship_Type(), this.getRelationshipType(), "type", "DEPENDENCY", 0, 1, + Relationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, + !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(resourceEClass, Resource.class, "Resource", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getResource_Comments(), this.getThread(), this.getThread_Author(), "comments", + null, 0, -1, Resource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getResource_Email(), theXMLTypePackage.getString(), "email", null, 0, 1, + Resource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getResource_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, + Resource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getResource_Topics(), this.getTopic(), this.getTopic_Resources(), "topics", + null, 0, -1, Resource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(threadEClass, org.example.mindmap.Thread.class, "Thread", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getThread_Items(), this.getThreadItem(), null, "items", null, 0, -1, + org.example.mindmap.Thread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, + !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getThread_Author(), this.getResource(), this.getResource_Comments(), "author", + null, 0, 1, org.example.mindmap.Thread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getThread_PostDate(), theXMLTypePackage.getDate(), "postDate", null, 0, 1, + org.example.mindmap.Thread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getThread_Subject(), theXMLTypePackage.getString(), "subject", null, 0, 1, + org.example.mindmap.Thread.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(threadItemEClass, ThreadItem.class, "ThreadItem", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getThreadItem_Author(), this.getResource(), null, "author", null, 0, 1, + ThreadItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getThreadItem_Body(), theXMLTypePackage.getString(), "body", null, 0, 1, + ThreadItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getThreadItem_ItemPostDate(), theXMLTypePackage.getDate(), "itemPostDate", null, + 0, 1, ThreadItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(topicEClass, Topic.class, "Topic", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getTopic_Comments(), this.getThread(), null, "comments", null, 0, -1, + Topic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTopic_Duration(), theXMLTypePackage.getFloat(), "duration", "0", 0, 1, + Topic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getTopic_EndDate(), theXMLTypePackage.getDate(), "endDate", null, 0, 1, + Topic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTopic_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, Topic.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getTopic_PercentComplete(), theXMLTypePackage.getFloat(), "percentComplete", + null, 0, 1, Topic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, + !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTopic_Priority(), this.getPriority(), "priority", "ZERO", 0, 1, Topic.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEReference(getTopic_Resources(), this.getResource(), this.getResource_Topics(), + "resources", null, 0, -1, Topic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTopic_StartDate(), theXMLTypePackage.getDate(), "startDate", null, 0, 1, + Topic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getTopic_Subtopics(), this.getTopic(), null, "subtopics", null, 0, -1, + Topic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Initialize enums and add enum literals initEEnum(priorityEEnum, Priority.class, "Priority"); @@ -743,8 +813,10 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { addEEnumLiteral(relationshipTypeEEnum, RelationshipType.EXTENDS_LITERAL); // Initialize data types - initEDataType(priorityObjectEDataType, Priority.class, "PriorityObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); - initEDataType(relationshipTypeObjectEDataType, RelationshipType.class, "RelationshipTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); + initEDataType(priorityObjectEDataType, Priority.class, "PriorityObject", IS_SERIALIZABLE, + IS_GENERATED_INSTANCE_CLASS); + initEDataType(relationshipTypeObjectEDataType, RelationshipType.class, + "RelationshipTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); // Create resource createResource(eNS_URI); @@ -756,312 +828,86 @@ public class MindmapPackageImpl extends EPackageImpl implements MindmapPackage { /** * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ protected void createExtendedMetaDataAnnotations() { - String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; - addAnnotation - (documentRootEClass, - source, - new String[] { - "name", "", - "kind", "mixed" - }); - addAnnotation - (getDocumentRoot_Mixed(), - source, - new String[] { - "kind", "elementWildcard", - "name", ":mixed" - }); - addAnnotation - (getDocumentRoot_XMLNSPrefixMap(), - source, - new String[] { - "kind", "attribute", - "name", "xmlns:prefix" - }); - addAnnotation - (getDocumentRoot_XSISchemaLocation(), - source, - new String[] { - "kind", "attribute", - "name", "xsi:schemaLocation" - }); - addAnnotation - (getDocumentRoot_Map(), - source, - new String[] { - "kind", "element", - "name", "map", - "namespace", "##targetNamespace" - }); - addAnnotation - (mapEClass, - source, - new String[] { - "name", "Map", - "kind", "elementOnly" - }); - addAnnotation - (getMap_RootTopics(), - source, - new String[] { - "kind", "element", - "name", "rootTopics" - }); - addAnnotation - (getMap_Relations(), - source, - new String[] { - "kind", "element", - "name", "relations" - }); - addAnnotation - (getMap_Resources(), - source, - new String[] { - "kind", "element", - "name", "resources" - }); - addAnnotation - (getMap_Title(), - source, - new String[] { - "kind", "attribute", - "name", "title" - }); - addAnnotation - (priorityEEnum, - source, - new String[] { - "name", "Priority" - }); - addAnnotation - (priorityObjectEDataType, - source, - new String[] { - "name", "Priority:Object", - "baseType", "Priority" - }); - addAnnotation - (relationshipEClass, - source, - new String[] { - "name", "Relationship", - "kind", "empty" - }); - addAnnotation - (getRelationship_Label(), - source, - new String[] { - "kind", "attribute", - "name", "label" - }); - addAnnotation - (getRelationship_Source(), - source, - new String[] { - "kind", "attribute", - "name", "source" - }); - addAnnotation - (getRelationship_Target(), - source, - new String[] { - "kind", "attribute", - "name", "target" - }); - addAnnotation - (getRelationship_Type(), - source, - new String[] { - "kind", "attribute", - "name", "type" - }); - addAnnotation - (relationshipTypeEEnum, - source, - new String[] { - "name", "RelationshipType" - }); - addAnnotation - (relationshipTypeObjectEDataType, - source, - new String[] { - "name", "RelationshipType:Object", - "baseType", "RelationshipType" - }); - addAnnotation - (resourceEClass, - source, - new String[] { - "name", "Resource", - "kind", "empty" - }); - addAnnotation - (getResource_Comments(), - source, - new String[] { - "kind", "attribute", - "name", "comments" - }); - addAnnotation - (getResource_Email(), - source, - new String[] { - "kind", "attribute", - "name", "email" - }); - addAnnotation - (getResource_Name(), - source, - new String[] { - "kind", "attribute", - "name", "name" - }); - addAnnotation - (getResource_Topics(), - source, - new String[] { - "kind", "attribute", - "name", "topics" - }); - addAnnotation - (threadEClass, - source, - new String[] { - "name", "Thread", - "kind", "elementOnly" - }); - addAnnotation - (getThread_Items(), - source, - new String[] { - "kind", "element", - "name", "items" - }); - addAnnotation - (getThread_Author(), - source, - new String[] { - "kind", "attribute", - "name", "author" - }); - addAnnotation - (getThread_PostDate(), - source, - new String[] { - "kind", "attribute", - "name", "postDate" - }); - addAnnotation - (getThread_Subject(), - source, - new String[] { - "kind", "attribute", - "name", "subject" - }); - addAnnotation - (threadItemEClass, - source, - new String[] { - "name", "ThreadItem", - "kind", "empty" - }); - addAnnotation - (getThreadItem_Author(), - source, - new String[] { - "kind", "attribute", - "name", "author" - }); - addAnnotation - (getThreadItem_Body(), - source, - new String[] { - "kind", "attribute", - "name", "body" - }); - addAnnotation - (getThreadItem_ItemPostDate(), - source, - new String[] { - "kind", "attribute", - "name", "itemPostDate" - }); - addAnnotation - (topicEClass, - source, - new String[] { - "name", "Topic", - "kind", "elementOnly" - }); - addAnnotation - (getTopic_Comments(), - source, - new String[] { - "kind", "element", - "name", "comments" - }); - addAnnotation - (getTopic_Duration(), - source, - new String[] { - "kind", "attribute", - "name", "duration" - }); - addAnnotation - (getTopic_EndDate(), - source, - new String[] { - "kind", "attribute", - "name", "endDate" - }); - addAnnotation - (getTopic_Name(), - source, - new String[] { - "kind", "attribute", - "name", "name" - }); - addAnnotation - (getTopic_PercentComplete(), - source, - new String[] { - "kind", "attribute", - "name", "percentComplete" - }); - addAnnotation - (getTopic_Priority(), - source, - new String[] { - "kind", "attribute", - "name", "priority" - }); - addAnnotation - (getTopic_Resources(), - source, - new String[] { - "kind", "attribute", - "name", "resources" - }); - addAnnotation - (getTopic_StartDate(), - source, - new String[] { - "kind", "attribute", - "name", "startDate" - }); - addAnnotation - (getTopic_Subtopics(), - source, - new String[] { - "kind", "attribute", - "name", "subtopics" - }); - } - -} //MindmapPackageImpl + String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; + addAnnotation(documentRootEClass, source, new String[] { "name", "", "kind", "mixed" }); + addAnnotation(getDocumentRoot_Mixed(), source, new String[] { "kind", "elementWildcard", + "name", ":mixed" }); + addAnnotation(getDocumentRoot_XMLNSPrefixMap(), source, new String[] { "kind", "attribute", + "name", "xmlns:prefix" }); + addAnnotation(getDocumentRoot_XSISchemaLocation(), source, new String[] { "kind", "attribute", + "name", "xsi:schemaLocation" }); + addAnnotation(getDocumentRoot_Map(), source, new String[] { "kind", "element", "name", "map", + "namespace", "##targetNamespace" }); + addAnnotation(mapEClass, source, new String[] { "name", "Map", "kind", "elementOnly" }); + addAnnotation(getMap_RootTopics(), source, new String[] { "kind", "element", "name", + "rootTopics" }); + addAnnotation(getMap_Relations(), source, + new String[] { "kind", "element", "name", "relations" }); + addAnnotation(getMap_Resources(), source, + new String[] { "kind", "element", "name", "resources" }); + addAnnotation(getMap_Title(), source, new String[] { "kind", "attribute", "name", "title" }); + addAnnotation(priorityEEnum, source, new String[] { "name", "Priority" }); + addAnnotation(priorityObjectEDataType, source, new String[] { "name", "Priority:Object", + "baseType", "Priority" }); + addAnnotation(relationshipEClass, source, new String[] { "name", "Relationship", "kind", + "empty" }); + addAnnotation(getRelationship_Label(), source, new String[] { "kind", "attribute", "name", + "label" }); + addAnnotation(getRelationship_Source(), source, new String[] { "kind", "attribute", "name", + "source" }); + addAnnotation(getRelationship_Target(), source, new String[] { "kind", "attribute", "name", + "target" }); + addAnnotation(getRelationship_Type(), source, new String[] { "kind", "attribute", "name", + "type" }); + addAnnotation(relationshipTypeEEnum, source, new String[] { "name", "RelationshipType" }); + addAnnotation(relationshipTypeObjectEDataType, source, new String[] { "name", + "RelationshipType:Object", "baseType", "RelationshipType" }); + addAnnotation(resourceEClass, source, new String[] { "name", "Resource", "kind", "empty" }); + addAnnotation(getResource_Comments(), source, new String[] { "kind", "attribute", "name", + "comments" }); + addAnnotation(getResource_Email(), source, + new String[] { "kind", "attribute", "name", "email" }); + addAnnotation(getResource_Name(), source, new String[] { "kind", "attribute", "name", "name" }); + addAnnotation(getResource_Topics(), source, new String[] { "kind", "attribute", "name", + "topics" }); + addAnnotation(threadEClass, source, new String[] { "name", "Thread", "kind", "elementOnly" }); + addAnnotation(getThread_Items(), source, new String[] { "kind", "element", "name", "items" }); + addAnnotation(getThread_Author(), source, + new String[] { "kind", "attribute", "name", "author" }); + addAnnotation(getThread_PostDate(), source, new String[] { "kind", "attribute", "name", + "postDate" }); + addAnnotation(getThread_Subject(), source, new String[] { "kind", "attribute", "name", + "subject" }); + addAnnotation(threadItemEClass, source, new String[] { "name", "ThreadItem", "kind", "empty" }); + addAnnotation(getThreadItem_Author(), source, new String[] { "kind", "attribute", "name", + "author" }); + addAnnotation(getThreadItem_Body(), source, + new String[] { "kind", "attribute", "name", "body" }); + addAnnotation(getThreadItem_ItemPostDate(), source, new String[] { "kind", "attribute", "name", + "itemPostDate" }); + addAnnotation(topicEClass, source, new String[] { "name", "Topic", "kind", "elementOnly" }); + addAnnotation(getTopic_Comments(), source, + new String[] { "kind", "element", "name", "comments" }); + addAnnotation(getTopic_Duration(), source, new String[] { "kind", "attribute", "name", + "duration" }); + addAnnotation(getTopic_EndDate(), source, + new String[] { "kind", "attribute", "name", "endDate" }); + addAnnotation(getTopic_Name(), source, new String[] { "kind", "attribute", "name", "name" }); + addAnnotation(getTopic_PercentComplete(), source, new String[] { "kind", "attribute", "name", + "percentComplete" }); + addAnnotation(getTopic_Priority(), source, new String[] { "kind", "attribute", "name", + "priority" }); + addAnnotation(getTopic_Resources(), source, new String[] { "kind", "attribute", "name", + "resources" }); + addAnnotation(getTopic_StartDate(), source, new String[] { "kind", "attribute", "name", + "startDate" }); + addAnnotation(getTopic_Subtopics(), source, new String[] { "kind", "attribute", "name", + "subtopics" }); + } + +} // MindmapPackageImpl |