/** * <copyright> Copyright (c) 2008-2009 Jonas Helming, Maximilian Koegel. All rights reserved. This program and the * accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html </copyright> */ package org.eclipse.emf.emfstore.client.test.model.meeting.impl; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.impl.EPackageImpl; import org.eclipse.emf.emfstore.client.test.model.activity.ActivityPackage; import org.eclipse.emf.emfstore.client.test.model.activity.impl.ActivityPackageImpl; import org.eclipse.emf.emfstore.client.test.model.attachment.AttachmentPackage; import org.eclipse.emf.emfstore.client.test.model.attachment.impl.AttachmentPackageImpl; import org.eclipse.emf.emfstore.client.test.model.bug.BugPackage; import org.eclipse.emf.emfstore.client.test.model.bug.impl.BugPackageImpl; import org.eclipse.emf.emfstore.client.test.model.change.ChangePackage; import org.eclipse.emf.emfstore.client.test.model.change.impl.ChangePackageImpl; import org.eclipse.emf.emfstore.client.test.model.classes.ClassesPackage; import org.eclipse.emf.emfstore.client.test.model.classes.impl.ClassesPackageImpl; import org.eclipse.emf.emfstore.client.test.model.component.ComponentPackage; import org.eclipse.emf.emfstore.client.test.model.component.impl.ComponentPackageImpl; import org.eclipse.emf.emfstore.client.test.model.document.DocumentPackage; import org.eclipse.emf.emfstore.client.test.model.document.impl.DocumentPackageImpl; import org.eclipse.emf.emfstore.client.test.model.impl.ModelPackageImpl; import org.eclipse.emf.emfstore.client.test.model.meeting.CompositeMeetingSection; import org.eclipse.emf.emfstore.client.test.model.meeting.IssueMeetingSection; import org.eclipse.emf.emfstore.client.test.model.meeting.Meeting; import org.eclipse.emf.emfstore.client.test.model.meeting.MeetingFactory; import org.eclipse.emf.emfstore.client.test.model.meeting.MeetingPackage; import org.eclipse.emf.emfstore.client.test.model.meeting.MeetingSection; import org.eclipse.emf.emfstore.client.test.model.meeting.WorkItemMeetingSection; import org.eclipse.emf.emfstore.client.test.model.organization.OrganizationPackage; import org.eclipse.emf.emfstore.client.test.model.organization.impl.OrganizationPackageImpl; import org.eclipse.emf.emfstore.client.test.model.profile.ProfilePackage; import org.eclipse.emf.emfstore.client.test.model.profile.impl.ProfilePackageImpl; import org.eclipse.emf.emfstore.client.test.model.rationale.RationalePackage; import org.eclipse.emf.emfstore.client.test.model.rationale.impl.RationalePackageImpl; import org.eclipse.emf.emfstore.client.test.model.release.ReleasePackage; import org.eclipse.emf.emfstore.client.test.model.release.impl.ReleasePackageImpl; import org.eclipse.emf.emfstore.client.test.model.requirement.RequirementPackage; import org.eclipse.emf.emfstore.client.test.model.requirement.impl.RequirementPackageImpl; import org.eclipse.emf.emfstore.client.test.model.state.StatePackage; import org.eclipse.emf.emfstore.client.test.model.state.impl.StatePackageImpl; import org.eclipse.emf.emfstore.client.test.model.task.TaskPackage; import org.eclipse.emf.emfstore.client.test.model.task.impl.TaskPackageImpl; import org.eclipse.emf.emfstore.client.test.model.util.UtilPackage; import org.eclipse.emf.emfstore.client.test.model.util.impl.UtilPackageImpl; import org.eclipse.emf.emfstore.server.model.ModelPackage; /** * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc --> * * @generated */ public class MeetingPackageImpl extends EPackageImpl implements MeetingPackage { /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ private EClass meetingEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ private EClass meetingSectionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ private EClass compositeMeetingSectionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ private EClass issueMeetingSectionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ private EClass workItemMeetingSectionEClass = 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 --> * * @see org.eclipse.emf.ecore.EPackage.Registry * @see org.eclipse.emf.emfstore.client.test.model.meeting.MeetingPackage#eNS_URI * @see #init() * @generated */ private MeetingPackageImpl() { super(eNS_URI, MeetingFactory.eINSTANCE); } /** * <!-- 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. * <p> * This method is used to initialize {@link MeetingPackage#eINSTANCE} when that field is accessed. Clients should * not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc * --> <!-- end-user-doc --> * * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() * @generated */ public static MeetingPackage init() { if (isInited) return (MeetingPackage) EPackage.Registry.INSTANCE.getEPackage(MeetingPackage.eNS_URI); // Obtain or create and register package MeetingPackageImpl theMeetingPackage = (MeetingPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof MeetingPackageImpl ? EPackage.Registry.INSTANCE .get(eNS_URI) : new MeetingPackageImpl()); isInited = true; // Initialize simple dependencies ModelPackage.eINSTANCE.eClass(); // Obtain or create and register interdependencies ModelPackageImpl theModelPackage_1 = (ModelPackageImpl) (EPackage.Registry.INSTANCE .getEPackage(org.eclipse.emf.emfstore.client.test.model.ModelPackage.eNS_URI) instanceof ModelPackageImpl ? EPackage.Registry.INSTANCE .getEPackage(org.eclipse.emf.emfstore.client.test.model.ModelPackage.eNS_URI) : org.eclipse.emf.emfstore.client.test.model.ModelPackage.eINSTANCE); OrganizationPackageImpl theOrganizationPackage = (OrganizationPackageImpl) (EPackage.Registry.INSTANCE .getEPackage(OrganizationPackage.eNS_URI) instanceof OrganizationPackageImpl ? EPackage.Registry.INSTANCE .getEPackage(OrganizationPackage.eNS_URI) : OrganizationPackage.eINSTANCE); TaskPackageImpl theTaskPackage = (TaskPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TaskPackage.eNS_URI) instanceof TaskPackageImpl ? EPackage.Registry.INSTANCE .getEPackage(TaskPackage.eNS_URI) : TaskPackage.eINSTANCE); ClassesPackageImpl theClassesPackage = (ClassesPackageImpl) (EPackage.Registry.INSTANCE .getEPackage(ClassesPackage.eNS_URI) instanceof ClassesPackageImpl ? EPackage.Registry.INSTANCE .getEPackage(ClassesPackage.eNS_URI) : ClassesPackage.eINSTANCE); DocumentPackageImpl theDocumentPackage = (DocumentPackageImpl) (EPackage.Registry.INSTANCE .getEPackage(DocumentPackage.eNS_URI) instanceof DocumentPackageImpl ? EPackage.Registry.INSTANCE .getEPackage(DocumentPackage.eNS_URI) : DocumentPackage.eINSTANCE); RequirementPackageImpl theRequirementPackage = (RequirementPackageImpl) (EPackage.Registry.INSTANCE .getEPackage(RequirementPackage.eNS_URI) instanceof RequirementPackageImpl ? EPackage.Registry.INSTANCE .getEPackage(RequirementPackage.eNS_URI) : RequirementPackage.eINSTANCE); RationalePackageImpl theRationalePackage = (RationalePackageImpl) (EPackage.Registry.INSTANCE .getEPackage(RationalePackage.eNS_URI) instanceof RationalePackageImpl ? EPackage.Registry.INSTANCE .getEPackage(RationalePackage.eNS_URI) : RationalePackage.eINSTANCE); ChangePackageImpl theChangePackage = (ChangePackageImpl) (EPackage.Registry.INSTANCE .getEPackage(ChangePackage.eNS_URI) instanceof ChangePackageImpl ? EPackage.Registry.INSTANCE .getEPackage(ChangePackage.eNS_URI) : ChangePackage.eINSTANCE); BugPackageImpl theBugPackage = (BugPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(BugPackage.eNS_URI) instanceof BugPackageImpl ? EPackage.Registry.INSTANCE .getEPackage(BugPackage.eNS_URI) : BugPackage.eINSTANCE); ComponentPackageImpl theComponentPackage = (ComponentPackageImpl) (EPackage.Registry.INSTANCE .getEPackage(ComponentPackage.eNS_URI) instanceof ComponentPackageImpl ? EPackage.Registry.INSTANCE .getEPackage(ComponentPackage.eNS_URI) : ComponentPackage.eINSTANCE); StatePackageImpl theStatePackage = (StatePackageImpl) (EPackage.Registry.INSTANCE .getEPackage(StatePackage.eNS_URI) instanceof StatePackageImpl ? EPackage.Registry.INSTANCE .getEPackage(StatePackage.eNS_URI) : StatePackage.eINSTANCE); AttachmentPackageImpl theAttachmentPackage = (AttachmentPackageImpl) (EPackage.Registry.INSTANCE .getEPackage(AttachmentPackage.eNS_URI) instanceof AttachmentPackageImpl ? EPackage.Registry.INSTANCE .getEPackage(AttachmentPackage.eNS_URI) : AttachmentPackage.eINSTANCE); ProfilePackageImpl theProfilePackage = (ProfilePackageImpl) (EPackage.Registry.INSTANCE .getEPackage(ProfilePackage.eNS_URI) instanceof ProfilePackageImpl ? EPackage.Registry.INSTANCE .getEPackage(ProfilePackage.eNS_URI) : ProfilePackage.eINSTANCE); UtilPackageImpl theUtilPackage = (UtilPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(UtilPackage.eNS_URI) instanceof UtilPackageImpl ? EPackage.Registry.INSTANCE .getEPackage(UtilPackage.eNS_URI) : UtilPackage.eINSTANCE); ActivityPackageImpl theActivityPackage = (ActivityPackageImpl) (EPackage.Registry.INSTANCE .getEPackage(ActivityPackage.eNS_URI) instanceof ActivityPackageImpl ? EPackage.Registry.INSTANCE .getEPackage(ActivityPackage.eNS_URI) : ActivityPackage.eINSTANCE); ReleasePackageImpl theReleasePackage = (ReleasePackageImpl) (EPackage.Registry.INSTANCE .getEPackage(ReleasePackage.eNS_URI) instanceof ReleasePackageImpl ? EPackage.Registry.INSTANCE .getEPackage(ReleasePackage.eNS_URI) : ReleasePackage.eINSTANCE); // Create package meta-data objects theMeetingPackage.createPackageContents(); theModelPackage_1.createPackageContents(); theOrganizationPackage.createPackageContents(); theTaskPackage.createPackageContents(); theClassesPackage.createPackageContents(); theDocumentPackage.createPackageContents(); theRequirementPackage.createPackageContents(); theRationalePackage.createPackageContents(); theChangePackage.createPackageContents(); theBugPackage.createPackageContents(); theComponentPackage.createPackageContents(); theStatePackage.createPackageContents(); theAttachmentPackage.createPackageContents(); theProfilePackage.createPackageContents(); theUtilPackage.createPackageContents(); theActivityPackage.createPackageContents(); theReleasePackage.createPackageContents(); // Initialize created meta-data theMeetingPackage.initializePackageContents(); theModelPackage_1.initializePackageContents(); theOrganizationPackage.initializePackageContents(); theTaskPackage.initializePackageContents(); theClassesPackage.initializePackageContents(); theDocumentPackage.initializePackageContents(); theRequirementPackage.initializePackageContents(); theRationalePackage.initializePackageContents(); theChangePackage.initializePackageContents(); theBugPackage.initializePackageContents(); theComponentPackage.initializePackageContents(); theStatePackage.initializePackageContents(); theAttachmentPackage.initializePackageContents(); theProfilePackage.initializePackageContents(); theUtilPackage.initializePackageContents(); theActivityPackage.initializePackageContents(); theReleasePackage.initializePackageContents(); // Mark meta-data to indicate it can't be changed theMeetingPackage.freeze(); // Update the registry and return the package EPackage.Registry.INSTANCE.put(MeetingPackage.eNS_URI, theMeetingPackage); return theMeetingPackage; } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EClass getMeeting() { return meetingEClass; } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EAttribute getMeeting_Location() { return (EAttribute) meetingEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EAttribute getMeeting_Starttime() { return (EAttribute) meetingEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EAttribute getMeeting_Endtime() { return (EAttribute) meetingEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EReference getMeeting_Facilitator() { return (EReference) meetingEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EReference getMeeting_Minutetaker() { return (EReference) meetingEClass.getEStructuralFeatures().get(4); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EReference getMeeting_Timekeeper() { return (EReference) meetingEClass.getEStructuralFeatures().get(5); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EReference getMeeting_Participants() { return (EReference) meetingEClass.getEStructuralFeatures().get(6); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EReference getMeeting_Sections() { return (EReference) meetingEClass.getEStructuralFeatures().get(7); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EReference getMeeting_IdentifiedIssuesSection() { return (EReference) meetingEClass.getEStructuralFeatures().get(8); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EReference getMeeting_IdentifiedWorkItemsSection() { return (EReference) meetingEClass.getEStructuralFeatures().get(9); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EClass getMeetingSection() { return meetingSectionEClass; } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EAttribute getMeetingSection_AllocatedTime() { return (EAttribute) meetingSectionEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EClass getCompositeMeetingSection() { return compositeMeetingSectionEClass; } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EReference getCompositeMeetingSection_Subsections() { return (EReference) compositeMeetingSectionEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EClass getIssueMeetingSection() { return issueMeetingSectionEClass; } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EReference getIssueMeetingSection_IncludedIssues() { return (EReference) issueMeetingSectionEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EClass getWorkItemMeetingSection() { return workItemMeetingSectionEClass; } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public EReference getWorkItemMeetingSection_IncludedWorkItems() { return (EReference) workItemMeetingSectionEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public MeetingFactory getMeetingFactory() { return (MeetingFactory) getEFactoryInstance(); } /** * <!-- 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 --> * * @generated */ public void createPackageContents() { if (isCreated) return; isCreated = true; // Create classes and their features meetingEClass = createEClass(MEETING); createEAttribute(meetingEClass, MEETING__LOCATION); createEAttribute(meetingEClass, MEETING__STARTTIME); createEAttribute(meetingEClass, MEETING__ENDTIME); createEReference(meetingEClass, MEETING__FACILITATOR); createEReference(meetingEClass, MEETING__MINUTETAKER); createEReference(meetingEClass, MEETING__TIMEKEEPER); createEReference(meetingEClass, MEETING__PARTICIPANTS); createEReference(meetingEClass, MEETING__SECTIONS); createEReference(meetingEClass, MEETING__IDENTIFIED_ISSUES_SECTION); createEReference(meetingEClass, MEETING__IDENTIFIED_WORK_ITEMS_SECTION); meetingSectionEClass = createEClass(MEETING_SECTION); createEAttribute(meetingSectionEClass, MEETING_SECTION__ALLOCATED_TIME); compositeMeetingSectionEClass = createEClass(COMPOSITE_MEETING_SECTION); createEReference(compositeMeetingSectionEClass, COMPOSITE_MEETING_SECTION__SUBSECTIONS); issueMeetingSectionEClass = createEClass(ISSUE_MEETING_SECTION); createEReference(issueMeetingSectionEClass, ISSUE_MEETING_SECTION__INCLUDED_ISSUES); workItemMeetingSectionEClass = createEClass(WORK_ITEM_MEETING_SECTION); createEReference(workItemMeetingSectionEClass, WORK_ITEM_MEETING_SECTION__INCLUDED_WORK_ITEMS); } /** * <!-- 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 --> * * @generated */ public void initializePackageContents() { if (isInitialized) return; isInitialized = true; // Initialize package setName(eNAME); setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); // Obtain other dependent packages org.eclipse.emf.emfstore.client.test.model.ModelPackage theModelPackage_1 = (org.eclipse.emf.emfstore.client.test.model.ModelPackage) EPackage.Registry.INSTANCE .getEPackage(org.eclipse.emf.emfstore.client.test.model.ModelPackage.eNS_URI); OrganizationPackage theOrganizationPackage = (OrganizationPackage) EPackage.Registry.INSTANCE .getEPackage(OrganizationPackage.eNS_URI); RationalePackage theRationalePackage = (RationalePackage) EPackage.Registry.INSTANCE .getEPackage(RationalePackage.eNS_URI); TaskPackage theTaskPackage = (TaskPackage) EPackage.Registry.INSTANCE.getEPackage(TaskPackage.eNS_URI); // Create type parameters // Set bounds for type parameters // Add supertypes to classes meetingEClass.getESuperTypes().add(theModelPackage_1.getUnicaseModelElement()); meetingSectionEClass.getESuperTypes().add(theModelPackage_1.getUnicaseModelElement()); compositeMeetingSectionEClass.getESuperTypes().add(this.getMeetingSection()); issueMeetingSectionEClass.getESuperTypes().add(this.getMeetingSection()); workItemMeetingSectionEClass.getESuperTypes().add(this.getMeetingSection()); // Initialize classes and features; add operations and parameters initEClass(meetingEClass, Meeting.class, "Meeting", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getMeeting_Location(), ecorePackage.getEString(), "location", null, 0, 1, Meeting.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMeeting_Starttime(), ecorePackage.getEDate(), "starttime", null, 0, 1, Meeting.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMeeting_Endtime(), ecorePackage.getEDate(), "endtime", null, 0, 1, Meeting.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMeeting_Facilitator(), theOrganizationPackage.getUser(), null, "facilitator", null, 0, 1, Meeting.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMeeting_Minutetaker(), theOrganizationPackage.getUser(), null, "minutetaker", null, 0, 1, Meeting.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMeeting_Timekeeper(), theOrganizationPackage.getUser(), null, "timekeeper", null, 0, 1, Meeting.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMeeting_Participants(), theOrganizationPackage.getOrgUnit(), null, "participants", null, 0, -1, Meeting.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMeeting_Sections(), this.getMeetingSection(), null, "sections", null, 0, -1, Meeting.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMeeting_IdentifiedIssuesSection(), this.getIssueMeetingSection(), null, "identifiedIssuesSection", null, 0, 1, Meeting.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMeeting_IdentifiedWorkItemsSection(), this.getWorkItemMeetingSection(), null, "identifiedWorkItemsSection", null, 0, 1, Meeting.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(meetingSectionEClass, MeetingSection.class, "MeetingSection", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getMeetingSection_AllocatedTime(), ecorePackage.getEInt(), "allocatedTime", "0", 0, 1, MeetingSection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(compositeMeetingSectionEClass, CompositeMeetingSection.class, "CompositeMeetingSection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getCompositeMeetingSection_Subsections(), this.getMeetingSection(), null, "subsections", null, 0, -1, CompositeMeetingSection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(issueMeetingSectionEClass, IssueMeetingSection.class, "IssueMeetingSection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getIssueMeetingSection_IncludedIssues(), theRationalePackage.getIssue(), null, "includedIssues", null, 0, -1, IssueMeetingSection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(workItemMeetingSectionEClass, WorkItemMeetingSection.class, "WorkItemMeetingSection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getWorkItemMeetingSection_IncludedWorkItems(), theTaskPackage.getWorkItem(), null, "includedWorkItems", null, 0, -1, WorkItemMeetingSection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Create annotations // org.unicase.ui.meeditor createOrgAnnotations(); } /** * Initializes the annotations for <b>org.unicase.ui.meeditor</b>. <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ protected void createOrgAnnotations() { String source = "org.unicase.ui.meeditor"; addAnnotation(getMeeting_Location(), source, new String[] { "priority", "10.0", "position", "left" }); addAnnotation(getMeeting_Starttime(), source, new String[] { "priority", "11.0", "position", "left" }); addAnnotation(getMeeting_Endtime(), source, new String[] { "priority", "11.0", "position", "left" }); addAnnotation(getMeeting_Facilitator(), source, new String[] { "priority", "12.0", "position", "left" }); addAnnotation(getMeeting_Minutetaker(), source, new String[] { "priority", "12.0", "position", "left" }); addAnnotation(getMeeting_Timekeeper(), source, new String[] { "priority", "12.0", "position", "left" }); addAnnotation(getMeeting_Participants(), source, new String[] { "priority", "10.0", "position", "right" }); addAnnotation(getMeeting_Sections(), source, new String[] { "priority", "11.0", "position", "right" }); addAnnotation(getMeeting_IdentifiedIssuesSection(), source, new String[] { "priority", "13.0", "position", "left" }); addAnnotation(getMeeting_IdentifiedWorkItemsSection(), source, new String[] { "priority", "14.0", "position", "left" }); addAnnotation(getMeetingSection_AllocatedTime(), source, new String[] { "priority", "10.0", "position", "left" }); addAnnotation(getIssueMeetingSection_IncludedIssues(), source, new String[] { "priority", "10.0", "position", "right" }); addAnnotation(getWorkItemMeetingSection_IncludedWorkItems(), source, new String[] { "priority", "10.0", "position", "right" }); } } // MeetingPackageImpl