getOwnedResourceFolders() {
- if (this.ownedResourceFolders == null) {
- this.ownedResourceFolders = new EObjectContainmentEList<>(ResourceFolder.class, this, PepperPackage.ORGANIZATION__OWNED_RESOURCE_FOLDERS);
- }
- return this.ownedResourceFolders;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case PepperPackage.ORGANIZATION__OWNED_PROJECTS:
- return ((InternalEList>) this.getOwnedProjects()).basicRemove(otherEnd, msgs);
- case PepperPackage.ORGANIZATION__OWNED_RESOURCE_FOLDERS:
- return ((InternalEList>) this.getOwnedResourceFolders()).basicRemove(otherEnd, msgs);
- default:
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PepperPackage.ORGANIZATION__NAME:
- return this.getName();
- case PepperPackage.ORGANIZATION__OWNED_PROJECTS:
- return this.getOwnedProjects();
- case PepperPackage.ORGANIZATION__OWNED_RESOURCE_FOLDERS:
- return this.getOwnedResourceFolders();
- default:
- return super.eGet(featureID, resolve, coreType);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PepperPackage.ORGANIZATION__NAME:
- this.setName((String) newValue);
- return;
- case PepperPackage.ORGANIZATION__OWNED_PROJECTS:
- this.getOwnedProjects().clear();
- this.getOwnedProjects().addAll((Collection extends Project>) newValue);
- return;
- case PepperPackage.ORGANIZATION__OWNED_RESOURCE_FOLDERS:
- this.getOwnedResourceFolders().clear();
- this.getOwnedResourceFolders().addAll((Collection extends ResourceFolder>) newValue);
- return;
- default:
- super.eSet(featureID, newValue);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PepperPackage.ORGANIZATION__NAME:
- this.setName(NAME_EDEFAULT);
- return;
- case PepperPackage.ORGANIZATION__OWNED_PROJECTS:
- this.getOwnedProjects().clear();
- return;
- case PepperPackage.ORGANIZATION__OWNED_RESOURCE_FOLDERS:
- this.getOwnedResourceFolders().clear();
- return;
- default:
- super.eUnset(featureID);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PepperPackage.ORGANIZATION__NAME:
- return NAME_EDEFAULT == null ? this.name != null : !NAME_EDEFAULT.equals(this.name);
- case PepperPackage.ORGANIZATION__OWNED_PROJECTS:
- return this.ownedProjects != null && !this.ownedProjects.isEmpty();
- case PepperPackage.ORGANIZATION__OWNED_RESOURCE_FOLDERS:
- return this.ownedResourceFolders != null && !this.ownedResourceFolders.isEmpty();
- default:
- return super.eIsSet(featureID);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String toString() {
- if (this.eIsProxy())
- return super.toString();
-
- StringBuilder result = new StringBuilder(super.toString());
- result.append(" (name: ");
- result.append(this.name);
- result.append(')');
- return result.toString();
- }
-
-} // OrganizationImpl
diff --git a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/PepperFactoryImpl.java b/backend/pepper-mm/src/main/java/pepper/peppermm/impl/PepperFactoryImpl.java
deleted file mode 100644
index 8c0a731..0000000
--- a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/PepperFactoryImpl.java
+++ /dev/null
@@ -1,491 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024, 2026 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- ******************************************************************************/
-package pepper.peppermm.impl;
-
-import java.time.Instant;
-import java.time.LocalDate;
-import java.time.format.DateTimeFormatter;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-
-import pepper.peppermm.ExternalStakeholder;
-import pepper.peppermm.InternalStakeholder;
-import pepper.peppermm.KeyResult;
-import pepper.peppermm.Objective;
-import pepper.peppermm.Organization;
-import pepper.peppermm.PepperFactory;
-import pepper.peppermm.PepperPackage;
-import pepper.peppermm.Person;
-import pepper.peppermm.Project;
-import pepper.peppermm.ProjectState;
-import pepper.peppermm.ResourceFolder;
-import pepper.peppermm.Risk;
-import pepper.peppermm.RiskKind;
-import pepper.peppermm.RiskState;
-import pepper.peppermm.TagFolder;
-import pepper.peppermm.Task;
-import pepper.peppermm.TaskTag;
-import pepper.peppermm.Team;
-import pepper.peppermm.Workpackage;
-import pepper.peppermm.WorkpackageArtefact;
-import pepper.peppermm.WorkpackageArtefactNature;
-
-/**
- * An implementation of the model Factory.
- *
- * @generated
- */
-public class PepperFactoryImpl extends EFactoryImpl implements PepperFactory {
- /**
- * Creates the default factory implementation.
- *
- * @generated
- */
- public static PepperFactory init() {
- try {
- PepperFactory thePepperFactory = (PepperFactory) EPackage.Registry.INSTANCE.getEFactory(PepperPackage.eNS_URI);
- if (thePepperFactory != null) {
- return thePepperFactory;
- }
- } catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new PepperFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- *
- * @generated
- */
- public PepperFactoryImpl() {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case PepperPackage.ORGANIZATION:
- return this.createOrganization();
- case PepperPackage.RESOURCE_FOLDER:
- return this.createResourceFolder();
- case PepperPackage.TEAM:
- return this.createTeam();
- case PepperPackage.INTERNAL_STAKEHOLDER:
- return this.createInternalStakeholder();
- case PepperPackage.EXTERNAL_STAKEHOLDER:
- return this.createExternalStakeholder();
- case PepperPackage.PERSON:
- return this.createPerson();
- case PepperPackage.TAG_FOLDER:
- return this.createTagFolder();
- case PepperPackage.TASK_TAG:
- return this.createTaskTag();
- case PepperPackage.TASK:
- return this.createTask();
- case PepperPackage.OBJECTIVE:
- return this.createObjective();
- case PepperPackage.KEY_RESULT:
- return this.createKeyResult();
- case PepperPackage.PROJECT:
- return this.createProject();
- case PepperPackage.WORKPACKAGE:
- return this.createWorkpackage();
- case PepperPackage.WORKPACKAGE_ARTEFACT:
- return this.createWorkpackageArtefact();
- case PepperPackage.RISK:
- return this.createRisk();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object createFromString(EDataType eDataType, String initialValue) {
- switch (eDataType.getClassifierID()) {
- case PepperPackage.WORKPACKAGE_ARTEFACT_NATURE:
- return this.createWorkpackageArtefactNatureFromString(eDataType, initialValue);
- case PepperPackage.RISK_KIND:
- return this.createRiskKindFromString(eDataType, initialValue);
- case PepperPackage.RISK_STATE:
- return this.createRiskStateFromString(eDataType, initialValue);
- case PepperPackage.PROJECT_STATE:
- return this.createProjectStateFromString(eDataType, initialValue);
- case PepperPackage.INSTANT:
- return this.createInstantFromString(eDataType, initialValue);
- case PepperPackage.DATE:
- return this.createDateFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String convertToString(EDataType eDataType, Object instanceValue) {
- switch (eDataType.getClassifierID()) {
- case PepperPackage.WORKPACKAGE_ARTEFACT_NATURE:
- return this.convertWorkpackageArtefactNatureToString(eDataType, instanceValue);
- case PepperPackage.RISK_KIND:
- return this.convertRiskKindToString(eDataType, instanceValue);
- case PepperPackage.RISK_STATE:
- return this.convertRiskStateToString(eDataType, instanceValue);
- case PepperPackage.PROJECT_STATE:
- return this.convertProjectStateToString(eDataType, instanceValue);
- case PepperPackage.INSTANT:
- return this.convertInstantToString(eDataType, instanceValue);
- case PepperPackage.DATE:
- return this.convertDateToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Organization createOrganization() {
- OrganizationImpl organization = new OrganizationImpl();
- return organization;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public ResourceFolder createResourceFolder() {
- ResourceFolderImpl resourceFolder = new ResourceFolderImpl();
- return resourceFolder;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Team createTeam() {
- TeamImpl team = new TeamImpl();
- return team;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public InternalStakeholder createInternalStakeholder() {
- InternalStakeholderImpl internalStakeholder = new InternalStakeholderImpl();
- return internalStakeholder;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public ExternalStakeholder createExternalStakeholder() {
- ExternalStakeholderImpl externalStakeholder = new ExternalStakeholderImpl();
- return externalStakeholder;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Person createPerson() {
- PersonImpl person = new PersonImpl();
- return person;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public TagFolder createTagFolder() {
- TagFolderImpl tagFolder = new TagFolderImpl();
- return tagFolder;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public TaskTag createTaskTag() {
- TaskTagImpl taskTag = new TaskTagImpl();
- return taskTag;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Task createTask() {
- TaskImpl task = new TaskImpl();
- return task;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Objective createObjective() {
- ObjectiveImpl objective = new ObjectiveImpl();
- return objective;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public KeyResult createKeyResult() {
- KeyResultImpl keyResult = new KeyResultImpl();
- return keyResult;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Project createProject() {
- ProjectImpl project = new ProjectImpl();
- return project;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Workpackage createWorkpackage() {
- WorkpackageImpl workpackage = new WorkpackageImpl();
- return workpackage;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public WorkpackageArtefact createWorkpackageArtefact() {
- WorkpackageArtefactImpl workpackageArtefact = new WorkpackageArtefactImpl();
- return workpackageArtefact;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Risk createRisk() {
- RiskImpl risk = new RiskImpl();
- return risk;
- }
-
- /**
- *
- *
- * @generated NOT
- */
- public WorkpackageArtefactNature createWorkpackageArtefactNatureFromString(EDataType eDataType, String initialValue) {
- WorkpackageArtefactNature result = WorkpackageArtefactNature.get(initialValue);
- // if (result == null)
- // throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- *
- *
- * @generated
- */
- public String convertWorkpackageArtefactNatureToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- *
- *
- * @generated NOT
- */
- public RiskKind createRiskKindFromString(EDataType eDataType, String initialValue) {
- RiskKind result = RiskKind.get(initialValue);
- // if (result == null)
- // throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- *
- *
- * @generated
- */
- public String convertRiskKindToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- *
- *
- * @generated NOT
- */
- public RiskState createRiskStateFromString(EDataType eDataType, String initialValue) {
- RiskState result = RiskState.get(initialValue);
- // if (result == null)
- // throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- *
- *
- * @generated
- */
- public String convertRiskStateToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- *
- *
- * @generated NOT
- */
- public ProjectState createProjectStateFromString(EDataType eDataType, String initialValue) {
- ProjectState result = ProjectState.get(initialValue);
- // if (result == null)
- // throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- *
- *
- * @generated
- */
- public String convertProjectStateToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- *
- *
- * @generated NOT
- */
- public Instant createInstantFromString(EDataType eDataType, String initialValue) {
- if (initialValue != null) {
- return Instant.parse(initialValue);
- }
- return null;
- }
-
- /**
- *
- *
- * @generated NOT
- */
- public String convertInstantToString(EDataType eDataType, Object instanceValue) {
- if (instanceValue instanceof Instant instant) {
- return DateTimeFormatter.ISO_INSTANT.format(instant);
- }
- return null;
- }
-
- /**
- *
- *
- * @generated NOT
- */
- public LocalDate createDateFromString(EDataType eDataType, String initialValue) {
- if (initialValue != null) {
- return LocalDate.parse(initialValue);
- }
- return null;
- }
-
- /**
- *
- *
- * @generated NOT
- */
- public String convertDateToString(EDataType eDataType, Object instanceValue) {
- if (instanceValue instanceof LocalDate localDate) {
- return DateTimeFormatter.ISO_LOCAL_DATE.format(localDate);
- }
- return null;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public PepperPackage getPepperPackage() {
- return (PepperPackage) this.getEPackage();
- }
-
- /**
- *
- *
- * @deprecated
- * @generated
- */
- @Deprecated
- public static PepperPackage getPackage() {
- return PepperPackage.eINSTANCE;
- }
-
-} // PepperFactoryImpl
diff --git a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/PepperPackageImpl.java b/backend/pepper-mm/src/main/java/pepper/peppermm/impl/PepperPackageImpl.java
deleted file mode 100644
index d34c92a..0000000
--- a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/PepperPackageImpl.java
+++ /dev/null
@@ -1,1866 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024, 2026 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- ******************************************************************************/
-package pepper.peppermm.impl;
-
-import static pepper.peppermm.PepperPackage.RESOURCE;
-
-import java.time.Instant;
-import java.time.LocalDate;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import pepper.peppermm.AbstractTask;
-import pepper.peppermm.ExternalStakeholder;
-import pepper.peppermm.InternalStakeholder;
-import pepper.peppermm.KeyResult;
-import pepper.peppermm.Objective;
-import pepper.peppermm.Organization;
-import pepper.peppermm.PepperFactory;
-import pepper.peppermm.PepperPackage;
-import pepper.peppermm.Person;
-import pepper.peppermm.Project;
-import pepper.peppermm.ProjectState;
-import pepper.peppermm.Resource;
-import pepper.peppermm.ResourceFolder;
-import pepper.peppermm.Risk;
-import pepper.peppermm.RiskKind;
-import pepper.peppermm.RiskState;
-import pepper.peppermm.TagFolder;
-import pepper.peppermm.Task;
-import pepper.peppermm.TaskTag;
-import pepper.peppermm.Team;
-import pepper.peppermm.Workpackage;
-import pepper.peppermm.WorkpackageArtefact;
-import pepper.peppermm.WorkpackageArtefactNature;
-
-/**
- * An implementation of the model Package.
- *
- * @generated
- */
-public class PepperPackageImpl extends EPackageImpl implements PepperPackage {
- /**
- *
- *
- * @generated
- */
- private EClass organizationEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass resourceEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass resourceFolderEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass teamEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass internalStakeholderEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass externalStakeholderEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass personEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass abstractTaskEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass tagFolderEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass taskTagEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass taskEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass objectiveEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass keyResultEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass projectEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass workpackageEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass workpackageArtefactEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EClass riskEClass = null;
-
- /**
- *
- *
- * @generated
- */
- private EEnum workpackageArtefactNatureEEnum = null;
-
- /**
- *
- *
- * @generated
- */
- private EEnum riskKindEEnum = null;
-
- /**
- *
- *
- * @generated
- */
- private EEnum riskStateEEnum = null;
-
- /**
- *
- *
- * @generated
- */
- private EEnum projectStateEEnum = null;
-
- /**
- *
- *
- * @generated
- */
- private EDataType instantEDataType = null;
-
- /**
- *
- *
- * @generated
- */
- private EDataType dateEDataType = null;
-
- /**
- * Creates an instance of the model Package, registered with {@link org.eclipse.emf.ecore.EPackage.Registry
- * EPackage.Registry} by the package package URI value.
- *
- * 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.
- *
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see pepper.peppermm.PepperPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private PepperPackageImpl() {
- super(eNS_URI, PepperFactory.eINSTANCE);
- }
-
- /**
- *
- *
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the Package for this model, and for any others upon which it depends.
- *
- *
- * This method is used to initialize {@link PepperPackage#eINSTANCE} when that field is accessed. Clients should not
- * invoke it directly. Instead, they should simply access that field to obtain the package.
- *
- *
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static PepperPackage init() {
- if (isInited)
- return (PepperPackage) EPackage.Registry.INSTANCE.getEPackage(PepperPackage.eNS_URI);
-
- // Obtain or create and register package
- Object registeredPepperPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
- PepperPackageImpl thePepperPackage = registeredPepperPackage instanceof PepperPackageImpl ? (PepperPackageImpl) registeredPepperPackage : new PepperPackageImpl();
-
- isInited = true;
-
- // Create package meta-data objects
- thePepperPackage.createPackageContents();
-
- // Initialize created meta-data
- thePepperPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- thePepperPackage.freeze();
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(PepperPackage.eNS_URI, thePepperPackage);
- return thePepperPackage;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getOrganization() {
- return this.organizationEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getOrganization_Name() {
- return (EAttribute) this.organizationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getOrganization_OwnedProjects() {
- return (EReference) this.organizationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getOrganization_OwnedResourceFolders() {
- return (EReference) this.organizationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getResource() {
- return this.resourceEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getResource_Name() {
- return (EAttribute) this.resourceEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getResourceFolder() {
- return this.resourceFolderEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getResourceFolder_Name() {
- return (EAttribute) this.resourceFolderEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getResourceFolder_OwnedResources() {
- return (EReference) this.resourceFolderEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getResourceFolder_SubFolders() {
- return (EReference) this.resourceFolderEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getTeam() {
- return this.teamEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getTeam_Members() {
- return (EReference) this.teamEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getInternalStakeholder() {
- return this.internalStakeholderEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getExternalStakeholder() {
- return this.externalStakeholderEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getExternalStakeholder_Goals() {
- return (EAttribute) this.externalStakeholderEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getPerson() {
- return this.personEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getPerson_Alias() {
- return (EAttribute) this.personEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getPerson_Biography() {
- return (EAttribute) this.personEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getPerson_ImageUrl() {
- return (EAttribute) this.personEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getAbstractTask() {
- return this.abstractTaskEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getAbstractTask_Name() {
- return (EAttribute) this.abstractTaskEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getAbstractTask_Description() {
- return (EAttribute) this.abstractTaskEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getAbstractTask_StartTime() {
- return (EAttribute) this.abstractTaskEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getAbstractTask_EndTime() {
- return (EAttribute) this.abstractTaskEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getAbstractTask_Progress() {
- return (EAttribute) this.abstractTaskEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getAbstractTask_ComputeStartEndDynamically() {
- return (EAttribute) this.abstractTaskEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getAbstractTask_Tags() {
- return (EReference) this.abstractTaskEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getAbstractTask_AssignedPersons() {
- return (EReference) this.abstractTaskEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getAbstractTask_AssignedTeams() {
- return (EReference) this.abstractTaskEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getAbstractTask_SubTasks() {
- return (EReference) this.abstractTaskEClass.getEStructuralFeatures().get(9);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getTagFolder() {
- return this.tagFolderEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getTagFolder_Name() {
- return (EAttribute) this.tagFolderEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getTagFolder_OwnedTags() {
- return (EReference) this.tagFolderEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getTagFolder_SubFolders() {
- return (EReference) this.tagFolderEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getTaskTag() {
- return this.taskTagEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getTaskTag_Prefix() {
- return (EAttribute) this.taskTagEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getTaskTag_Suffix() {
- return (EAttribute) this.taskTagEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getTask() {
- return this.taskEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getTask_Dependencies() {
- return (EReference) this.taskEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getObjective() {
- return this.objectiveEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getObjective_OwnedKeyResults() {
- return (EReference) this.objectiveEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getKeyResult() {
- return this.keyResultEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getProject() {
- return this.projectEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_Name() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getProject_OwnedWorkpackages() {
- return (EReference) this.projectEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getProject_OwnedObjectives() {
- return (EReference) this.projectEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getProject_OwnedTagFolders() {
- return (EReference) this.projectEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getProject_OwnedRisks() {
- return (EReference) this.projectEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_Reference() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_Description() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getProject_LeadingUnit() {
- return (EReference) this.projectEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getProject_ParticipantUnits() {
- return (EReference) this.projectEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_PlannifiedClientCopilMeetings() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(9);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_MainProgramBrick() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(10);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_State() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(11);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getProject_Clients() {
- return (EReference) this.projectEClass.getEStructuralFeatures().get(12);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getProject_Partners() {
- return (EReference) this.projectEClass.getEStructuralFeatures().get(13);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_IsTransverse() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(14);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getProject_Leader() {
- return (EReference) this.projectEClass.getEStructuralFeatures().get(15);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getProject_Members() {
- return (EReference) this.projectEClass.getEStructuralFeatures().get(16);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_IsSensitive() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(17);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_ContractualStartDate() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(18);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_Duration() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(19);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_ContractualEndDate() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(20);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_EffectiveStartDate() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(21);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_EffectiveEndDate() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(22);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_ContractTermExtension() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(23);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_GlobalCost() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(24);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_FundingRate() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(25);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_Funding() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(26);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_Manpower() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(27);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_EOTP() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(28);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_StatisticOrder() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(29);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_InternalNeed() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(30);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getProject_ClientNeed() {
- return (EAttribute) this.projectEClass.getEStructuralFeatures().get(31);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getWorkpackage() {
- return this.workpackageEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getWorkpackage_Name() {
- return (EAttribute) this.workpackageEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getWorkpackage_Description() {
- return (EAttribute) this.workpackageEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getWorkpackage_StartDate() {
- return (EAttribute) this.workpackageEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getWorkpackage_EndDate() {
- return (EAttribute) this.workpackageEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getWorkpackage_Leader() {
- return (EReference) this.workpackageEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getWorkpackage_Participants() {
- return (EReference) this.workpackageEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getWorkpackage_Effort() {
- return (EAttribute) this.workpackageEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getWorkpackage_Outputs() {
- return (EReference) this.workpackageEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getWorkpackage_OwnedTasks() {
- return (EReference) this.workpackageEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getWorkpackage_OwnedObjectives() {
- return (EReference) this.workpackageEClass.getEStructuralFeatures().get(9);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getWorkpackage_Progress() {
- return (EAttribute) this.workpackageEClass.getEStructuralFeatures().get(10);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getWorkpackageArtefact() {
- return this.workpackageArtefactEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getWorkpackageArtefact_Name() {
- return (EAttribute) this.workpackageArtefactEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getWorkpackageArtefact_Description() {
- return (EAttribute) this.workpackageArtefactEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getWorkpackageArtefact_Nature() {
- return (EAttribute) this.workpackageArtefactEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getWorkpackageArtefact_PlannedDeadline() {
- return (EAttribute) this.workpackageArtefactEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getWorkpackageArtefact_EffectiveDeadLine() {
- return (EAttribute) this.workpackageArtefactEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getWorkpackageArtefact_IsInvoiceTrigger() {
- return (EAttribute) this.workpackageArtefactEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getWorkpackageArtefact_InvoiceAmount() {
- return (EAttribute) this.workpackageArtefactEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getWorkpackageArtefact_Responsible() {
- return (EReference) this.workpackageArtefactEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getWorkpackageArtefact_Version() {
- return (EAttribute) this.workpackageArtefactEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getWorkpackageArtefact_IsObsolete() {
- return (EAttribute) this.workpackageArtefactEClass.getEStructuralFeatures().get(9);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EClass getRisk() {
- return this.riskEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getRisk_Kind() {
- return (EAttribute) this.riskEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getRisk_Description() {
- return (EAttribute) this.riskEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getRisk_Criticity() {
- return (EAttribute) this.riskEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getRisk_Action() {
- return (EAttribute) this.riskEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getRisk_Responsible() {
- return (EReference) this.riskEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getRisk_OperationDate() {
- return (EAttribute) this.riskEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getRisk_State() {
- return (EAttribute) this.riskEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getRisk_Workpackages() {
- return (EReference) this.riskEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EEnum getWorkpackageArtefactNature() {
- return this.workpackageArtefactNatureEEnum;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EEnum getRiskKind() {
- return this.riskKindEEnum;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EEnum getRiskState() {
- return this.riskStateEEnum;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EEnum getProjectState() {
- return this.projectStateEEnum;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EDataType getInstant() {
- return this.instantEDataType;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EDataType getDate() {
- return this.dateEDataType;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public PepperFactory getPepperFactory() {
- return (PepperFactory) this.getEFactoryInstance();
- }
-
- /**
- *
- *
- * @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.
- *
- * @generated
- */
- public void createPackageContents() {
- if (this.isCreated)
- return;
- this.isCreated = true;
-
- // Create classes and their features
- this.organizationEClass = this.createEClass(ORGANIZATION);
- this.createEAttribute(this.organizationEClass, ORGANIZATION__NAME);
- this.createEReference(this.organizationEClass, ORGANIZATION__OWNED_PROJECTS);
- this.createEReference(this.organizationEClass, ORGANIZATION__OWNED_RESOURCE_FOLDERS);
-
- this.resourceEClass = this.createEClass(RESOURCE);
- this.createEAttribute(this.resourceEClass, RESOURCE__NAME);
-
- this.resourceFolderEClass = this.createEClass(RESOURCE_FOLDER);
- this.createEAttribute(this.resourceFolderEClass, RESOURCE_FOLDER__NAME);
- this.createEReference(this.resourceFolderEClass, RESOURCE_FOLDER__OWNED_RESOURCES);
- this.createEReference(this.resourceFolderEClass, RESOURCE_FOLDER__SUB_FOLDERS);
-
- this.teamEClass = this.createEClass(TEAM);
- this.createEReference(this.teamEClass, TEAM__MEMBERS);
-
- this.internalStakeholderEClass = this.createEClass(INTERNAL_STAKEHOLDER);
-
- this.externalStakeholderEClass = this.createEClass(EXTERNAL_STAKEHOLDER);
- this.createEAttribute(this.externalStakeholderEClass, EXTERNAL_STAKEHOLDER__GOALS);
-
- this.personEClass = this.createEClass(PERSON);
- this.createEAttribute(this.personEClass, PERSON__ALIAS);
- this.createEAttribute(this.personEClass, PERSON__BIOGRAPHY);
- this.createEAttribute(this.personEClass, PERSON__IMAGE_URL);
-
- this.abstractTaskEClass = this.createEClass(ABSTRACT_TASK);
- this.createEAttribute(this.abstractTaskEClass, ABSTRACT_TASK__NAME);
- this.createEAttribute(this.abstractTaskEClass, ABSTRACT_TASK__DESCRIPTION);
- this.createEAttribute(this.abstractTaskEClass, ABSTRACT_TASK__START_TIME);
- this.createEAttribute(this.abstractTaskEClass, ABSTRACT_TASK__END_TIME);
- this.createEAttribute(this.abstractTaskEClass, ABSTRACT_TASK__PROGRESS);
- this.createEAttribute(this.abstractTaskEClass, ABSTRACT_TASK__COMPUTE_START_END_DYNAMICALLY);
- this.createEReference(this.abstractTaskEClass, ABSTRACT_TASK__TAGS);
- this.createEReference(this.abstractTaskEClass, ABSTRACT_TASK__ASSIGNED_PERSONS);
- this.createEReference(this.abstractTaskEClass, ABSTRACT_TASK__ASSIGNED_TEAMS);
- this.createEReference(this.abstractTaskEClass, ABSTRACT_TASK__SUB_TASKS);
-
- this.tagFolderEClass = this.createEClass(TAG_FOLDER);
- this.createEAttribute(this.tagFolderEClass, TAG_FOLDER__NAME);
- this.createEReference(this.tagFolderEClass, TAG_FOLDER__OWNED_TAGS);
- this.createEReference(this.tagFolderEClass, TAG_FOLDER__SUB_FOLDERS);
-
- this.taskTagEClass = this.createEClass(TASK_TAG);
- this.createEAttribute(this.taskTagEClass, TASK_TAG__PREFIX);
- this.createEAttribute(this.taskTagEClass, TASK_TAG__SUFFIX);
-
- this.taskEClass = this.createEClass(TASK);
- this.createEReference(this.taskEClass, TASK__DEPENDENCIES);
-
- this.objectiveEClass = this.createEClass(OBJECTIVE);
- this.createEReference(this.objectiveEClass, OBJECTIVE__OWNED_KEY_RESULTS);
-
- this.keyResultEClass = this.createEClass(KEY_RESULT);
-
- this.projectEClass = this.createEClass(PROJECT);
- this.createEAttribute(this.projectEClass, PROJECT__NAME);
- this.createEReference(this.projectEClass, PROJECT__OWNED_WORKPACKAGES);
- this.createEReference(this.projectEClass, PROJECT__OWNED_OBJECTIVES);
- this.createEReference(this.projectEClass, PROJECT__OWNED_TAG_FOLDERS);
- this.createEReference(this.projectEClass, PROJECT__OWNED_RISKS);
- this.createEAttribute(this.projectEClass, PROJECT__REFERENCE);
- this.createEAttribute(this.projectEClass, PROJECT__DESCRIPTION);
- this.createEReference(this.projectEClass, PROJECT__LEADING_UNIT);
- this.createEReference(this.projectEClass, PROJECT__PARTICIPANT_UNITS);
- this.createEAttribute(this.projectEClass, PROJECT__PLANNIFIED_CLIENT_COPIL_MEETINGS);
- this.createEAttribute(this.projectEClass, PROJECT__MAIN_PROGRAM_BRICK);
- this.createEAttribute(this.projectEClass, PROJECT__STATE);
- this.createEReference(this.projectEClass, PROJECT__CLIENTS);
- this.createEReference(this.projectEClass, PROJECT__PARTNERS);
- this.createEAttribute(this.projectEClass, PROJECT__IS_TRANSVERSE);
- this.createEReference(this.projectEClass, PROJECT__LEADER);
- this.createEReference(this.projectEClass, PROJECT__MEMBERS);
- this.createEAttribute(this.projectEClass, PROJECT__IS_SENSITIVE);
- this.createEAttribute(this.projectEClass, PROJECT__CONTRACTUAL_START_DATE);
- this.createEAttribute(this.projectEClass, PROJECT__DURATION);
- this.createEAttribute(this.projectEClass, PROJECT__CONTRACTUAL_END_DATE);
- this.createEAttribute(this.projectEClass, PROJECT__EFFECTIVE_START_DATE);
- this.createEAttribute(this.projectEClass, PROJECT__EFFECTIVE_END_DATE);
- this.createEAttribute(this.projectEClass, PROJECT__CONTRACT_TERM_EXTENSION);
- this.createEAttribute(this.projectEClass, PROJECT__GLOBAL_COST);
- this.createEAttribute(this.projectEClass, PROJECT__FUNDING_RATE);
- this.createEAttribute(this.projectEClass, PROJECT__FUNDING);
- this.createEAttribute(this.projectEClass, PROJECT__MANPOWER);
- this.createEAttribute(this.projectEClass, PROJECT__EOTP);
- this.createEAttribute(this.projectEClass, PROJECT__STATISTIC_ORDER);
- this.createEAttribute(this.projectEClass, PROJECT__INTERNAL_NEED);
- this.createEAttribute(this.projectEClass, PROJECT__CLIENT_NEED);
-
- this.workpackageEClass = this.createEClass(WORKPACKAGE);
- this.createEAttribute(this.workpackageEClass, WORKPACKAGE__NAME);
- this.createEAttribute(this.workpackageEClass, WORKPACKAGE__DESCRIPTION);
- this.createEAttribute(this.workpackageEClass, WORKPACKAGE__START_DATE);
- this.createEAttribute(this.workpackageEClass, WORKPACKAGE__END_DATE);
- this.createEReference(this.workpackageEClass, WORKPACKAGE__LEADER);
- this.createEReference(this.workpackageEClass, WORKPACKAGE__PARTICIPANTS);
- this.createEAttribute(this.workpackageEClass, WORKPACKAGE__EFFORT);
- this.createEReference(this.workpackageEClass, WORKPACKAGE__OUTPUTS);
- this.createEReference(this.workpackageEClass, WORKPACKAGE__OWNED_TASKS);
- this.createEReference(this.workpackageEClass, WORKPACKAGE__OWNED_OBJECTIVES);
- this.createEAttribute(this.workpackageEClass, WORKPACKAGE__PROGRESS);
-
- this.workpackageArtefactEClass = this.createEClass(WORKPACKAGE_ARTEFACT);
- this.createEAttribute(this.workpackageArtefactEClass, WORKPACKAGE_ARTEFACT__NAME);
- this.createEAttribute(this.workpackageArtefactEClass, WORKPACKAGE_ARTEFACT__DESCRIPTION);
- this.createEAttribute(this.workpackageArtefactEClass, WORKPACKAGE_ARTEFACT__NATURE);
- this.createEAttribute(this.workpackageArtefactEClass, WORKPACKAGE_ARTEFACT__PLANNED_DEADLINE);
- this.createEAttribute(this.workpackageArtefactEClass, WORKPACKAGE_ARTEFACT__EFFECTIVE_DEAD_LINE);
- this.createEAttribute(this.workpackageArtefactEClass, WORKPACKAGE_ARTEFACT__IS_INVOICE_TRIGGER);
- this.createEAttribute(this.workpackageArtefactEClass, WORKPACKAGE_ARTEFACT__INVOICE_AMOUNT);
- this.createEReference(this.workpackageArtefactEClass, WORKPACKAGE_ARTEFACT__RESPONSIBLE);
- this.createEAttribute(this.workpackageArtefactEClass, WORKPACKAGE_ARTEFACT__VERSION);
- this.createEAttribute(this.workpackageArtefactEClass, WORKPACKAGE_ARTEFACT__IS_OBSOLETE);
-
- this.riskEClass = this.createEClass(RISK);
- this.createEAttribute(this.riskEClass, RISK__KIND);
- this.createEAttribute(this.riskEClass, RISK__DESCRIPTION);
- this.createEAttribute(this.riskEClass, RISK__CRITICITY);
- this.createEAttribute(this.riskEClass, RISK__ACTION);
- this.createEReference(this.riskEClass, RISK__RESPONSIBLE);
- this.createEAttribute(this.riskEClass, RISK__OPERATION_DATE);
- this.createEAttribute(this.riskEClass, RISK__STATE);
- this.createEReference(this.riskEClass, RISK__WORKPACKAGES);
-
- // Create enums
- this.workpackageArtefactNatureEEnum = this.createEEnum(WORKPACKAGE_ARTEFACT_NATURE);
- this.riskKindEEnum = this.createEEnum(RISK_KIND);
- this.riskStateEEnum = this.createEEnum(RISK_STATE);
- this.projectStateEEnum = this.createEEnum(PROJECT_STATE);
-
- // Create data types
- this.instantEDataType = this.createEDataType(INSTANT);
- this.dateEDataType = this.createEDataType(DATE);
- }
-
- /**
- *
- *
- * @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.
- *
- * @generated
- */
- public void initializePackageContents() {
- if (this.isInitialized)
- return;
- this.isInitialized = true;
-
- // Initialize package
- this.setName(eNAME);
- this.setNsPrefix(eNS_PREFIX);
- this.setNsURI(eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- this.teamEClass.getESuperTypes().add(this.getResource());
- this.internalStakeholderEClass.getESuperTypes().add(this.getResource());
- this.externalStakeholderEClass.getESuperTypes().add(this.getResource());
- this.personEClass.getESuperTypes().add(this.getResource());
- this.taskEClass.getESuperTypes().add(this.getAbstractTask());
- this.objectiveEClass.getESuperTypes().add(this.getAbstractTask());
- this.keyResultEClass.getESuperTypes().add(this.getAbstractTask());
-
- // Initialize classes and features; add operations and parameters
- this.initEClass(this.organizationEClass, Organization.class, "Organization", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEAttribute(this.getOrganization_Name(), this.ecorePackage.getEString(), "name", null, 0, 1, Organization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getOrganization_OwnedProjects(), this.getProject(), null, "ownedProjects", null, 0, -1, Organization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getOrganization_OwnedResourceFolders(), this.getResourceFolder(), null, "ownedResourceFolders", null, 0, -1, Organization.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- this.initEClass(this.resourceEClass, Resource.class, "Resource", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEAttribute(this.getResource_Name(), this.ecorePackage.getEString(), "name", null, 0, 1, Resource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
-
- this.initEClass(this.resourceFolderEClass, ResourceFolder.class, "ResourceFolder", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEAttribute(this.getResourceFolder_Name(), this.ecorePackage.getEString(), "name", null, 0, 1, ResourceFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getResourceFolder_OwnedResources(), this.getResource(), null, "ownedResources", null, 0, -1, ResourceFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getResourceFolder_SubFolders(), this.getResourceFolder(), null, "subFolders", null, 0, -1, ResourceFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- this.initEClass(this.teamEClass, Team.class, "Team", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEReference(this.getTeam_Members(), this.getPerson(), null, "members", null, 0, -1, Team.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- this.initEClass(this.internalStakeholderEClass, InternalStakeholder.class, "InternalStakeholder", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- this.initEClass(this.externalStakeholderEClass, ExternalStakeholder.class, "ExternalStakeholder", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEAttribute(this.getExternalStakeholder_Goals(), this.ecorePackage.getEString(), "goals", null, 0, -1, ExternalStakeholder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- this.initEClass(this.personEClass, Person.class, "Person", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEAttribute(this.getPerson_Alias(), this.ecorePackage.getEString(), "alias", null, 0, 1, Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getPerson_Biography(), this.ecorePackage.getEString(), "biography", null, 0, 1, Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getPerson_ImageUrl(), this.ecorePackage.getEString(), "imageUrl", null, 0, 1, Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- this.initEClass(this.abstractTaskEClass, AbstractTask.class, "AbstractTask", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEAttribute(this.getAbstractTask_Name(), this.ecorePackage.getEString(), "name", null, 0, 1, AbstractTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getAbstractTask_Description(), this.ecorePackage.getEString(), "description", null, 0, 1, AbstractTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getAbstractTask_StartTime(), this.getInstant(), "startTime", null, 0, 1, AbstractTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getAbstractTask_EndTime(), this.getInstant(), "endTime", null, 0, 1, AbstractTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getAbstractTask_Progress(), this.ecorePackage.getEInt(), "progress", null, 0, 1, AbstractTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getAbstractTask_ComputeStartEndDynamically(), this.ecorePackage.getEBoolean(), "computeStartEndDynamically", "false", 0, 1, AbstractTask.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getAbstractTask_Tags(), this.getTaskTag(), null, "tags", null, 0, -1, AbstractTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getAbstractTask_AssignedPersons(), this.getPerson(), null, "assignedPersons", null, 0, -1, AbstractTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getAbstractTask_AssignedTeams(), this.getTeam(), null, "assignedTeams", null, 0, -1, AbstractTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getAbstractTask_SubTasks(), this.getTask(), null, "subTasks", null, 0, -1, AbstractTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- this.initEClass(this.tagFolderEClass, TagFolder.class, "TagFolder", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEAttribute(this.getTagFolder_Name(), this.ecorePackage.getEString(), "name", null, 0, 1, TagFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getTagFolder_OwnedTags(), this.getTaskTag(), null, "ownedTags", null, 0, -1, TagFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getTagFolder_SubFolders(), this.getTagFolder(), null, "subFolders", null, 0, -1, TagFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- this.initEClass(this.taskTagEClass, TaskTag.class, "TaskTag", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEAttribute(this.getTaskTag_Prefix(), this.ecorePackage.getEString(), "prefix", null, 0, 1, TaskTag.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getTaskTag_Suffix(), this.ecorePackage.getEString(), "suffix", null, 0, 1, TaskTag.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- this.initEClass(this.taskEClass, Task.class, "Task", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEReference(this.getTask_Dependencies(), this.getTask(), null, "dependencies", null, 0, -1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- this.initEClass(this.objectiveEClass, Objective.class, "Objective", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEReference(this.getObjective_OwnedKeyResults(), this.getKeyResult(), null, "ownedKeyResults", null, 0, -1, Objective.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- this.initEClass(this.keyResultEClass, KeyResult.class, "KeyResult", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- this.initEClass(this.projectEClass, Project.class, "Project", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEAttribute(this.getProject_Name(), this.ecorePackage.getEString(), "name", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getProject_OwnedWorkpackages(), this.getWorkpackage(), null, "ownedWorkpackages", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getProject_OwnedObjectives(), this.getObjective(), null, "ownedObjectives", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getProject_OwnedTagFolders(), this.getTagFolder(), null, "ownedTagFolders", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getProject_OwnedRisks(), this.getRisk(), null, "ownedRisks", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_Reference(), this.ecorePackage.getEString(), "reference", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_Description(), this.ecorePackage.getEString(), "description", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getProject_LeadingUnit(), this.getInternalStakeholder(), null, "leadingUnit", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getProject_ParticipantUnits(), this.getInternalStakeholder(), null, "participantUnits", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_PlannifiedClientCopilMeetings(), this.ecorePackage.getEBooleanObject(), "plannifiedClientCopilMeetings", null, 0, 1, Project.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_MainProgramBrick(), this.ecorePackage.getEString(), "mainProgramBrick", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_State(), this.getProjectState(), "state", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getProject_Clients(), this.getExternalStakeholder(), null, "clients", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getProject_Partners(), this.getExternalStakeholder(), null, "partners", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_IsTransverse(), this.ecorePackage.getEBooleanObject(), "isTransverse", null, 0, 1, Project.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getProject_Leader(), this.getPerson(), null, "leader", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getProject_Members(), this.getPerson(), null, "members", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_IsSensitive(), this.ecorePackage.getEBooleanObject(), "isSensitive", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_ContractualStartDate(), this.getDate(), "contractualStartDate", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_Duration(), this.ecorePackage.getEIntegerObject(), "duration", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_ContractualEndDate(), this.getDate(), "contractualEndDate", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_EffectiveStartDate(), this.getDate(), "effectiveStartDate", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_EffectiveEndDate(), this.getDate(), "effectiveEndDate", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_ContractTermExtension(), this.ecorePackage.getEIntegerObject(), "contractTermExtension", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_GlobalCost(), this.ecorePackage.getEDoubleObject(), "globalCost", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_FundingRate(), this.ecorePackage.getEDoubleObject(), "fundingRate", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_Funding(), this.ecorePackage.getEDoubleObject(), "funding", null, 0, 1, Project.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_Manpower(), this.ecorePackage.getEIntegerObject(), "manpower", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_EOTP(), this.ecorePackage.getEString(), "eOTP", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_StatisticOrder(), this.ecorePackage.getEString(), "statisticOrder", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_InternalNeed(), this.ecorePackage.getEString(), "internalNeed", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getProject_ClientNeed(), this.ecorePackage.getEString(), "clientNeed", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- this.initEClass(this.workpackageEClass, Workpackage.class, "Workpackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEAttribute(this.getWorkpackage_Name(), this.ecorePackage.getEString(), "name", null, 0, 1, Workpackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getWorkpackage_Description(), this.ecorePackage.getEString(), "description", null, 0, 1, Workpackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getWorkpackage_StartDate(), this.getDate(), "startDate", null, 0, 1, Workpackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getWorkpackage_EndDate(), this.getDate(), "endDate", null, 0, 1, Workpackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getWorkpackage_Leader(), this.getPerson(), null, "leader", null, 0, 1, Workpackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getWorkpackage_Participants(), this.getPerson(), null, "participants", null, 0, -1, Workpackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getWorkpackage_Effort(), this.ecorePackage.getEIntegerObject(), "effort", null, 0, 1, Workpackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getWorkpackage_Outputs(), this.getWorkpackageArtefact(), null, "outputs", null, 0, -1, Workpackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getWorkpackage_OwnedTasks(), this.getTask(), null, "ownedTasks", null, 0, -1, Workpackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getWorkpackage_OwnedObjectives(), this.getObjective(), null, "ownedObjectives", null, 0, -1, Workpackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getWorkpackage_Progress(), this.ecorePackage.getEInt(), "progress", null, 0, 1, Workpackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- this.initEClass(this.workpackageArtefactEClass, WorkpackageArtefact.class, "WorkpackageArtefact", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEAttribute(this.getWorkpackageArtefact_Name(), this.ecorePackage.getEString(), "name", null, 0, 1, WorkpackageArtefact.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getWorkpackageArtefact_Description(), this.ecorePackage.getEString(), "description", null, 0, 1, WorkpackageArtefact.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getWorkpackageArtefact_Nature(), this.getWorkpackageArtefactNature(), "nature", null, 0, 1, WorkpackageArtefact.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getWorkpackageArtefact_PlannedDeadline(), this.getDate(), "plannedDeadline", null, 0, 1, WorkpackageArtefact.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getWorkpackageArtefact_EffectiveDeadLine(), this.getDate(), "effectiveDeadLine", null, 0, 1, WorkpackageArtefact.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getWorkpackageArtefact_IsInvoiceTrigger(), this.ecorePackage.getEBooleanObject(), "isInvoiceTrigger", null, 0, 1, WorkpackageArtefact.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getWorkpackageArtefact_InvoiceAmount(), this.ecorePackage.getEIntegerObject(), "invoiceAmount", null, 0, 1, WorkpackageArtefact.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getWorkpackageArtefact_Responsible(), this.getPerson(), null, "responsible", null, 0, 1, WorkpackageArtefact.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getWorkpackageArtefact_Version(), this.ecorePackage.getEString(), "version", null, 0, 1, WorkpackageArtefact.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getWorkpackageArtefact_IsObsolete(), this.ecorePackage.getEBooleanObject(), "isObsolete", null, 0, 1, WorkpackageArtefact.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- this.initEClass(this.riskEClass, Risk.class, "Risk", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- this.initEAttribute(this.getRisk_Kind(), this.getRiskKind(), "kind", null, 0, 1, Risk.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- this.initEAttribute(this.getRisk_Description(), this.ecorePackage.getEString(), "description", null, 0, 1, Risk.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getRisk_Criticity(), this.ecorePackage.getEIntegerObject(), "criticity", null, 0, 1, Risk.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getRisk_Action(), this.ecorePackage.getEString(), "action", null, 0, 1, Risk.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- this.initEReference(this.getRisk_Responsible(), this.getPerson(), null, "responsible", null, 0, 1, Risk.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getRisk_OperationDate(), this.getDate(), "operationDate", null, 0, 1, Risk.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- this.initEAttribute(this.getRisk_State(), this.getRiskState(), "state", null, 0, 1, Risk.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- this.initEReference(this.getRisk_Workpackages(), this.getWorkpackage(), null, "workpackages", null, 0, -1, Risk.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
- this.initEEnum(this.workpackageArtefactNatureEEnum, WorkpackageArtefactNature.class, "WorkpackageArtefactNature");
- this.addEEnumLiteral(this.workpackageArtefactNatureEEnum, WorkpackageArtefactNature.DELIVRABLE);
- this.addEEnumLiteral(this.workpackageArtefactNatureEEnum, WorkpackageArtefactNature.DECISIONAL);
- this.addEEnumLiteral(this.workpackageArtefactNatureEEnum, WorkpackageArtefactNature.PROJECT_REVIEW);
- this.addEEnumLiteral(this.workpackageArtefactNatureEEnum, WorkpackageArtefactNature.ACTION);
- this.addEEnumLiteral(this.workpackageArtefactNatureEEnum, WorkpackageArtefactNature.INVOICING);
- this.addEEnumLiteral(this.workpackageArtefactNatureEEnum, WorkpackageArtefactNature.EXPENSE_STATEMENT);
- this.addEEnumLiteral(this.workpackageArtefactNatureEEnum, WorkpackageArtefactNature.CLIENT_SATISFACTION);
- this.addEEnumLiteral(this.workpackageArtefactNatureEEnum, WorkpackageArtefactNature.OTHER);
-
- this.initEEnum(this.riskKindEEnum, RiskKind.class, "RiskKind");
- this.addEEnumLiteral(this.riskKindEEnum, RiskKind.MANPOWER);
- this.addEEnumLiteral(this.riskKindEEnum, RiskKind.MACHINE);
- this.addEEnumLiteral(this.riskKindEEnum, RiskKind.MATERIAL);
- this.addEEnumLiteral(this.riskKindEEnum, RiskKind.MEASUREMENT);
- this.addEEnumLiteral(this.riskKindEEnum, RiskKind.METHOD);
- this.addEEnumLiteral(this.riskKindEEnum, RiskKind.MISSION);
- this.addEEnumLiteral(this.riskKindEEnum, RiskKind.MANAGEMENT);
- this.addEEnumLiteral(this.riskKindEEnum, RiskKind.MAINTENANCE);
-
- this.initEEnum(this.riskStateEEnum, RiskState.class, "RiskState");
- this.addEEnumLiteral(this.riskStateEEnum, RiskState.ON_GOING);
- this.addEEnumLiteral(this.riskStateEEnum, RiskState.UNDER_INSTRUCTION);
- this.addEEnumLiteral(this.riskStateEEnum, RiskState.STOP_BEFORE_TERM);
- this.addEEnumLiteral(this.riskStateEEnum, RiskState.COMPLETED);
-
- this.initEEnum(this.projectStateEEnum, ProjectState.class, "ProjectState");
- this.addEEnumLiteral(this.projectStateEEnum, ProjectState.ON_GOING);
- this.addEEnumLiteral(this.projectStateEEnum, ProjectState.UNDER_INSTRUCTION);
- this.addEEnumLiteral(this.projectStateEEnum, ProjectState.STOP_BEFORE_TERM);
- this.addEEnumLiteral(this.projectStateEEnum, ProjectState.COMPLETED);
-
- // Initialize data types
- this.initEDataType(this.instantEDataType, Instant.class, "Instant", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
- this.initEDataType(this.dateEDataType, LocalDate.class, "Date", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
-
- // Create resource
- this.createResource(eNS_URI);
- }
-
-} // PepperPackageImpl
diff --git a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/PersonImpl.java b/backend/pepper-mm/src/main/java/pepper/peppermm/impl/PersonImpl.java
deleted file mode 100644
index c67e309..0000000
--- a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/PersonImpl.java
+++ /dev/null
@@ -1,289 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024, 2026 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- ******************************************************************************/
-package pepper.peppermm.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import pepper.peppermm.PepperPackage;
-import pepper.peppermm.Person;
-
-/**
- * An implementation of the model object 'Person'.
- *
- * The following features are implemented:
- *
- *
- * - {@link pepper.peppermm.impl.PersonImpl#getAlias Alias}
- * - {@link pepper.peppermm.impl.PersonImpl#getBiography Biography}
- * - {@link pepper.peppermm.impl.PersonImpl#getImageUrl Image Url}
- *
- *
- * @generated
- */
-public class PersonImpl extends ResourceImpl implements Person {
- /**
- * The default value of the '{@link #getAlias() Alias}' attribute.
- *
- * @see #getAlias()
- * @generated
- * @ordered
- */
- protected static final String ALIAS_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getAlias() Alias}' attribute.
- *
- * @see #getAlias()
- * @generated
- * @ordered
- */
- protected String alias = ALIAS_EDEFAULT;
-
- /**
- * The default value of the '{@link #getBiography() Biography}' attribute.
- *
- * @see #getBiography()
- * @generated
- * @ordered
- */
- protected static final String BIOGRAPHY_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getBiography() Biography}' attribute.
- *
- * @see #getBiography()
- * @generated
- * @ordered
- */
- protected String biography = BIOGRAPHY_EDEFAULT;
-
- /**
- * The default value of the '{@link #getImageUrl() Image Url}' attribute.
- *
- * @see #getImageUrl()
- * @generated
- * @ordered
- */
- protected static final String IMAGE_URL_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getImageUrl() Image Url}' attribute.
- *
- * @see #getImageUrl()
- * @generated
- * @ordered
- */
- protected String imageUrl = IMAGE_URL_EDEFAULT;
-
- /**
- *
- *
- * @generated
- */
- protected PersonImpl() {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PepperPackage.Literals.PERSON;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getAlias() {
- return this.alias;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setAlias(String newAlias) {
- String oldAlias = this.alias;
- this.alias = newAlias;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PERSON__ALIAS, oldAlias, this.alias));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getBiography() {
- return this.biography;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setBiography(String newBiography) {
- String oldBiography = this.biography;
- this.biography = newBiography;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PERSON__BIOGRAPHY, oldBiography, this.biography));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getImageUrl() {
- return this.imageUrl;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setImageUrl(String newImageUrl) {
- String oldImageUrl = this.imageUrl;
- this.imageUrl = newImageUrl;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PERSON__IMAGE_URL, oldImageUrl, this.imageUrl));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PepperPackage.PERSON__ALIAS:
- return this.getAlias();
- case PepperPackage.PERSON__BIOGRAPHY:
- return this.getBiography();
- case PepperPackage.PERSON__IMAGE_URL:
- return this.getImageUrl();
- default:
- return super.eGet(featureID, resolve, coreType);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PepperPackage.PERSON__ALIAS:
- this.setAlias((String) newValue);
- return;
- case PepperPackage.PERSON__BIOGRAPHY:
- this.setBiography((String) newValue);
- return;
- case PepperPackage.PERSON__IMAGE_URL:
- this.setImageUrl((String) newValue);
- return;
- default:
- super.eSet(featureID, newValue);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PepperPackage.PERSON__ALIAS:
- this.setAlias(ALIAS_EDEFAULT);
- return;
- case PepperPackage.PERSON__BIOGRAPHY:
- this.setBiography(BIOGRAPHY_EDEFAULT);
- return;
- case PepperPackage.PERSON__IMAGE_URL:
- this.setImageUrl(IMAGE_URL_EDEFAULT);
- return;
- default:
- super.eUnset(featureID);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PepperPackage.PERSON__ALIAS:
- return ALIAS_EDEFAULT == null ? this.alias != null : !ALIAS_EDEFAULT.equals(this.alias);
- case PepperPackage.PERSON__BIOGRAPHY:
- return BIOGRAPHY_EDEFAULT == null ? this.biography != null : !BIOGRAPHY_EDEFAULT.equals(this.biography);
- case PepperPackage.PERSON__IMAGE_URL:
- return IMAGE_URL_EDEFAULT == null ? this.imageUrl != null : !IMAGE_URL_EDEFAULT.equals(this.imageUrl);
- default:
- return super.eIsSet(featureID);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String toString() {
- if (this.eIsProxy())
- return super.toString();
-
- StringBuilder result = new StringBuilder(super.toString());
- result.append(" (alias: ");
- result.append(this.alias);
- result.append(", biography: ");
- result.append(this.biography);
- result.append(", imageUrl: ");
- result.append(this.imageUrl);
- result.append(')');
- return result.toString();
- }
-
-} // PersonImpl
diff --git a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/ProjectImpl.java b/backend/pepper-mm/src/main/java/pepper/peppermm/impl/ProjectImpl.java
deleted file mode 100644
index 7ac1529..0000000
--- a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/ProjectImpl.java
+++ /dev/null
@@ -1,1754 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024, 2026 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- ******************************************************************************/
-package pepper.peppermm.impl;
-
-import java.math.BigDecimal;
-import java.math.RoundingMode;
-import java.time.LocalDate;
-import java.time.temporal.ChronoUnit;
-import java.util.Collection;
-import java.util.Objects;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import pepper.peppermm.ExternalStakeholder;
-import pepper.peppermm.InternalStakeholder;
-import pepper.peppermm.Objective;
-import pepper.peppermm.PepperPackage;
-import pepper.peppermm.Person;
-import pepper.peppermm.Project;
-import pepper.peppermm.ProjectState;
-import pepper.peppermm.Risk;
-import pepper.peppermm.TagFolder;
-import pepper.peppermm.Workpackage;
-
-/**
- * An implementation of the model object 'Project'.
- *
- * The following features are implemented:
- *
- *
- * - {@link pepper.peppermm.impl.ProjectImpl#getName Name}
- * - {@link pepper.peppermm.impl.ProjectImpl#getOwnedWorkpackages Owned Workpackages}
- * - {@link pepper.peppermm.impl.ProjectImpl#getOwnedObjectives Owned Objectives}
- * - {@link pepper.peppermm.impl.ProjectImpl#getOwnedTagFolders Owned Tag Folders}
- * - {@link pepper.peppermm.impl.ProjectImpl#getOwnedRisks Owned Risks}
- * - {@link pepper.peppermm.impl.ProjectImpl#getReference Reference}
- * - {@link pepper.peppermm.impl.ProjectImpl#getDescription Description}
- * - {@link pepper.peppermm.impl.ProjectImpl#getLeadingUnit Leading Unit}
- * - {@link pepper.peppermm.impl.ProjectImpl#getParticipantUnits Participant Units}
- * - {@link pepper.peppermm.impl.ProjectImpl#getPlannifiedClientCopilMeetings Plannified Client Copil
- * Meetings}
- * - {@link pepper.peppermm.impl.ProjectImpl#getMainProgramBrick Main Program Brick}
- * - {@link pepper.peppermm.impl.ProjectImpl#getState State}
- * - {@link pepper.peppermm.impl.ProjectImpl#getClients Clients}
- * - {@link pepper.peppermm.impl.ProjectImpl#getPartners Partners}
- * - {@link pepper.peppermm.impl.ProjectImpl#getIsTransverse Is Transverse}
- * - {@link pepper.peppermm.impl.ProjectImpl#getLeader Leader}
- * - {@link pepper.peppermm.impl.ProjectImpl#getMembers Members}
- * - {@link pepper.peppermm.impl.ProjectImpl#getIsSensitive Is Sensitive}
- * - {@link pepper.peppermm.impl.ProjectImpl#getContractualStartDate Contractual Start Date}
- * - {@link pepper.peppermm.impl.ProjectImpl#getDuration Duration}
- * - {@link pepper.peppermm.impl.ProjectImpl#getContractualEndDate Contractual End Date}
- * - {@link pepper.peppermm.impl.ProjectImpl#getEffectiveStartDate Effective Start Date}
- * - {@link pepper.peppermm.impl.ProjectImpl#getEffectiveEndDate Effective End Date}
- * - {@link pepper.peppermm.impl.ProjectImpl#getContractTermExtension Contract Term Extension}
- * - {@link pepper.peppermm.impl.ProjectImpl#getGlobalCost Global Cost}
- * - {@link pepper.peppermm.impl.ProjectImpl#getFundingRate Funding Rate}
- * - {@link pepper.peppermm.impl.ProjectImpl#getFunding Funding}
- * - {@link pepper.peppermm.impl.ProjectImpl#getManpower Manpower}
- * - {@link pepper.peppermm.impl.ProjectImpl#getEOTP EOTP}
- * - {@link pepper.peppermm.impl.ProjectImpl#getStatisticOrder Statistic Order}
- * - {@link pepper.peppermm.impl.ProjectImpl#getInternalNeed Internal Need}
- * - {@link pepper.peppermm.impl.ProjectImpl#getClientNeed Client Need}
- *
- *
- * @generated
- */
-public class ProjectImpl extends MinimalEObjectImpl.Container implements Project {
- /**
- * The default value of the '{@link #getName() Name}' attribute.
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() Name}' attribute.
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getOwnedWorkpackages() Owned Workpackages}' containment reference list.
- *
- *
- * @see #getOwnedWorkpackages()
- * @generated
- * @ordered
- */
- protected EList ownedWorkpackages;
-
- /**
- * The cached value of the '{@link #getOwnedObjectives() Owned Objectives}' containment reference list.
- *
- *
- * @see #getOwnedObjectives()
- * @generated
- * @ordered
- */
- protected EList ownedObjectives;
-
- /**
- * The cached value of the '{@link #getOwnedTagFolders() Owned Tag Folders}' containment reference list.
- *
- *
- * @see #getOwnedTagFolders()
- * @generated
- * @ordered
- */
- protected EList ownedTagFolders;
-
- /**
- * The cached value of the '{@link #getOwnedRisks() Owned Risks}' containment reference list.
- *
- * @see #getOwnedRisks()
- * @generated
- * @ordered
- */
- protected EList ownedRisks;
-
- /**
- * The default value of the '{@link #getReference() Reference}' attribute.
- *
- * @see #getReference()
- * @generated
- * @ordered
- */
- protected static final String REFERENCE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getReference() Reference}' attribute.
- *
- * @see #getReference()
- * @generated
- * @ordered
- */
- protected String reference = REFERENCE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDescription() Description}' attribute.
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() Description}' attribute.
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getLeadingUnit() Leading Unit}' reference.
- *
- * @see #getLeadingUnit()
- * @generated
- * @ordered
- */
- protected InternalStakeholder leadingUnit;
-
- /**
- * The cached value of the '{@link #getParticipantUnits() Participant Units}' reference list.
- *
- * @see #getParticipantUnits()
- * @generated
- * @ordered
- */
- protected EList participantUnits;
-
- /**
- * The default value of the '{@link #getPlannifiedClientCopilMeetings() Plannified Client Copil Meetings}'
- * attribute.
- *
- * @see #getPlannifiedClientCopilMeetings()
- * @generated
- * @ordered
- */
- protected static final Boolean PLANNIFIED_CLIENT_COPIL_MEETINGS_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPlannifiedClientCopilMeetings() Plannified Client Copil Meetings}'
- * attribute.
- *
- * @see #getPlannifiedClientCopilMeetings()
- * @generated
- * @ordered
- */
- protected Boolean plannifiedClientCopilMeetings = PLANNIFIED_CLIENT_COPIL_MEETINGS_EDEFAULT;
-
- /**
- * The default value of the '{@link #getMainProgramBrick() Main Program Brick}' attribute.
- *
- * @see #getMainProgramBrick()
- * @generated
- * @ordered
- */
- protected static final String MAIN_PROGRAM_BRICK_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getMainProgramBrick() Main Program Brick}' attribute.
- *
- * @see #getMainProgramBrick()
- * @generated
- * @ordered
- */
- protected String mainProgramBrick = MAIN_PROGRAM_BRICK_EDEFAULT;
-
- /**
- * The default value of the '{@link #getState() State}' attribute.
- *
- * @see #getState()
- * @generated NOT
- * @ordered
- */
- protected static final ProjectState STATE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getState() State}' attribute.
- *
- * @see #getState()
- * @generated
- * @ordered
- */
- protected ProjectState state = STATE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getClients() Clients}' reference list.
- *
- * @see #getClients()
- * @generated
- * @ordered
- */
- protected EList clients;
-
- /**
- * The cached value of the '{@link #getPartners() Partners}' reference list.
- *
- * @see #getPartners()
- * @generated
- * @ordered
- */
- protected EList partners;
-
- /**
- * The default value of the '{@link #getIsTransverse() Is Transverse}' attribute.
- *
- *
- * @see #getIsTransverse()
- * @generated
- * @ordered
- */
- protected static final Boolean IS_TRANSVERSE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLeader() Leader}' reference.
- *
- * @see #getLeader()
- * @generated
- * @ordered
- */
- protected Person leader;
-
- /**
- * The cached value of the '{@link #getMembers() Members}' reference list.
- *
- * @see #getMembers()
- * @generated
- * @ordered
- */
- protected EList members;
-
- /**
- * The default value of the '{@link #getIsSensitive() Is Sensitive}' attribute.
- *
- *
- * @see #getIsSensitive()
- * @generated
- * @ordered
- */
- protected static final Boolean IS_SENSITIVE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getIsSensitive() Is Sensitive}' attribute.
- *
- * @see #getIsSensitive()
- * @generated
- * @ordered
- */
- protected Boolean isSensitive = IS_SENSITIVE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getContractualStartDate() Contractual Start Date}' attribute.
- *
- * @see #getContractualStartDate()
- * @generated
- * @ordered
- */
- protected static final LocalDate CONTRACTUAL_START_DATE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getContractualStartDate() Contractual Start Date}' attribute.
- *
- * @see #getContractualStartDate()
- * @generated
- * @ordered
- */
- protected LocalDate contractualStartDate = CONTRACTUAL_START_DATE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDuration() Duration}' attribute.
- *
- * @see #getDuration()
- * @generated
- * @ordered
- */
- protected static final Integer DURATION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDuration() Duration}' attribute.
- *
- * @see #getDuration()
- * @generated
- * @ordered
- */
- protected Integer duration = DURATION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getContractualEndDate() Contractual End Date}' attribute.
- *
- * @see #getContractualEndDate()
- * @generated
- * @ordered
- */
- protected static final LocalDate CONTRACTUAL_END_DATE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getContractualEndDate() Contractual End Date}' attribute.
- *
- * @see #getContractualEndDate()
- * @generated
- * @ordered
- */
- protected LocalDate contractualEndDate = CONTRACTUAL_END_DATE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getEffectiveStartDate() Effective Start Date}' attribute.
- *
- * @see #getEffectiveStartDate()
- * @generated
- * @ordered
- */
- protected static final LocalDate EFFECTIVE_START_DATE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getEffectiveStartDate() Effective Start Date}' attribute.
- *
- * @see #getEffectiveStartDate()
- * @generated
- * @ordered
- */
- protected LocalDate effectiveStartDate = EFFECTIVE_START_DATE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getEffectiveEndDate() Effective End Date}' attribute.
- *
- * @see #getEffectiveEndDate()
- * @generated
- * @ordered
- */
- protected static final LocalDate EFFECTIVE_END_DATE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getEffectiveEndDate() Effective End Date}' attribute.
- *
- * @see #getEffectiveEndDate()
- * @generated
- * @ordered
- */
- protected LocalDate effectiveEndDate = EFFECTIVE_END_DATE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getContractTermExtension() Contract Term Extension}' attribute.
- *
- * @see #getContractTermExtension()
- * @generated
- * @ordered
- */
- protected static final Integer CONTRACT_TERM_EXTENSION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getContractTermExtension() Contract Term Extension}' attribute.
- *
- * @see #getContractTermExtension()
- * @generated
- * @ordered
- */
- protected Integer contractTermExtension = CONTRACT_TERM_EXTENSION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getGlobalCost() Global Cost}' attribute.
- *
- * @see #getGlobalCost()
- * @generated
- * @ordered
- */
- protected static final Double GLOBAL_COST_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getGlobalCost() Global Cost}' attribute.
- *
- * @see #getGlobalCost()
- * @generated
- * @ordered
- */
- protected Double globalCost = GLOBAL_COST_EDEFAULT;
-
- /**
- * The default value of the '{@link #getFundingRate() Funding Rate}' attribute.
- *
- *
- * @see #getFundingRate()
- * @generated
- * @ordered
- */
- protected static final Double FUNDING_RATE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getFundingRate() Funding Rate}' attribute.
- *
- * @see #getFundingRate()
- * @generated
- * @ordered
- */
- protected Double fundingRate = FUNDING_RATE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getFunding() Funding}' attribute.
- *
- * @see #getFunding()
- * @generated
- * @ordered
- */
- protected static final Double FUNDING_EDEFAULT = null;
-
- /**
- * The default value of the '{@link #getManpower() Manpower}' attribute.
- *
- * @see #getManpower()
- * @generated
- * @ordered
- */
- protected static final Integer MANPOWER_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getManpower() Manpower}' attribute.
- *
- * @see #getManpower()
- * @generated
- * @ordered
- */
- protected Integer manpower = MANPOWER_EDEFAULT;
-
- /**
- * The default value of the '{@link #getEOTP() EOTP}' attribute.
- *
- * @see #getEOTP()
- * @generated
- * @ordered
- */
- protected static final String EOTP_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getEOTP() EOTP}' attribute.
- *
- * @see #getEOTP()
- * @generated
- * @ordered
- */
- protected String eOTP = EOTP_EDEFAULT;
-
- /**
- * The default value of the '{@link #getStatisticOrder() Statistic Order}' attribute.
- *
- * @see #getStatisticOrder()
- * @generated
- * @ordered
- */
- protected static final String STATISTIC_ORDER_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getStatisticOrder() Statistic Order}' attribute.
- *
- * @see #getStatisticOrder()
- * @generated
- * @ordered
- */
- protected String statisticOrder = STATISTIC_ORDER_EDEFAULT;
-
- /**
- * The default value of the '{@link #getInternalNeed() Internal Need}' attribute.
- *
- *
- * @see #getInternalNeed()
- * @generated
- * @ordered
- */
- protected static final String INTERNAL_NEED_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getInternalNeed() Internal Need}' attribute.
- *
- *
- * @see #getInternalNeed()
- * @generated
- * @ordered
- */
- protected String internalNeed = INTERNAL_NEED_EDEFAULT;
-
- /**
- * The default value of the '{@link #getClientNeed() Client Need}' attribute.
- *
- * @see #getClientNeed()
- * @generated
- * @ordered
- */
- protected static final String CLIENT_NEED_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getClientNeed() Client Need}' attribute.
- *
- * @see #getClientNeed()
- * @generated
- * @ordered
- */
- protected String clientNeed = CLIENT_NEED_EDEFAULT;
-
- /**
- *
- *
- * @generated
- */
- protected ProjectImpl() {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PepperPackage.Literals.PROJECT;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getName() {
- return this.name;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setName(String newName) {
- String oldName = this.name;
- this.name = newName;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__NAME, oldName, this.name));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getOwnedWorkpackages() {
- if (this.ownedWorkpackages == null) {
- this.ownedWorkpackages = new EObjectContainmentEList<>(Workpackage.class, this, PepperPackage.PROJECT__OWNED_WORKPACKAGES);
- }
- return this.ownedWorkpackages;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getOwnedObjectives() {
- if (this.ownedObjectives == null) {
- this.ownedObjectives = new EObjectContainmentEList<>(Objective.class, this, PepperPackage.PROJECT__OWNED_OBJECTIVES);
- }
- return this.ownedObjectives;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getOwnedTagFolders() {
- if (this.ownedTagFolders == null) {
- this.ownedTagFolders = new EObjectContainmentEList<>(TagFolder.class, this, PepperPackage.PROJECT__OWNED_TAG_FOLDERS);
- }
- return this.ownedTagFolders;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getOwnedRisks() {
- if (this.ownedRisks == null) {
- this.ownedRisks = new EObjectContainmentEList<>(Risk.class, this, PepperPackage.PROJECT__OWNED_RISKS);
- }
- return this.ownedRisks;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getReference() {
- return this.reference;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setReference(String newReference) {
- String oldReference = this.reference;
- this.reference = newReference;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__REFERENCE, oldReference, this.reference));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getDescription() {
- return this.description;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setDescription(String newDescription) {
- String oldDescription = this.description;
- this.description = newDescription;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__DESCRIPTION, oldDescription, this.description));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public InternalStakeholder getLeadingUnit() {
- if (this.leadingUnit != null && this.leadingUnit.eIsProxy()) {
- InternalEObject oldLeadingUnit = (InternalEObject) this.leadingUnit;
- this.leadingUnit = (InternalStakeholder) this.eResolveProxy(oldLeadingUnit);
- if (this.leadingUnit != oldLeadingUnit) {
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.RESOLVE, PepperPackage.PROJECT__LEADING_UNIT, oldLeadingUnit, this.leadingUnit));
- }
- }
- return this.leadingUnit;
- }
-
- /**
- *
- *
- * @generated
- */
- public InternalStakeholder basicGetLeadingUnit() {
- return this.leadingUnit;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setLeadingUnit(InternalStakeholder newLeadingUnit) {
- InternalStakeholder oldLeadingUnit = this.leadingUnit;
- this.leadingUnit = newLeadingUnit;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__LEADING_UNIT, oldLeadingUnit, this.leadingUnit));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getParticipantUnits() {
- if (this.participantUnits == null) {
- this.participantUnits = new EObjectResolvingEList<>(InternalStakeholder.class, this, PepperPackage.PROJECT__PARTICIPANT_UNITS);
- }
- return this.participantUnits;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Boolean getPlannifiedClientCopilMeetings() {
- return this.plannifiedClientCopilMeetings;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setPlannifiedClientCopilMeetings(Boolean newPlannifiedClientCopilMeetings) {
- Boolean oldPlannifiedClientCopilMeetings = this.plannifiedClientCopilMeetings;
- this.plannifiedClientCopilMeetings = newPlannifiedClientCopilMeetings;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__PLANNIFIED_CLIENT_COPIL_MEETINGS, oldPlannifiedClientCopilMeetings, this.plannifiedClientCopilMeetings));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getMainProgramBrick() {
- return this.mainProgramBrick;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setMainProgramBrick(String newMainProgramBrick) {
- String oldMainProgramBrick = this.mainProgramBrick;
- this.mainProgramBrick = newMainProgramBrick;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__MAIN_PROGRAM_BRICK, oldMainProgramBrick, this.mainProgramBrick));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public ProjectState getState() {
- return this.state;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setState(ProjectState newState) {
- ProjectState oldState = this.state;
- this.state = newState == null ? STATE_EDEFAULT : newState;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__STATE, oldState, this.state));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getClients() {
- if (this.clients == null) {
- this.clients = new EObjectResolvingEList<>(ExternalStakeholder.class, this, PepperPackage.PROJECT__CLIENTS);
- }
- return this.clients;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getPartners() {
- if (this.partners == null) {
- this.partners = new EObjectResolvingEList<>(ExternalStakeholder.class, this, PepperPackage.PROJECT__PARTNERS);
- }
- return this.partners;
- }
-
- /**
- *
- *
- * @generated NOT
- */
- @Override
- public Boolean getIsTransverse() {
- return this.getParticipantUnits().size() > 1;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Person getLeader() {
- if (this.leader != null && this.leader.eIsProxy()) {
- InternalEObject oldLeader = (InternalEObject) this.leader;
- this.leader = (Person) this.eResolveProxy(oldLeader);
- if (this.leader != oldLeader) {
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.RESOLVE, PepperPackage.PROJECT__LEADER, oldLeader, this.leader));
- }
- }
- return this.leader;
- }
-
- /**
- *
- *
- * @generated
- */
- public Person basicGetLeader() {
- return this.leader;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setLeader(Person newLeader) {
- Person oldLeader = this.leader;
- this.leader = newLeader;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__LEADER, oldLeader, this.leader));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getMembers() {
- if (this.members == null) {
- this.members = new EObjectResolvingEList<>(Person.class, this, PepperPackage.PROJECT__MEMBERS);
- }
- return this.members;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Boolean getIsSensitive() {
- return this.isSensitive;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setIsSensitive(Boolean newIsSensitive) {
- Boolean oldIsSensitive = this.isSensitive;
- this.isSensitive = newIsSensitive;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__IS_SENSITIVE, oldIsSensitive, this.isSensitive));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public LocalDate getContractualStartDate() {
- return this.contractualStartDate;
- }
-
- /**
- *
- *
- * @generated NOT
- */
- @Override
- public void setContractualStartDate(LocalDate newContractualStartDate) {
- LocalDate oldContractualStartDate = this.contractualStartDate;
- this.contractualStartDate = newContractualStartDate;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__CONTRACTUAL_START_DATE, oldContractualStartDate, this.contractualStartDate));
-
- if (this.contractualStartDate == null) {
- this.setContractualEndDate(null);
- } else if (this.duration != null) {
- this.setDuration(this.duration);
- } else if (this.contractualEndDate != null) {
- this.setContractualEndDate(this.contractualEndDate);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Integer getDuration() {
- return this.duration;
- }
-
- /**
- *
- *
- * @generated NOT
- */
- @Override
- public void setDuration(Integer newDuration) {
- Integer oldDuration = this.duration;
- if (newDuration != null && newDuration < 0) {
- this.duration = 0;
- } else {
- this.duration = newDuration;
- }
-
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__DURATION, oldDuration, this.duration));
-
- if (this.duration == null) {
- LocalDate oldContractualEndDate = this.contractualEndDate;
- this.contractualEndDate = null;
-
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__CONTRACTUAL_END_DATE, oldContractualEndDate, this.contractualEndDate));
- } else if (this.contractualStartDate != null) {
- LocalDate oldContractualEndDate = this.contractualEndDate;
- this.contractualEndDate = this.contractualStartDate.plusWeeks(this.duration);
-
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__CONTRACTUAL_END_DATE, oldContractualEndDate, this.contractualEndDate));
- }
- }
-
-
- /**
- *
- *
- * @generated
- */
- @Override
- public LocalDate getContractualEndDate() {
- return this.contractualEndDate;
- }
-
- /**
- *
- *
- * @generated NOT
- */
- @Override
- public void setContractualEndDate(LocalDate newContractualEndDate) {
- LocalDate oldContractualEndDate = this.contractualEndDate;
- this.contractualEndDate = newContractualEndDate;
- if (this.contractualStartDate != null && this.contractualStartDate.until(newContractualEndDate, ChronoUnit.WEEKS) < 0) {
- this.contractualEndDate = this.contractualStartDate;
- }
-
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__CONTRACTUAL_END_DATE, oldContractualEndDate, this.contractualEndDate));
-
- if (this.contractualEndDate == null) {
- Integer oldDuration = this.duration;
- this.duration = null;
-
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__DURATION, oldDuration, this.duration));
- } else if (this.contractualStartDate != null) {
- Integer oldDuration = this.duration;
- this.duration = Integer.valueOf(Long.valueOf(this.contractualStartDate.until(this.contractualEndDate, ChronoUnit.WEEKS)).intValue());
-
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__DURATION, oldDuration, this.duration));
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public LocalDate getEffectiveStartDate() {
- return this.effectiveStartDate;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setEffectiveStartDate(LocalDate newEffectiveStartDate) {
- LocalDate oldEffectiveStartDate = this.effectiveStartDate;
- this.effectiveStartDate = newEffectiveStartDate;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__EFFECTIVE_START_DATE, oldEffectiveStartDate, this.effectiveStartDate));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public LocalDate getEffectiveEndDate() {
- return this.effectiveEndDate;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setEffectiveEndDate(LocalDate newEffectiveEndDate) {
- LocalDate oldEffectiveEndDate = this.effectiveEndDate;
- this.effectiveEndDate = newEffectiveEndDate;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__EFFECTIVE_END_DATE, oldEffectiveEndDate, this.effectiveEndDate));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Integer getContractTermExtension() {
- return this.contractTermExtension;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setContractTermExtension(Integer newContractTermExtension) {
- Integer oldContractTermExtension = this.contractTermExtension;
- this.contractTermExtension = newContractTermExtension;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__CONTRACT_TERM_EXTENSION, oldContractTermExtension, this.contractTermExtension));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Double getGlobalCost() {
- return this.globalCost;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setGlobalCost(Double newGlobalCost) {
- Double oldGlobalCost = this.globalCost;
- this.globalCost = newGlobalCost;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__GLOBAL_COST, oldGlobalCost, this.globalCost));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Double getFundingRate() {
- return this.fundingRate;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setFundingRate(Double newFundingRate) {
- Double oldFundingRate = this.fundingRate;
- this.fundingRate = newFundingRate;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__FUNDING_RATE, oldFundingRate, this.fundingRate));
- }
-
- /**
- *
- *
- * @generated NOT
- */
- @Override
- public Double getFunding() {
- if (this.globalCost != null && this.fundingRate != null && this.fundingRate > 0) {
- Double value = this.globalCost * this.fundingRate / 100;
- return new BigDecimal(value).setScale(2, RoundingMode.HALF_UP).doubleValue();
- }
- return null;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Integer getManpower() {
- return this.manpower;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setManpower(Integer newManpower) {
- Integer oldManpower = this.manpower;
- this.manpower = newManpower;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__MANPOWER, oldManpower, this.manpower));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getEOTP() {
- return this.eOTP;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setEOTP(String newEOTP) {
- String oldEOTP = this.eOTP;
- this.eOTP = newEOTP;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__EOTP, oldEOTP, this.eOTP));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getStatisticOrder() {
- return this.statisticOrder;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setStatisticOrder(String newStatisticOrder) {
- String oldStatisticOrder = this.statisticOrder;
- this.statisticOrder = newStatisticOrder;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__STATISTIC_ORDER, oldStatisticOrder, this.statisticOrder));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getInternalNeed() {
- return this.internalNeed;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setInternalNeed(String newInternalNeed) {
- String oldInternalNeed = this.internalNeed;
- this.internalNeed = newInternalNeed;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__INTERNAL_NEED, oldInternalNeed, this.internalNeed));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getClientNeed() {
- return this.clientNeed;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setClientNeed(String newClientNeed) {
- String oldClientNeed = this.clientNeed;
- this.clientNeed = newClientNeed;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.PROJECT__CLIENT_NEED, oldClientNeed, this.clientNeed));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case PepperPackage.PROJECT__OWNED_WORKPACKAGES:
- return ((InternalEList>) this.getOwnedWorkpackages()).basicRemove(otherEnd, msgs);
- case PepperPackage.PROJECT__OWNED_OBJECTIVES:
- return ((InternalEList>) this.getOwnedObjectives()).basicRemove(otherEnd, msgs);
- case PepperPackage.PROJECT__OWNED_TAG_FOLDERS:
- return ((InternalEList>) this.getOwnedTagFolders()).basicRemove(otherEnd, msgs);
- case PepperPackage.PROJECT__OWNED_RISKS:
- return ((InternalEList>) this.getOwnedRisks()).basicRemove(otherEnd, msgs);
- default:
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PepperPackage.PROJECT__NAME:
- return this.getName();
- case PepperPackage.PROJECT__OWNED_WORKPACKAGES:
- return this.getOwnedWorkpackages();
- case PepperPackage.PROJECT__OWNED_OBJECTIVES:
- return this.getOwnedObjectives();
- case PepperPackage.PROJECT__OWNED_TAG_FOLDERS:
- return this.getOwnedTagFolders();
- case PepperPackage.PROJECT__OWNED_RISKS:
- return this.getOwnedRisks();
- case PepperPackage.PROJECT__REFERENCE:
- return this.getReference();
- case PepperPackage.PROJECT__DESCRIPTION:
- return this.getDescription();
- case PepperPackage.PROJECT__LEADING_UNIT:
- if (resolve)
- return this.getLeadingUnit();
- return this.basicGetLeadingUnit();
- case PepperPackage.PROJECT__PARTICIPANT_UNITS:
- return this.getParticipantUnits();
- case PepperPackage.PROJECT__PLANNIFIED_CLIENT_COPIL_MEETINGS:
- return this.getPlannifiedClientCopilMeetings();
- case PepperPackage.PROJECT__MAIN_PROGRAM_BRICK:
- return this.getMainProgramBrick();
- case PepperPackage.PROJECT__STATE:
- return this.getState();
- case PepperPackage.PROJECT__CLIENTS:
- return this.getClients();
- case PepperPackage.PROJECT__PARTNERS:
- return this.getPartners();
- case PepperPackage.PROJECT__IS_TRANSVERSE:
- return this.getIsTransverse();
- case PepperPackage.PROJECT__LEADER:
- if (resolve)
- return this.getLeader();
- return this.basicGetLeader();
- case PepperPackage.PROJECT__MEMBERS:
- return this.getMembers();
- case PepperPackage.PROJECT__IS_SENSITIVE:
- return this.getIsSensitive();
- case PepperPackage.PROJECT__CONTRACTUAL_START_DATE:
- return this.getContractualStartDate();
- case PepperPackage.PROJECT__DURATION:
- return this.getDuration();
- case PepperPackage.PROJECT__CONTRACTUAL_END_DATE:
- return this.getContractualEndDate();
- case PepperPackage.PROJECT__EFFECTIVE_START_DATE:
- return this.getEffectiveStartDate();
- case PepperPackage.PROJECT__EFFECTIVE_END_DATE:
- return this.getEffectiveEndDate();
- case PepperPackage.PROJECT__CONTRACT_TERM_EXTENSION:
- return this.getContractTermExtension();
- case PepperPackage.PROJECT__GLOBAL_COST:
- return this.getGlobalCost();
- case PepperPackage.PROJECT__FUNDING_RATE:
- return this.getFundingRate();
- case PepperPackage.PROJECT__FUNDING:
- return this.getFunding();
- case PepperPackage.PROJECT__MANPOWER:
- return this.getManpower();
- case PepperPackage.PROJECT__EOTP:
- return this.getEOTP();
- case PepperPackage.PROJECT__STATISTIC_ORDER:
- return this.getStatisticOrder();
- case PepperPackage.PROJECT__INTERNAL_NEED:
- return this.getInternalNeed();
- case PepperPackage.PROJECT__CLIENT_NEED:
- return this.getClientNeed();
- default:
- return super.eGet(featureID, resolve, coreType);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PepperPackage.PROJECT__NAME:
- this.setName((String) newValue);
- return;
- case PepperPackage.PROJECT__OWNED_WORKPACKAGES:
- this.getOwnedWorkpackages().clear();
- this.getOwnedWorkpackages().addAll((Collection extends Workpackage>) newValue);
- return;
- case PepperPackage.PROJECT__OWNED_OBJECTIVES:
- this.getOwnedObjectives().clear();
- this.getOwnedObjectives().addAll((Collection extends Objective>) newValue);
- return;
- case PepperPackage.PROJECT__OWNED_TAG_FOLDERS:
- this.getOwnedTagFolders().clear();
- this.getOwnedTagFolders().addAll((Collection extends TagFolder>) newValue);
- return;
- case PepperPackage.PROJECT__OWNED_RISKS:
- this.getOwnedRisks().clear();
- this.getOwnedRisks().addAll((Collection extends Risk>) newValue);
- return;
- case PepperPackage.PROJECT__REFERENCE:
- this.setReference((String) newValue);
- return;
- case PepperPackage.PROJECT__DESCRIPTION:
- this.setDescription((String) newValue);
- return;
- case PepperPackage.PROJECT__LEADING_UNIT:
- this.setLeadingUnit((InternalStakeholder) newValue);
- return;
- case PepperPackage.PROJECT__PARTICIPANT_UNITS:
- this.getParticipantUnits().clear();
- this.getParticipantUnits().addAll((Collection extends InternalStakeholder>) newValue);
- return;
- case PepperPackage.PROJECT__PLANNIFIED_CLIENT_COPIL_MEETINGS:
- this.setPlannifiedClientCopilMeetings((Boolean) newValue);
- return;
- case PepperPackage.PROJECT__MAIN_PROGRAM_BRICK:
- this.setMainProgramBrick((String) newValue);
- return;
- case PepperPackage.PROJECT__STATE:
- this.setState((ProjectState) newValue);
- return;
- case PepperPackage.PROJECT__CLIENTS:
- this.getClients().clear();
- this.getClients().addAll((Collection extends ExternalStakeholder>) newValue);
- return;
- case PepperPackage.PROJECT__PARTNERS:
- this.getPartners().clear();
- this.getPartners().addAll((Collection extends ExternalStakeholder>) newValue);
- return;
- case PepperPackage.PROJECT__LEADER:
- this.setLeader((Person) newValue);
- return;
- case PepperPackage.PROJECT__MEMBERS:
- this.getMembers().clear();
- this.getMembers().addAll((Collection extends Person>) newValue);
- return;
- case PepperPackage.PROJECT__IS_SENSITIVE:
- this.setIsSensitive((Boolean) newValue);
- return;
- case PepperPackage.PROJECT__CONTRACTUAL_START_DATE:
- this.setContractualStartDate((LocalDate) newValue);
- return;
- case PepperPackage.PROJECT__DURATION:
- this.setDuration((Integer) newValue);
- return;
- case PepperPackage.PROJECT__CONTRACTUAL_END_DATE:
- this.setContractualEndDate((LocalDate) newValue);
- return;
- case PepperPackage.PROJECT__EFFECTIVE_START_DATE:
- this.setEffectiveStartDate((LocalDate) newValue);
- return;
- case PepperPackage.PROJECT__EFFECTIVE_END_DATE:
- this.setEffectiveEndDate((LocalDate) newValue);
- return;
- case PepperPackage.PROJECT__CONTRACT_TERM_EXTENSION:
- this.setContractTermExtension((Integer) newValue);
- return;
- case PepperPackage.PROJECT__GLOBAL_COST:
- this.setGlobalCost((Double) newValue);
- return;
- case PepperPackage.PROJECT__FUNDING_RATE:
- this.setFundingRate((Double) newValue);
- return;
- case PepperPackage.PROJECT__MANPOWER:
- this.setManpower((Integer) newValue);
- return;
- case PepperPackage.PROJECT__EOTP:
- this.setEOTP((String) newValue);
- return;
- case PepperPackage.PROJECT__STATISTIC_ORDER:
- this.setStatisticOrder((String) newValue);
- return;
- case PepperPackage.PROJECT__INTERNAL_NEED:
- this.setInternalNeed((String) newValue);
- return;
- case PepperPackage.PROJECT__CLIENT_NEED:
- this.setClientNeed((String) newValue);
- return;
- default:
- super.eSet(featureID, newValue);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PepperPackage.PROJECT__NAME:
- this.setName(NAME_EDEFAULT);
- return;
- case PepperPackage.PROJECT__OWNED_WORKPACKAGES:
- this.getOwnedWorkpackages().clear();
- return;
- case PepperPackage.PROJECT__OWNED_OBJECTIVES:
- this.getOwnedObjectives().clear();
- return;
- case PepperPackage.PROJECT__OWNED_TAG_FOLDERS:
- this.getOwnedTagFolders().clear();
- return;
- case PepperPackage.PROJECT__OWNED_RISKS:
- this.getOwnedRisks().clear();
- return;
- case PepperPackage.PROJECT__REFERENCE:
- this.setReference(REFERENCE_EDEFAULT);
- return;
- case PepperPackage.PROJECT__DESCRIPTION:
- this.setDescription(DESCRIPTION_EDEFAULT);
- return;
- case PepperPackage.PROJECT__LEADING_UNIT:
- this.setLeadingUnit(null);
- return;
- case PepperPackage.PROJECT__PARTICIPANT_UNITS:
- this.getParticipantUnits().clear();
- return;
- case PepperPackage.PROJECT__PLANNIFIED_CLIENT_COPIL_MEETINGS:
- this.setPlannifiedClientCopilMeetings(PLANNIFIED_CLIENT_COPIL_MEETINGS_EDEFAULT);
- return;
- case PepperPackage.PROJECT__MAIN_PROGRAM_BRICK:
- this.setMainProgramBrick(MAIN_PROGRAM_BRICK_EDEFAULT);
- return;
- case PepperPackage.PROJECT__STATE:
- this.setState(STATE_EDEFAULT);
- return;
- case PepperPackage.PROJECT__CLIENTS:
- this.getClients().clear();
- return;
- case PepperPackage.PROJECT__PARTNERS:
- this.getPartners().clear();
- return;
- case PepperPackage.PROJECT__LEADER:
- this.setLeader(null);
- return;
- case PepperPackage.PROJECT__MEMBERS:
- this.getMembers().clear();
- return;
- case PepperPackage.PROJECT__IS_SENSITIVE:
- this.setIsSensitive(IS_SENSITIVE_EDEFAULT);
- return;
- case PepperPackage.PROJECT__CONTRACTUAL_START_DATE:
- this.setContractualStartDate(CONTRACTUAL_START_DATE_EDEFAULT);
- return;
- case PepperPackage.PROJECT__DURATION:
- this.setDuration(DURATION_EDEFAULT);
- return;
- case PepperPackage.PROJECT__CONTRACTUAL_END_DATE:
- this.setContractualEndDate(CONTRACTUAL_END_DATE_EDEFAULT);
- return;
- case PepperPackage.PROJECT__EFFECTIVE_START_DATE:
- this.setEffectiveStartDate(EFFECTIVE_START_DATE_EDEFAULT);
- return;
- case PepperPackage.PROJECT__EFFECTIVE_END_DATE:
- this.setEffectiveEndDate(EFFECTIVE_END_DATE_EDEFAULT);
- return;
- case PepperPackage.PROJECT__CONTRACT_TERM_EXTENSION:
- this.setContractTermExtension(CONTRACT_TERM_EXTENSION_EDEFAULT);
- return;
- case PepperPackage.PROJECT__GLOBAL_COST:
- this.setGlobalCost(GLOBAL_COST_EDEFAULT);
- return;
- case PepperPackage.PROJECT__FUNDING_RATE:
- this.setFundingRate(FUNDING_RATE_EDEFAULT);
- return;
- case PepperPackage.PROJECT__MANPOWER:
- this.setManpower(MANPOWER_EDEFAULT);
- return;
- case PepperPackage.PROJECT__EOTP:
- this.setEOTP(EOTP_EDEFAULT);
- return;
- case PepperPackage.PROJECT__STATISTIC_ORDER:
- this.setStatisticOrder(STATISTIC_ORDER_EDEFAULT);
- return;
- case PepperPackage.PROJECT__INTERNAL_NEED:
- this.setInternalNeed(INTERNAL_NEED_EDEFAULT);
- return;
- case PepperPackage.PROJECT__CLIENT_NEED:
- this.setClientNeed(CLIENT_NEED_EDEFAULT);
- return;
- default:
- super.eUnset(featureID);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PepperPackage.PROJECT__NAME:
- return !Objects.equals(NAME_EDEFAULT, this.name);
- case PepperPackage.PROJECT__OWNED_WORKPACKAGES:
- return this.ownedWorkpackages != null && !this.ownedWorkpackages.isEmpty();
- case PepperPackage.PROJECT__OWNED_OBJECTIVES:
- return this.ownedObjectives != null && !this.ownedObjectives.isEmpty();
- case PepperPackage.PROJECT__OWNED_TAG_FOLDERS:
- return this.ownedTagFolders != null && !this.ownedTagFolders.isEmpty();
- case PepperPackage.PROJECT__OWNED_RISKS:
- return this.ownedRisks != null && !this.ownedRisks.isEmpty();
- case PepperPackage.PROJECT__REFERENCE:
- return !Objects.equals(REFERENCE_EDEFAULT, this.reference);
- case PepperPackage.PROJECT__DESCRIPTION:
- return !Objects.equals(DESCRIPTION_EDEFAULT, this.description);
- case PepperPackage.PROJECT__LEADING_UNIT:
- return this.leadingUnit != null;
- case PepperPackage.PROJECT__PARTICIPANT_UNITS:
- return this.participantUnits != null && !this.participantUnits.isEmpty();
- case PepperPackage.PROJECT__PLANNIFIED_CLIENT_COPIL_MEETINGS:
- return !Objects.equals(PLANNIFIED_CLIENT_COPIL_MEETINGS_EDEFAULT, this.plannifiedClientCopilMeetings);
- case PepperPackage.PROJECT__MAIN_PROGRAM_BRICK:
- return !Objects.equals(MAIN_PROGRAM_BRICK_EDEFAULT, this.mainProgramBrick);
- case PepperPackage.PROJECT__STATE:
- return this.state != STATE_EDEFAULT;
- case PepperPackage.PROJECT__CLIENTS:
- return this.clients != null && !this.clients.isEmpty();
- case PepperPackage.PROJECT__PARTNERS:
- return this.partners != null && !this.partners.isEmpty();
- case PepperPackage.PROJECT__IS_TRANSVERSE:
- return IS_TRANSVERSE_EDEFAULT == null ? this.getIsTransverse() != null : !IS_TRANSVERSE_EDEFAULT.equals(this.getIsTransverse());
- case PepperPackage.PROJECT__LEADER:
- return this.leader != null;
- case PepperPackage.PROJECT__MEMBERS:
- return this.members != null && !this.members.isEmpty();
- case PepperPackage.PROJECT__IS_SENSITIVE:
- return !Objects.equals(IS_SENSITIVE_EDEFAULT, this.isSensitive);
- case PepperPackage.PROJECT__CONTRACTUAL_START_DATE:
- return !Objects.equals(CONTRACTUAL_START_DATE_EDEFAULT, this.contractualStartDate);
- case PepperPackage.PROJECT__DURATION:
- return !Objects.equals(DURATION_EDEFAULT, this.duration);
- case PepperPackage.PROJECT__CONTRACTUAL_END_DATE:
- return !Objects.equals(CONTRACTUAL_END_DATE_EDEFAULT, this.contractualEndDate);
- case PepperPackage.PROJECT__EFFECTIVE_START_DATE:
- return !Objects.equals(EFFECTIVE_START_DATE_EDEFAULT, this.effectiveStartDate);
- case PepperPackage.PROJECT__EFFECTIVE_END_DATE:
- return !Objects.equals(EFFECTIVE_END_DATE_EDEFAULT, this.effectiveEndDate);
- case PepperPackage.PROJECT__CONTRACT_TERM_EXTENSION:
- return !Objects.equals(CONTRACT_TERM_EXTENSION_EDEFAULT, this.contractTermExtension);
- case PepperPackage.PROJECT__GLOBAL_COST:
- return !Objects.equals(GLOBAL_COST_EDEFAULT, this.globalCost);
- case PepperPackage.PROJECT__FUNDING_RATE:
- return !Objects.equals(FUNDING_RATE_EDEFAULT, this.fundingRate);
- case PepperPackage.PROJECT__FUNDING:
- return FUNDING_EDEFAULT == null ? this.getFunding() != null : !FUNDING_EDEFAULT.equals(this.getFunding());
- case PepperPackage.PROJECT__MANPOWER:
- return !Objects.equals(MANPOWER_EDEFAULT, this.manpower);
- case PepperPackage.PROJECT__EOTP:
- return !Objects.equals(EOTP_EDEFAULT, this.eOTP);
- case PepperPackage.PROJECT__STATISTIC_ORDER:
- return !Objects.equals(STATISTIC_ORDER_EDEFAULT, this.statisticOrder);
- case PepperPackage.PROJECT__INTERNAL_NEED:
- return !Objects.equals(INTERNAL_NEED_EDEFAULT, this.internalNeed);
- case PepperPackage.PROJECT__CLIENT_NEED:
- return !Objects.equals(CLIENT_NEED_EDEFAULT, this.clientNeed);
- default:
- return super.eIsSet(featureID);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String toString() {
- if (this.eIsProxy())
- return super.toString();
-
- String result = super.toString() + " (name: " + this.name + ", reference: " + this.reference + ", description: " + this.description + ", plannifiedClientCopilMeetings: "
- + this.plannifiedClientCopilMeetings + ", mainProgramBrick: " + this.mainProgramBrick + ", state: " + this.state + ", isSensitive: " + this.isSensitive + ", contractualStartDate: "
- + this.contractualStartDate + ", duration: " + this.duration + ", contractualEndDate: " + this.contractualEndDate + ", effectiveStartDate: " + this.effectiveStartDate
- + ", effectiveEndDate: " + this.effectiveEndDate + ", contractTermExtension: " + this.contractTermExtension + ", globalCost: " + this.globalCost + ", fundingRate: " + this.fundingRate
- + ", manpower: " + this.manpower + ", eOTP: " + this.eOTP + ", statisticOrder: " + this.statisticOrder + ", internalNeed: " + this.internalNeed + ", clientNeed: " + this.clientNeed
- + ')';
- return result;
- }
-
-} // ProjectImpl
diff --git a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/ResourceFolderImpl.java b/backend/pepper-mm/src/main/java/pepper/peppermm/impl/ResourceFolderImpl.java
deleted file mode 100644
index 6012125..0000000
--- a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/ResourceFolderImpl.java
+++ /dev/null
@@ -1,275 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024, 2026 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- ******************************************************************************/
-package pepper.peppermm.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import pepper.peppermm.PepperPackage;
-import pepper.peppermm.Resource;
-import pepper.peppermm.ResourceFolder;
-
-/**
- * An implementation of the model object 'Resource Folder'.
- *
- * The following features are implemented:
- *
- *
- * - {@link pepper.peppermm.impl.ResourceFolderImpl#getName Name}
- * - {@link pepper.peppermm.impl.ResourceFolderImpl#getOwnedResources Owned Resources}
- * - {@link pepper.peppermm.impl.ResourceFolderImpl#getSubFolders Sub Folders}
- *
- *
- * @generated
- */
-public class ResourceFolderImpl extends MinimalEObjectImpl.Container implements ResourceFolder {
- /**
- * The default value of the '{@link #getName() Name}' attribute.
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() Name}' attribute.
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getOwnedResources() Owned Resources}' containment reference list.
- *
- * @see #getOwnedResources()
- * @generated
- * @ordered
- */
- protected EList ownedResources;
-
- /**
- * The cached value of the '{@link #getSubFolders() Sub Folders}' containment reference list.
- *
- * @see #getSubFolders()
- * @generated
- * @ordered
- */
- protected EList subFolders;
-
- /**
- *
- *
- * @generated
- */
- protected ResourceFolderImpl() {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PepperPackage.Literals.RESOURCE_FOLDER;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getName() {
- return this.name;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setName(String newName) {
- String oldName = this.name;
- this.name = newName;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.RESOURCE_FOLDER__NAME, oldName, this.name));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getOwnedResources() {
- if (this.ownedResources == null) {
- this.ownedResources = new EObjectContainmentEList<>(Resource.class, this, PepperPackage.RESOURCE_FOLDER__OWNED_RESOURCES);
- }
- return this.ownedResources;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getSubFolders() {
- if (this.subFolders == null) {
- this.subFolders = new EObjectContainmentEList<>(ResourceFolder.class, this, PepperPackage.RESOURCE_FOLDER__SUB_FOLDERS);
- }
- return this.subFolders;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case PepperPackage.RESOURCE_FOLDER__OWNED_RESOURCES:
- return ((InternalEList>) this.getOwnedResources()).basicRemove(otherEnd, msgs);
- case PepperPackage.RESOURCE_FOLDER__SUB_FOLDERS:
- return ((InternalEList>) this.getSubFolders()).basicRemove(otherEnd, msgs);
- default:
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PepperPackage.RESOURCE_FOLDER__NAME:
- return this.getName();
- case PepperPackage.RESOURCE_FOLDER__OWNED_RESOURCES:
- return this.getOwnedResources();
- case PepperPackage.RESOURCE_FOLDER__SUB_FOLDERS:
- return this.getSubFolders();
- default:
- return super.eGet(featureID, resolve, coreType);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PepperPackage.RESOURCE_FOLDER__NAME:
- this.setName((String) newValue);
- return;
- case PepperPackage.RESOURCE_FOLDER__OWNED_RESOURCES:
- this.getOwnedResources().clear();
- this.getOwnedResources().addAll((Collection extends Resource>) newValue);
- return;
- case PepperPackage.RESOURCE_FOLDER__SUB_FOLDERS:
- this.getSubFolders().clear();
- this.getSubFolders().addAll((Collection extends ResourceFolder>) newValue);
- return;
- default:
- super.eSet(featureID, newValue);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PepperPackage.RESOURCE_FOLDER__NAME:
- this.setName(NAME_EDEFAULT);
- return;
- case PepperPackage.RESOURCE_FOLDER__OWNED_RESOURCES:
- this.getOwnedResources().clear();
- return;
- case PepperPackage.RESOURCE_FOLDER__SUB_FOLDERS:
- this.getSubFolders().clear();
- return;
- default:
- super.eUnset(featureID);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PepperPackage.RESOURCE_FOLDER__NAME:
- return NAME_EDEFAULT == null ? this.name != null : !NAME_EDEFAULT.equals(this.name);
- case PepperPackage.RESOURCE_FOLDER__OWNED_RESOURCES:
- return this.ownedResources != null && !this.ownedResources.isEmpty();
- case PepperPackage.RESOURCE_FOLDER__SUB_FOLDERS:
- return this.subFolders != null && !this.subFolders.isEmpty();
- default:
- return super.eIsSet(featureID);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String toString() {
- if (this.eIsProxy())
- return super.toString();
-
- StringBuilder result = new StringBuilder(super.toString());
- result.append(" (name: ");
- result.append(this.name);
- result.append(')');
- return result.toString();
- }
-
-} // ResourceFolderImpl
diff --git a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/ResourceImpl.java b/backend/pepper-mm/src/main/java/pepper/peppermm/impl/ResourceImpl.java
deleted file mode 100644
index 7928c4b..0000000
--- a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/ResourceImpl.java
+++ /dev/null
@@ -1,178 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024, 2026 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- ******************************************************************************/
-package pepper.peppermm.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import pepper.peppermm.PepperPackage;
-import pepper.peppermm.Resource;
-
-/**
- * An implementation of the model object 'Resource'.
- *
- * The following features are implemented:
- *
- *
- * - {@link pepper.peppermm.impl.ResourceImpl#getName Name}
- *
- *
- * @generated
- */
-public abstract class ResourceImpl extends MinimalEObjectImpl.Container implements Resource {
- /**
- * The default value of the '{@link #getName() Name}' attribute.
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() Name}' attribute.
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- *
- *
- * @generated
- */
- protected ResourceImpl() {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PepperPackage.Literals.RESOURCE;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getName() {
- return this.name;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setName(String newName) {
- String oldName = this.name;
- this.name = newName;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.RESOURCE__NAME, oldName, this.name));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PepperPackage.RESOURCE__NAME:
- return this.getName();
- default:
- return super.eGet(featureID, resolve, coreType);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PepperPackage.RESOURCE__NAME:
- this.setName((String) newValue);
- return;
- default:
- super.eSet(featureID, newValue);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PepperPackage.RESOURCE__NAME:
- this.setName(NAME_EDEFAULT);
- return;
- default:
- super.eUnset(featureID);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PepperPackage.RESOURCE__NAME:
- return NAME_EDEFAULT == null ? this.name != null : !NAME_EDEFAULT.equals(this.name);
- default:
- return super.eIsSet(featureID);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String toString() {
- if (this.eIsProxy())
- return super.toString();
-
- StringBuilder result = new StringBuilder(super.toString());
- result.append(" (name: ");
- result.append(this.name);
- result.append(')');
- return result.toString();
- }
-
-} // ResourceImpl
diff --git a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/RiskImpl.java b/backend/pepper-mm/src/main/java/pepper/peppermm/impl/RiskImpl.java
deleted file mode 100644
index 932b4bb..0000000
--- a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/RiskImpl.java
+++ /dev/null
@@ -1,554 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024, 2026 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- ******************************************************************************/
-package pepper.peppermm.impl;
-
-import java.time.LocalDate;
-import java.util.Collection;
-import java.util.Objects;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-
-import pepper.peppermm.PepperPackage;
-import pepper.peppermm.Person;
-import pepper.peppermm.Risk;
-import pepper.peppermm.RiskKind;
-import pepper.peppermm.RiskState;
-import pepper.peppermm.Workpackage;
-
-/**
- * An implementation of the model object 'Risk'.
- *
- * The following features are implemented:
- *
- *
- * - {@link pepper.peppermm.impl.RiskImpl#getKind Kind}
- * - {@link pepper.peppermm.impl.RiskImpl#getDescription Description}
- * - {@link pepper.peppermm.impl.RiskImpl#getCriticity Criticity}
- * - {@link pepper.peppermm.impl.RiskImpl#getAction Action}
- * - {@link pepper.peppermm.impl.RiskImpl#getResponsible Responsible}
- * - {@link pepper.peppermm.impl.RiskImpl#getOperationDate Operation Date}
- * - {@link pepper.peppermm.impl.RiskImpl#getState State}
- * - {@link pepper.peppermm.impl.RiskImpl#getWorkpackages Workpackages}
- *
- *
- * @generated
- */
-public class RiskImpl extends MinimalEObjectImpl.Container implements Risk {
- /**
- * The default value of the '{@link #getKind() Kind}' attribute.
- *
- * @see #getKind()
- * @generated NOT
- * @ordered
- */
- protected static final RiskKind KIND_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getKind() Kind}' attribute.
- *
- * @see #getKind()
- * @generated
- * @ordered
- */
- protected RiskKind kind = KIND_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDescription() Description}' attribute.
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() Description}' attribute.
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getCriticity() Criticity}' attribute.
- *
- * @see #getCriticity()
- * @generated
- * @ordered
- */
- protected static final Integer CRITICITY_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getCriticity() Criticity}' attribute.
- *
- * @see #getCriticity()
- * @generated
- * @ordered
- */
- protected Integer criticity = CRITICITY_EDEFAULT;
-
- /**
- * The default value of the '{@link #getAction() Action}' attribute.
- *
- * @see #getAction()
- * @generated
- * @ordered
- */
- protected static final String ACTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getAction() Action}' attribute.
- *
- * @see #getAction()
- * @generated
- * @ordered
- */
- protected String action = ACTION_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getResponsible() Responsible}' reference.
- *
- * @see #getResponsible()
- * @generated
- * @ordered
- */
- protected Person responsible;
-
- /**
- * The default value of the '{@link #getOperationDate() Operation Date}' attribute.
- *
- *
- * @see #getOperationDate()
- * @generated
- * @ordered
- */
- protected static final LocalDate OPERATION_DATE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getOperationDate() Operation Date}' attribute.
- *
- *
- * @see #getOperationDate()
- * @generated
- * @ordered
- */
- protected LocalDate operationDate = OPERATION_DATE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getState() State}' attribute.
- *
- * @see #getState()
- * @generated NOT
- * @ordered
- */
- protected static final RiskState STATE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getState() State}' attribute.
- *
- * @see #getState()
- * @generated
- * @ordered
- */
- protected RiskState state = STATE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getWorkpackages() Workpackages}' reference list.
- *
- * @see #getWorkpackages()
- * @generated
- * @ordered
- */
- protected EList workpackages;
-
- /**
- *
- *
- * @generated
- */
- protected RiskImpl() {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PepperPackage.Literals.RISK;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public RiskKind getKind() {
- return this.kind;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setKind(RiskKind newKind) {
- RiskKind oldKind = this.kind;
- this.kind = newKind == null ? KIND_EDEFAULT : newKind;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.RISK__KIND, oldKind, this.kind));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getDescription() {
- return this.description;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setDescription(String newDescription) {
- String oldDescription = this.description;
- this.description = newDescription;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.RISK__DESCRIPTION, oldDescription, this.description));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Integer getCriticity() {
- return this.criticity;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setCriticity(Integer newCriticity) {
- Integer oldCriticity = this.criticity;
- this.criticity = newCriticity;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.RISK__CRITICITY, oldCriticity, this.criticity));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getAction() {
- return this.action;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setAction(String newAction) {
- String oldAction = this.action;
- this.action = newAction;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.RISK__ACTION, oldAction, this.action));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Person getResponsible() {
- if (this.responsible != null && this.responsible.eIsProxy()) {
- InternalEObject oldResponsible = (InternalEObject) this.responsible;
- this.responsible = (Person) this.eResolveProxy(oldResponsible);
- if (this.responsible != oldResponsible) {
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.RESOLVE, PepperPackage.RISK__RESPONSIBLE, oldResponsible, this.responsible));
- }
- }
- return this.responsible;
- }
-
- /**
- *
- *
- * @generated
- */
- public Person basicGetResponsible() {
- return this.responsible;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setResponsible(Person newResponsible) {
- Person oldResponsible = this.responsible;
- this.responsible = newResponsible;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.RISK__RESPONSIBLE, oldResponsible, this.responsible));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public LocalDate getOperationDate() {
- return this.operationDate;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setOperationDate(LocalDate newOperationDate) {
- LocalDate oldOperationDate = this.operationDate;
- this.operationDate = newOperationDate;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.RISK__OPERATION_DATE, oldOperationDate, this.operationDate));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public RiskState getState() {
- return this.state;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setState(RiskState newState) {
- RiskState oldState = this.state;
- this.state = newState == null ? STATE_EDEFAULT : newState;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.RISK__STATE, oldState, this.state));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getWorkpackages() {
- if (this.workpackages == null) {
- this.workpackages = new EObjectResolvingEList<>(Workpackage.class, this, PepperPackage.RISK__WORKPACKAGES);
- }
- return this.workpackages;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PepperPackage.RISK__KIND:
- return this.getKind();
- case PepperPackage.RISK__DESCRIPTION:
- return this.getDescription();
- case PepperPackage.RISK__CRITICITY:
- return this.getCriticity();
- case PepperPackage.RISK__ACTION:
- return this.getAction();
- case PepperPackage.RISK__RESPONSIBLE:
- if (resolve)
- return this.getResponsible();
- return this.basicGetResponsible();
- case PepperPackage.RISK__OPERATION_DATE:
- return this.getOperationDate();
- case PepperPackage.RISK__STATE:
- return this.getState();
- case PepperPackage.RISK__WORKPACKAGES:
- return this.getWorkpackages();
- default:
- return super.eGet(featureID, resolve, coreType);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PepperPackage.RISK__KIND:
- this.setKind((RiskKind) newValue);
- return;
- case PepperPackage.RISK__DESCRIPTION:
- this.setDescription((String) newValue);
- return;
- case PepperPackage.RISK__CRITICITY:
- this.setCriticity((Integer) newValue);
- return;
- case PepperPackage.RISK__ACTION:
- this.setAction((String) newValue);
- return;
- case PepperPackage.RISK__RESPONSIBLE:
- this.setResponsible((Person) newValue);
- return;
- case PepperPackage.RISK__OPERATION_DATE:
- this.setOperationDate((LocalDate) newValue);
- return;
- case PepperPackage.RISK__STATE:
- this.setState((RiskState) newValue);
- return;
- case PepperPackage.RISK__WORKPACKAGES:
- this.getWorkpackages().clear();
- this.getWorkpackages().addAll((Collection extends Workpackage>) newValue);
- return;
- default:
- super.eSet(featureID, newValue);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PepperPackage.RISK__KIND:
- this.setKind(KIND_EDEFAULT);
- return;
- case PepperPackage.RISK__DESCRIPTION:
- this.setDescription(DESCRIPTION_EDEFAULT);
- return;
- case PepperPackage.RISK__CRITICITY:
- this.setCriticity(CRITICITY_EDEFAULT);
- return;
- case PepperPackage.RISK__ACTION:
- this.setAction(ACTION_EDEFAULT);
- return;
- case PepperPackage.RISK__RESPONSIBLE:
- this.setResponsible(null);
- return;
- case PepperPackage.RISK__OPERATION_DATE:
- this.setOperationDate(OPERATION_DATE_EDEFAULT);
- return;
- case PepperPackage.RISK__STATE:
- this.setState(STATE_EDEFAULT);
- return;
- case PepperPackage.RISK__WORKPACKAGES:
- this.getWorkpackages().clear();
- return;
- default:
- super.eUnset(featureID);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PepperPackage.RISK__KIND:
- return this.kind != KIND_EDEFAULT;
- case PepperPackage.RISK__DESCRIPTION:
- return !Objects.equals(DESCRIPTION_EDEFAULT, this.description);
- case PepperPackage.RISK__CRITICITY:
- return !Objects.equals(CRITICITY_EDEFAULT, this.criticity);
- case PepperPackage.RISK__ACTION:
- return !Objects.equals(ACTION_EDEFAULT, this.action);
- case PepperPackage.RISK__RESPONSIBLE:
- return this.responsible != null;
- case PepperPackage.RISK__OPERATION_DATE:
- return !Objects.equals(OPERATION_DATE_EDEFAULT, this.operationDate);
- case PepperPackage.RISK__STATE:
- return this.state != STATE_EDEFAULT;
- case PepperPackage.RISK__WORKPACKAGES:
- return this.workpackages != null && !this.workpackages.isEmpty();
- default:
- return super.eIsSet(featureID);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String toString() {
- if (this.eIsProxy())
- return super.toString();
-
- String result = super.toString() + " (kind: " + this.kind + ", description: " + this.description + ", criticity: " + this.criticity + ", action: " + this.action + ", operationDate: "
- + this.operationDate + ", state: " + this.state + ')';
- return result;
- }
-
-} // RiskImpl
diff --git a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/TagFolderImpl.java b/backend/pepper-mm/src/main/java/pepper/peppermm/impl/TagFolderImpl.java
deleted file mode 100644
index cef2dd5..0000000
--- a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/TagFolderImpl.java
+++ /dev/null
@@ -1,274 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024, 2026 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- ******************************************************************************/
-package pepper.peppermm.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import pepper.peppermm.PepperPackage;
-import pepper.peppermm.TagFolder;
-import pepper.peppermm.TaskTag;
-
-/**
- * An implementation of the model object 'Tag Folder'.
- *
- * The following features are implemented:
- *
- *
- * - {@link pepper.peppermm.impl.TagFolderImpl#getName Name}
- * - {@link pepper.peppermm.impl.TagFolderImpl#getOwnedTags Owned Tags}
- * - {@link pepper.peppermm.impl.TagFolderImpl#getSubFolders Sub Folders}
- *
- *
- * @generated
- */
-public class TagFolderImpl extends MinimalEObjectImpl.Container implements TagFolder {
- /**
- * The default value of the '{@link #getName() Name}' attribute.
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() Name}' attribute.
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getOwnedTags() Owned Tags}' containment reference list.
- *
- * @see #getOwnedTags()
- * @generated
- * @ordered
- */
- protected EList ownedTags;
-
- /**
- * The cached value of the '{@link #getSubFolders() Sub Folders}' containment reference list.
- *
- * @see #getSubFolders()
- * @generated
- * @ordered
- */
- protected EList subFolders;
-
- /**
- *
- *
- * @generated
- */
- protected TagFolderImpl() {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PepperPackage.Literals.TAG_FOLDER;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getName() {
- return this.name;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setName(String newName) {
- String oldName = this.name;
- this.name = newName;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.TAG_FOLDER__NAME, oldName, this.name));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getOwnedTags() {
- if (this.ownedTags == null) {
- this.ownedTags = new EObjectContainmentEList<>(TaskTag.class, this, PepperPackage.TAG_FOLDER__OWNED_TAGS);
- }
- return this.ownedTags;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getSubFolders() {
- if (this.subFolders == null) {
- this.subFolders = new EObjectContainmentEList<>(TagFolder.class, this, PepperPackage.TAG_FOLDER__SUB_FOLDERS);
- }
- return this.subFolders;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case PepperPackage.TAG_FOLDER__OWNED_TAGS:
- return ((InternalEList>) this.getOwnedTags()).basicRemove(otherEnd, msgs);
- case PepperPackage.TAG_FOLDER__SUB_FOLDERS:
- return ((InternalEList>) this.getSubFolders()).basicRemove(otherEnd, msgs);
- default:
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PepperPackage.TAG_FOLDER__NAME:
- return this.getName();
- case PepperPackage.TAG_FOLDER__OWNED_TAGS:
- return this.getOwnedTags();
- case PepperPackage.TAG_FOLDER__SUB_FOLDERS:
- return this.getSubFolders();
- default:
- return super.eGet(featureID, resolve, coreType);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PepperPackage.TAG_FOLDER__NAME:
- this.setName((String) newValue);
- return;
- case PepperPackage.TAG_FOLDER__OWNED_TAGS:
- this.getOwnedTags().clear();
- this.getOwnedTags().addAll((Collection extends TaskTag>) newValue);
- return;
- case PepperPackage.TAG_FOLDER__SUB_FOLDERS:
- this.getSubFolders().clear();
- this.getSubFolders().addAll((Collection extends TagFolder>) newValue);
- return;
- default:
- super.eSet(featureID, newValue);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PepperPackage.TAG_FOLDER__NAME:
- this.setName(NAME_EDEFAULT);
- return;
- case PepperPackage.TAG_FOLDER__OWNED_TAGS:
- this.getOwnedTags().clear();
- return;
- case PepperPackage.TAG_FOLDER__SUB_FOLDERS:
- this.getSubFolders().clear();
- return;
- default:
- super.eUnset(featureID);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PepperPackage.TAG_FOLDER__NAME:
- return NAME_EDEFAULT == null ? this.name != null : !NAME_EDEFAULT.equals(this.name);
- case PepperPackage.TAG_FOLDER__OWNED_TAGS:
- return this.ownedTags != null && !this.ownedTags.isEmpty();
- case PepperPackage.TAG_FOLDER__SUB_FOLDERS:
- return this.subFolders != null && !this.subFolders.isEmpty();
- default:
- return super.eIsSet(featureID);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String toString() {
- if (this.eIsProxy())
- return super.toString();
-
- StringBuilder result = new StringBuilder(super.toString());
- result.append(" (name: ");
- result.append(this.name);
- result.append(')');
- return result.toString();
- }
-
-} // TagFolderImpl
diff --git a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/TaskImpl.java b/backend/pepper-mm/src/main/java/pepper/peppermm/impl/TaskImpl.java
deleted file mode 100644
index 2afb853..0000000
--- a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/TaskImpl.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024, 2026 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- ******************************************************************************/
-package pepper.peppermm.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-
-import pepper.peppermm.PepperPackage;
-import pepper.peppermm.Task;
-
-/**
- * An implementation of the model object 'Task'.
- *
- * The following features are implemented:
- *
- *
- * - {@link pepper.peppermm.impl.TaskImpl#getDependencies Dependencies}
- *
- *
- * @generated
- */
-public class TaskImpl extends AbstractTaskImpl implements Task {
- /**
- * The cached value of the '{@link #getDependencies() Dependencies}' reference list.
- *
- * @see #getDependencies()
- * @generated
- * @ordered
- */
- protected EList dependencies;
-
- /**
- *
- *
- * @generated
- */
- protected TaskImpl() {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PepperPackage.Literals.TASK;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getDependencies() {
- if (this.dependencies == null) {
- this.dependencies = new EObjectResolvingEList<>(Task.class, this, PepperPackage.TASK__DEPENDENCIES);
- }
- return this.dependencies;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PepperPackage.TASK__DEPENDENCIES:
- return this.getDependencies();
- default:
- return super.eGet(featureID, resolve, coreType);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PepperPackage.TASK__DEPENDENCIES:
- this.getDependencies().clear();
- this.getDependencies().addAll((Collection extends Task>) newValue);
- return;
- default:
- super.eSet(featureID, newValue);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PepperPackage.TASK__DEPENDENCIES:
- this.getDependencies().clear();
- return;
- default:
- super.eUnset(featureID);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PepperPackage.TASK__DEPENDENCIES:
- return this.dependencies != null && !this.dependencies.isEmpty();
- default:
- return super.eIsSet(featureID);
- }
- }
-
-} // TaskImpl
diff --git a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/TaskTagImpl.java b/backend/pepper-mm/src/main/java/pepper/peppermm/impl/TaskTagImpl.java
deleted file mode 100644
index a786946..0000000
--- a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/TaskTagImpl.java
+++ /dev/null
@@ -1,234 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024, 2026 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- ******************************************************************************/
-package pepper.peppermm.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import pepper.peppermm.PepperPackage;
-import pepper.peppermm.TaskTag;
-
-/**
- * An implementation of the model object 'Task Tag'.
- *
- * The following features are implemented:
- *
- *
- * - {@link pepper.peppermm.impl.TaskTagImpl#getPrefix Prefix}
- * - {@link pepper.peppermm.impl.TaskTagImpl#getSuffix Suffix}
- *
- *
- * @generated
- */
-public class TaskTagImpl extends MinimalEObjectImpl.Container implements TaskTag {
- /**
- * The default value of the '{@link #getPrefix() Prefix}' attribute.
- *
- * @see #getPrefix()
- * @generated
- * @ordered
- */
- protected static final String PREFIX_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPrefix() Prefix}' attribute.
- *
- * @see #getPrefix()
- * @generated
- * @ordered
- */
- protected String prefix = PREFIX_EDEFAULT;
-
- /**
- * The default value of the '{@link #getSuffix() Suffix}' attribute.
- *
- * @see #getSuffix()
- * @generated
- * @ordered
- */
- protected static final String SUFFIX_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getSuffix() Suffix}' attribute.
- *
- * @see #getSuffix()
- * @generated
- * @ordered
- */
- protected String suffix = SUFFIX_EDEFAULT;
-
- /**
- *
- *
- * @generated
- */
- protected TaskTagImpl() {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PepperPackage.Literals.TASK_TAG;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getPrefix() {
- return this.prefix;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setPrefix(String newPrefix) {
- String oldPrefix = this.prefix;
- this.prefix = newPrefix;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.TASK_TAG__PREFIX, oldPrefix, this.prefix));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getSuffix() {
- return this.suffix;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setSuffix(String newSuffix) {
- String oldSuffix = this.suffix;
- this.suffix = newSuffix;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.TASK_TAG__SUFFIX, oldSuffix, this.suffix));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PepperPackage.TASK_TAG__PREFIX:
- return this.getPrefix();
- case PepperPackage.TASK_TAG__SUFFIX:
- return this.getSuffix();
- default:
- return super.eGet(featureID, resolve, coreType);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PepperPackage.TASK_TAG__PREFIX:
- this.setPrefix((String) newValue);
- return;
- case PepperPackage.TASK_TAG__SUFFIX:
- this.setSuffix((String) newValue);
- return;
- default:
- super.eSet(featureID, newValue);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PepperPackage.TASK_TAG__PREFIX:
- this.setPrefix(PREFIX_EDEFAULT);
- return;
- case PepperPackage.TASK_TAG__SUFFIX:
- this.setSuffix(SUFFIX_EDEFAULT);
- return;
- default:
- super.eUnset(featureID);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PepperPackage.TASK_TAG__PREFIX:
- return PREFIX_EDEFAULT == null ? this.prefix != null : !PREFIX_EDEFAULT.equals(this.prefix);
- case PepperPackage.TASK_TAG__SUFFIX:
- return SUFFIX_EDEFAULT == null ? this.suffix != null : !SUFFIX_EDEFAULT.equals(this.suffix);
- default:
- return super.eIsSet(featureID);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String toString() {
- if (this.eIsProxy())
- return super.toString();
-
- StringBuilder result = new StringBuilder(super.toString());
- result.append(" (prefix: ");
- result.append(this.prefix);
- result.append(", suffix: ");
- result.append(this.suffix);
- result.append(')');
- return result.toString();
- }
-
-} // TaskTagImpl
diff --git a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/TeamImpl.java b/backend/pepper-mm/src/main/java/pepper/peppermm/impl/TeamImpl.java
deleted file mode 100644
index d630a13..0000000
--- a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/TeamImpl.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024, 2026 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- ******************************************************************************/
-package pepper.peppermm.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-
-import pepper.peppermm.PepperPackage;
-import pepper.peppermm.Person;
-import pepper.peppermm.Team;
-
-/**
- * An implementation of the model object 'Team'.
- *
- * The following features are implemented:
- *
- *
- * - {@link pepper.peppermm.impl.TeamImpl#getMembers Members}
- *
- *
- * @generated
- */
-public class TeamImpl extends ResourceImpl implements Team {
- /**
- * The cached value of the '{@link #getMembers() Members}' reference list.
- *
- * @see #getMembers()
- * @generated
- * @ordered
- */
- protected EList members;
-
- /**
- *
- *
- * @generated
- */
- protected TeamImpl() {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PepperPackage.Literals.TEAM;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getMembers() {
- if (this.members == null) {
- this.members = new EObjectResolvingEList<>(Person.class, this, PepperPackage.TEAM__MEMBERS);
- }
- return this.members;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PepperPackage.TEAM__MEMBERS:
- return this.getMembers();
- default:
- return super.eGet(featureID, resolve, coreType);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PepperPackage.TEAM__MEMBERS:
- this.getMembers().clear();
- this.getMembers().addAll((Collection extends Person>) newValue);
- return;
- default:
- super.eSet(featureID, newValue);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PepperPackage.TEAM__MEMBERS:
- this.getMembers().clear();
- return;
- default:
- super.eUnset(featureID);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PepperPackage.TEAM__MEMBERS:
- return this.members != null && !this.members.isEmpty();
- default:
- return super.eIsSet(featureID);
- }
- }
-
-} // TeamImpl
diff --git a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/WorkpackageArtefactImpl.java b/backend/pepper-mm/src/main/java/pepper/peppermm/impl/WorkpackageArtefactImpl.java
deleted file mode 100644
index bea117f..0000000
--- a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/WorkpackageArtefactImpl.java
+++ /dev/null
@@ -1,678 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024, 2026 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- ******************************************************************************/
-package pepper.peppermm.impl;
-
-import java.time.LocalDate;
-import java.util.Objects;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import pepper.peppermm.PepperPackage;
-import pepper.peppermm.Person;
-import pepper.peppermm.WorkpackageArtefact;
-import pepper.peppermm.WorkpackageArtefactNature;
-
-/**
- * An implementation of the model object 'Workpackage Artefact'.
- *
- * The following features are implemented:
- *
- *
- * - {@link pepper.peppermm.impl.WorkpackageArtefactImpl#getName Name}
- * - {@link pepper.peppermm.impl.WorkpackageArtefactImpl#getDescription Description}
- * - {@link pepper.peppermm.impl.WorkpackageArtefactImpl#getNature Nature}
- * - {@link pepper.peppermm.impl.WorkpackageArtefactImpl#getPlannedDeadline Planned Deadline}
- * - {@link pepper.peppermm.impl.WorkpackageArtefactImpl#getEffectiveDeadLine Effective Dead Line}
- * - {@link pepper.peppermm.impl.WorkpackageArtefactImpl#getIsInvoiceTrigger Is Invoice Trigger}
- * - {@link pepper.peppermm.impl.WorkpackageArtefactImpl#getInvoiceAmount Invoice Amount}
- * - {@link pepper.peppermm.impl.WorkpackageArtefactImpl#getResponsible Responsible}
- * - {@link pepper.peppermm.impl.WorkpackageArtefactImpl#getVersion Version}
- * - {@link pepper.peppermm.impl.WorkpackageArtefactImpl#getIsObsolete Is Obsolete}
- *
- *
- * @generated
- */
-public class WorkpackageArtefactImpl extends MinimalEObjectImpl.Container implements WorkpackageArtefact {
- /**
- * The default value of the '{@link #getName() Name}' attribute.
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() Name}' attribute.
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDescription() Description}' attribute.
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() Description}' attribute.
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getNature() Nature}' attribute.
- *
- * @see #getNature()
- * @generated NOT
- * @ordered
- */
- protected static final WorkpackageArtefactNature NATURE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getNature() Nature}' attribute.
- *
- * @see #getNature()
- * @generated
- * @ordered
- */
- protected WorkpackageArtefactNature nature = NATURE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getPlannedDeadline() Planned Deadline}' attribute.
- *
- * @see #getPlannedDeadline()
- * @generated
- * @ordered
- */
- protected static final LocalDate PLANNED_DEADLINE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPlannedDeadline() Planned Deadline}' attribute.
- *
- * @see #getPlannedDeadline()
- * @generated
- * @ordered
- */
- protected LocalDate plannedDeadline = PLANNED_DEADLINE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getEffectiveDeadLine() Effective Dead Line}' attribute.
- *
- * @see #getEffectiveDeadLine()
- * @generated
- * @ordered
- */
- protected static final LocalDate EFFECTIVE_DEAD_LINE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getEffectiveDeadLine() Effective Dead Line}' attribute.
- *
- * @see #getEffectiveDeadLine()
- * @generated
- * @ordered
- */
- protected LocalDate effectiveDeadLine = EFFECTIVE_DEAD_LINE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getIsInvoiceTrigger() Is Invoice Trigger}' attribute.
- *
- * @see #getIsInvoiceTrigger()
- * @generated
- * @ordered
- */
- protected static final Boolean IS_INVOICE_TRIGGER_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getIsInvoiceTrigger() Is Invoice Trigger}' attribute.
- *
- * @see #getIsInvoiceTrigger()
- * @generated
- * @ordered
- */
- protected Boolean isInvoiceTrigger = IS_INVOICE_TRIGGER_EDEFAULT;
-
- /**
- * The default value of the '{@link #getInvoiceAmount() Invoice Amount}' attribute.
- *
- *
- * @see #getInvoiceAmount()
- * @generated
- * @ordered
- */
- protected static final Integer INVOICE_AMOUNT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getInvoiceAmount() Invoice Amount}' attribute.
- *
- *
- * @see #getInvoiceAmount()
- * @generated
- * @ordered
- */
- protected Integer invoiceAmount = INVOICE_AMOUNT_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getResponsible() Responsible}' reference.
- *
- * @see #getResponsible()
- * @generated
- * @ordered
- */
- protected Person responsible;
-
- /**
- * The default value of the '{@link #getVersion() Version}' attribute.
- *
- * @see #getVersion()
- * @generated
- * @ordered
- */
- protected static final String VERSION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getVersion() Version}' attribute.
- *
- * @see #getVersion()
- * @generated
- * @ordered
- */
- protected String version = VERSION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getIsObsolete() Is Obsolete}' attribute.
- *
- * @see #getIsObsolete()
- * @generated
- * @ordered
- */
- protected static final Boolean IS_OBSOLETE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getIsObsolete() Is Obsolete}' attribute.
- *
- * @see #getIsObsolete()
- * @generated
- * @ordered
- */
- protected Boolean isObsolete = IS_OBSOLETE_EDEFAULT;
-
- /**
- *
- *
- * @generated
- */
- protected WorkpackageArtefactImpl() {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PepperPackage.Literals.WORKPACKAGE_ARTEFACT;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getName() {
- return this.name;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setName(String newName) {
- String oldName = this.name;
- this.name = newName;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE_ARTEFACT__NAME, oldName, this.name));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getDescription() {
- return this.description;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setDescription(String newDescription) {
- String oldDescription = this.description;
- this.description = newDescription;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE_ARTEFACT__DESCRIPTION, oldDescription, this.description));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public WorkpackageArtefactNature getNature() {
- return this.nature;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setNature(WorkpackageArtefactNature newNature) {
- WorkpackageArtefactNature oldNature = this.nature;
- this.nature = newNature == null ? NATURE_EDEFAULT : newNature;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE_ARTEFACT__NATURE, oldNature, this.nature));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public LocalDate getPlannedDeadline() {
- return this.plannedDeadline;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setPlannedDeadline(LocalDate newPlannedDeadline) {
- LocalDate oldPlannedDeadline = this.plannedDeadline;
- this.plannedDeadline = newPlannedDeadline;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE_ARTEFACT__PLANNED_DEADLINE, oldPlannedDeadline, this.plannedDeadline));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public LocalDate getEffectiveDeadLine() {
- return this.effectiveDeadLine;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setEffectiveDeadLine(LocalDate newEffectiveDeadLine) {
- LocalDate oldEffectiveDeadLine = this.effectiveDeadLine;
- this.effectiveDeadLine = newEffectiveDeadLine;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE_ARTEFACT__EFFECTIVE_DEAD_LINE, oldEffectiveDeadLine, this.effectiveDeadLine));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Boolean getIsInvoiceTrigger() {
- return this.isInvoiceTrigger;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setIsInvoiceTrigger(Boolean newIsInvoiceTrigger) {
- Boolean oldIsInvoiceTrigger = this.isInvoiceTrigger;
- this.isInvoiceTrigger = newIsInvoiceTrigger;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE_ARTEFACT__IS_INVOICE_TRIGGER, oldIsInvoiceTrigger, this.isInvoiceTrigger));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Integer getInvoiceAmount() {
- return this.invoiceAmount;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setInvoiceAmount(Integer newInvoiceAmount) {
- Integer oldInvoiceAmount = this.invoiceAmount;
- this.invoiceAmount = newInvoiceAmount;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE_ARTEFACT__INVOICE_AMOUNT, oldInvoiceAmount, this.invoiceAmount));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Person getResponsible() {
- if (this.responsible != null && this.responsible.eIsProxy()) {
- InternalEObject oldResponsible = (InternalEObject) this.responsible;
- this.responsible = (Person) this.eResolveProxy(oldResponsible);
- if (this.responsible != oldResponsible) {
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.RESOLVE, PepperPackage.WORKPACKAGE_ARTEFACT__RESPONSIBLE, oldResponsible, this.responsible));
- }
- }
- return this.responsible;
- }
-
- /**
- *
- *
- * @generated
- */
- public Person basicGetResponsible() {
- return this.responsible;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setResponsible(Person newResponsible) {
- Person oldResponsible = this.responsible;
- this.responsible = newResponsible;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE_ARTEFACT__RESPONSIBLE, oldResponsible, this.responsible));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getVersion() {
- return this.version;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setVersion(String newVersion) {
- String oldVersion = this.version;
- this.version = newVersion;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE_ARTEFACT__VERSION, oldVersion, this.version));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Boolean getIsObsolete() {
- return this.isObsolete;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setIsObsolete(Boolean newIsObsolete) {
- Boolean oldIsObsolete = this.isObsolete;
- this.isObsolete = newIsObsolete;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE_ARTEFACT__IS_OBSOLETE, oldIsObsolete, this.isObsolete));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PepperPackage.WORKPACKAGE_ARTEFACT__NAME:
- return this.getName();
- case PepperPackage.WORKPACKAGE_ARTEFACT__DESCRIPTION:
- return this.getDescription();
- case PepperPackage.WORKPACKAGE_ARTEFACT__NATURE:
- return this.getNature();
- case PepperPackage.WORKPACKAGE_ARTEFACT__PLANNED_DEADLINE:
- return this.getPlannedDeadline();
- case PepperPackage.WORKPACKAGE_ARTEFACT__EFFECTIVE_DEAD_LINE:
- return this.getEffectiveDeadLine();
- case PepperPackage.WORKPACKAGE_ARTEFACT__IS_INVOICE_TRIGGER:
- return this.getIsInvoiceTrigger();
- case PepperPackage.WORKPACKAGE_ARTEFACT__INVOICE_AMOUNT:
- return this.getInvoiceAmount();
- case PepperPackage.WORKPACKAGE_ARTEFACT__RESPONSIBLE:
- if (resolve)
- return this.getResponsible();
- return this.basicGetResponsible();
- case PepperPackage.WORKPACKAGE_ARTEFACT__VERSION:
- return this.getVersion();
- case PepperPackage.WORKPACKAGE_ARTEFACT__IS_OBSOLETE:
- return this.getIsObsolete();
- default:
- return super.eGet(featureID, resolve, coreType);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PepperPackage.WORKPACKAGE_ARTEFACT__NAME:
- this.setName((String) newValue);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__DESCRIPTION:
- this.setDescription((String) newValue);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__NATURE:
- this.setNature((WorkpackageArtefactNature) newValue);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__PLANNED_DEADLINE:
- this.setPlannedDeadline((LocalDate) newValue);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__EFFECTIVE_DEAD_LINE:
- this.setEffectiveDeadLine((LocalDate) newValue);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__IS_INVOICE_TRIGGER:
- this.setIsInvoiceTrigger((Boolean) newValue);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__INVOICE_AMOUNT:
- this.setInvoiceAmount((Integer) newValue);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__RESPONSIBLE:
- this.setResponsible((Person) newValue);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__VERSION:
- this.setVersion((String) newValue);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__IS_OBSOLETE:
- this.setIsObsolete((Boolean) newValue);
- return;
- default:
- super.eSet(featureID, newValue);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PepperPackage.WORKPACKAGE_ARTEFACT__NAME:
- this.setName(NAME_EDEFAULT);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__DESCRIPTION:
- this.setDescription(DESCRIPTION_EDEFAULT);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__NATURE:
- this.setNature(NATURE_EDEFAULT);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__PLANNED_DEADLINE:
- this.setPlannedDeadline(PLANNED_DEADLINE_EDEFAULT);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__EFFECTIVE_DEAD_LINE:
- this.setEffectiveDeadLine(EFFECTIVE_DEAD_LINE_EDEFAULT);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__IS_INVOICE_TRIGGER:
- this.setIsInvoiceTrigger(IS_INVOICE_TRIGGER_EDEFAULT);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__INVOICE_AMOUNT:
- this.setInvoiceAmount(INVOICE_AMOUNT_EDEFAULT);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__RESPONSIBLE:
- this.setResponsible(null);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__VERSION:
- this.setVersion(VERSION_EDEFAULT);
- return;
- case PepperPackage.WORKPACKAGE_ARTEFACT__IS_OBSOLETE:
- this.setIsObsolete(IS_OBSOLETE_EDEFAULT);
- return;
- default:
- super.eUnset(featureID);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PepperPackage.WORKPACKAGE_ARTEFACT__NAME:
- return !Objects.equals(NAME_EDEFAULT, this.name);
- case PepperPackage.WORKPACKAGE_ARTEFACT__DESCRIPTION:
- return !Objects.equals(DESCRIPTION_EDEFAULT, this.description);
- case PepperPackage.WORKPACKAGE_ARTEFACT__NATURE:
- return this.nature != NATURE_EDEFAULT;
- case PepperPackage.WORKPACKAGE_ARTEFACT__PLANNED_DEADLINE:
- return !Objects.equals(PLANNED_DEADLINE_EDEFAULT, this.plannedDeadline);
- case PepperPackage.WORKPACKAGE_ARTEFACT__EFFECTIVE_DEAD_LINE:
- return !Objects.equals(EFFECTIVE_DEAD_LINE_EDEFAULT, this.effectiveDeadLine);
- case PepperPackage.WORKPACKAGE_ARTEFACT__IS_INVOICE_TRIGGER:
- return !Objects.equals(IS_INVOICE_TRIGGER_EDEFAULT, this.isInvoiceTrigger);
- case PepperPackage.WORKPACKAGE_ARTEFACT__INVOICE_AMOUNT:
- return !Objects.equals(INVOICE_AMOUNT_EDEFAULT, this.invoiceAmount);
- case PepperPackage.WORKPACKAGE_ARTEFACT__RESPONSIBLE:
- return this.responsible != null;
- case PepperPackage.WORKPACKAGE_ARTEFACT__VERSION:
- return !Objects.equals(VERSION_EDEFAULT, this.version);
- case PepperPackage.WORKPACKAGE_ARTEFACT__IS_OBSOLETE:
- return !Objects.equals(IS_OBSOLETE_EDEFAULT, this.isObsolete);
- default:
- return super.eIsSet(featureID);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String toString() {
- if (this.eIsProxy())
- return super.toString();
-
- String result =
- super.toString() + " (name: " + this.name + ", description: " + this.description + ", nature: " + this.nature + ", plannedDeadline: " + this.plannedDeadline + ", effectiveDeadLine: "
- + this.effectiveDeadLine + ", isInvoiceTrigger: " + this.isInvoiceTrigger + ", invoiceAmount: " + this.invoiceAmount + ", version: " + this.version + ", isObsolete: "
- + this.isObsolete + ')';
- return result;
- }
-
-} // WorkpackageArtefactImpl
diff --git a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/WorkpackageImpl.java b/backend/pepper-mm/src/main/java/pepper/peppermm/impl/WorkpackageImpl.java
deleted file mode 100644
index 8fd9560..0000000
--- a/backend/pepper-mm/src/main/java/pepper/peppermm/impl/WorkpackageImpl.java
+++ /dev/null
@@ -1,694 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024, 2026 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- ******************************************************************************/
-package pepper.peppermm.impl;
-
-import java.time.LocalDate;
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import pepper.peppermm.Objective;
-import pepper.peppermm.PepperPackage;
-import pepper.peppermm.Person;
-import pepper.peppermm.Task;
-import pepper.peppermm.Workpackage;
-import pepper.peppermm.WorkpackageArtefact;
-
-/**
- * An implementation of the model object 'Workpackage'.
- *
- * The following features are implemented:
- *
- *
- * - {@link pepper.peppermm.impl.WorkpackageImpl#getName Name}
- * - {@link pepper.peppermm.impl.WorkpackageImpl#getDescription Description}
- * - {@link pepper.peppermm.impl.WorkpackageImpl#getStartDate Start Date}
- * - {@link pepper.peppermm.impl.WorkpackageImpl#getEndDate End Date}
- * - {@link pepper.peppermm.impl.WorkpackageImpl#getLeader Leader}
- * - {@link pepper.peppermm.impl.WorkpackageImpl#getParticipants Participants}
- * - {@link pepper.peppermm.impl.WorkpackageImpl#getEffort Effort}
- * - {@link pepper.peppermm.impl.WorkpackageImpl#getOutputs Outputs}
- * - {@link pepper.peppermm.impl.WorkpackageImpl#getOwnedTasks Owned Tasks}
- * - {@link pepper.peppermm.impl.WorkpackageImpl#getOwnedObjectives Owned Objectives}
- * - {@link pepper.peppermm.impl.WorkpackageImpl#getProgress Progress}
- *
- *
- * @generated
- */
-public class WorkpackageImpl extends MinimalEObjectImpl.Container implements Workpackage {
- /**
- * The default value of the '{@link #getName() Name}' attribute.
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() Name}' attribute.
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDescription() Description}' attribute.
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() Description}' attribute.
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getStartDate() Start Date}' attribute.
- *
- * @see #getStartDate()
- * @generated
- * @ordered
- */
- protected static final LocalDate START_DATE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getStartDate() Start Date}' attribute.
- *
- * @see #getStartDate()
- * @generated
- * @ordered
- */
- protected LocalDate startDate = START_DATE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getEndDate() End Date}' attribute.
- *
- * @see #getEndDate()
- * @generated
- * @ordered
- */
- protected static final LocalDate END_DATE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getEndDate() End Date}' attribute.
- *
- * @see #getEndDate()
- * @generated
- * @ordered
- */
- protected LocalDate endDate = END_DATE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getLeader() Leader}' reference.
- *
- * @see #getLeader()
- * @generated
- * @ordered
- */
- protected Person leader;
-
- /**
- * The cached value of the '{@link #getParticipants() Participants}' reference list.
- *
- * @see #getParticipants()
- * @generated
- * @ordered
- */
- protected EList participants;
-
- /**
- * The default value of the '{@link #getEffort() Effort}' attribute.
- *
- * @see #getEffort()
- * @generated
- * @ordered
- */
- protected static final Integer EFFORT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getEffort() Effort}' attribute.
- *
- * @see #getEffort()
- * @generated
- * @ordered
- */
- protected Integer effort = EFFORT_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getOutputs() Outputs}' containment reference list.
- *
- * @see #getOutputs()
- * @generated
- * @ordered
- */
- protected EList outputs;
-
- /**
- * The cached value of the '{@link #getOwnedTasks() Owned Tasks}' containment reference list.
- *
- * @see #getOwnedTasks()
- * @generated
- * @ordered
- */
- protected EList ownedTasks;
-
- /**
- * The cached value of the '{@link #getOwnedObjectives() Owned Objectives}' containment reference list.
- *
- *
- * @see #getOwnedObjectives()
- * @generated
- * @ordered
- */
- protected EList ownedObjectives;
-
- /**
- * The default value of the '{@link #getProgress() Progress}' attribute.
- *
- * @see #getProgress()
- * @generated
- * @ordered
- */
- protected static final int PROGRESS_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getProgress() Progress}' attribute.
- *
- * @see #getProgress()
- * @generated
- * @ordered
- */
- protected int progress = PROGRESS_EDEFAULT;
-
- /**
- *
- *
- * @generated
- */
- protected WorkpackageImpl() {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PepperPackage.Literals.WORKPACKAGE;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getName() {
- return this.name;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setName(String newName) {
- String oldName = this.name;
- this.name = newName;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE__NAME, oldName, this.name));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String getDescription() {
- return this.description;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setDescription(String newDescription) {
- String oldDescription = this.description;
- this.description = newDescription;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE__DESCRIPTION, oldDescription, this.description));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public LocalDate getStartDate() {
- return this.startDate;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setStartDate(LocalDate newStartDate) {
- LocalDate oldStartDate = this.startDate;
- this.startDate = newStartDate;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE__START_DATE, oldStartDate, this.startDate));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public LocalDate getEndDate() {
- return this.endDate;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setEndDate(LocalDate newEndDate) {
- LocalDate oldEndDate = this.endDate;
- this.endDate = newEndDate;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE__END_DATE, oldEndDate, this.endDate));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Person getLeader() {
- if (this.leader != null && this.leader.eIsProxy()) {
- InternalEObject oldLeader = (InternalEObject) this.leader;
- this.leader = (Person) this.eResolveProxy(oldLeader);
- if (this.leader != oldLeader) {
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.RESOLVE, PepperPackage.WORKPACKAGE__LEADER, oldLeader, this.leader));
- }
- }
- return this.leader;
- }
-
- /**
- *
- *
- * @generated
- */
- public Person basicGetLeader() {
- return this.leader;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setLeader(Person newLeader) {
- Person oldLeader = this.leader;
- this.leader = newLeader;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE__LEADER, oldLeader, this.leader));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getParticipants() {
- if (this.participants == null) {
- this.participants = new EObjectResolvingEList<>(Person.class, this, PepperPackage.WORKPACKAGE__PARTICIPANTS);
- }
- return this.participants;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Integer getEffort() {
- return this.effort;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setEffort(Integer newEffort) {
- Integer oldEffort = this.effort;
- this.effort = newEffort;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE__EFFORT, oldEffort, this.effort));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getOutputs() {
- if (this.outputs == null) {
- this.outputs = new EObjectContainmentEList<>(WorkpackageArtefact.class, this, PepperPackage.WORKPACKAGE__OUTPUTS);
- }
- return this.outputs;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getOwnedTasks() {
- if (this.ownedTasks == null) {
- this.ownedTasks = new EObjectContainmentEList<>(Task.class, this, PepperPackage.WORKPACKAGE__OWNED_TASKS);
- }
- return this.ownedTasks;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getOwnedObjectives() {
- if (this.ownedObjectives == null) {
- this.ownedObjectives = new EObjectContainmentEList<>(Objective.class, this, PepperPackage.WORKPACKAGE__OWNED_OBJECTIVES);
- }
- return this.ownedObjectives;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public int getProgress() {
- return this.progress;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setProgress(int newProgress) {
- int oldProgress = this.progress;
- this.progress = newProgress;
- if (this.eNotificationRequired())
- this.eNotify(new ENotificationImpl(this, Notification.SET, PepperPackage.WORKPACKAGE__PROGRESS, oldProgress, this.progress));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case PepperPackage.WORKPACKAGE__OUTPUTS:
- return ((InternalEList>) this.getOutputs()).basicRemove(otherEnd, msgs);
- case PepperPackage.WORKPACKAGE__OWNED_TASKS:
- return ((InternalEList>) this.getOwnedTasks()).basicRemove(otherEnd, msgs);
- case PepperPackage.WORKPACKAGE__OWNED_OBJECTIVES:
- return ((InternalEList>) this.getOwnedObjectives()).basicRemove(otherEnd, msgs);
- default:
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PepperPackage.WORKPACKAGE__NAME:
- return this.getName();
- case PepperPackage.WORKPACKAGE__DESCRIPTION:
- return this.getDescription();
- case PepperPackage.WORKPACKAGE__START_DATE:
- return this.getStartDate();
- case PepperPackage.WORKPACKAGE__END_DATE:
- return this.getEndDate();
- case PepperPackage.WORKPACKAGE__LEADER:
- if (resolve)
- return this.getLeader();
- return this.basicGetLeader();
- case PepperPackage.WORKPACKAGE__PARTICIPANTS:
- return this.getParticipants();
- case PepperPackage.WORKPACKAGE__EFFORT:
- return this.getEffort();
- case PepperPackage.WORKPACKAGE__OUTPUTS:
- return this.getOutputs();
- case PepperPackage.WORKPACKAGE__OWNED_TASKS:
- return this.getOwnedTasks();
- case PepperPackage.WORKPACKAGE__OWNED_OBJECTIVES:
- return this.getOwnedObjectives();
- case PepperPackage.WORKPACKAGE__PROGRESS:
- return this.getProgress();
- default:
- return super.eGet(featureID, resolve, coreType);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PepperPackage.WORKPACKAGE__NAME:
- this.setName((String) newValue);
- return;
- case PepperPackage.WORKPACKAGE__DESCRIPTION:
- this.setDescription((String) newValue);
- return;
- case PepperPackage.WORKPACKAGE__START_DATE:
- this.setStartDate((LocalDate) newValue);
- return;
- case PepperPackage.WORKPACKAGE__END_DATE:
- this.setEndDate((LocalDate) newValue);
- return;
- case PepperPackage.WORKPACKAGE__LEADER:
- this.setLeader((Person) newValue);
- return;
- case PepperPackage.WORKPACKAGE__PARTICIPANTS:
- this.getParticipants().clear();
- this.getParticipants().addAll((Collection extends Person>) newValue);
- return;
- case PepperPackage.WORKPACKAGE__EFFORT:
- this.setEffort((Integer) newValue);
- return;
- case PepperPackage.WORKPACKAGE__OUTPUTS:
- this.getOutputs().clear();
- this.getOutputs().addAll((Collection extends WorkpackageArtefact>) newValue);
- return;
- case PepperPackage.WORKPACKAGE__OWNED_TASKS:
- this.getOwnedTasks().clear();
- this.getOwnedTasks().addAll((Collection extends Task>) newValue);
- return;
- case PepperPackage.WORKPACKAGE__OWNED_OBJECTIVES:
- this.getOwnedObjectives().clear();
- this.getOwnedObjectives().addAll((Collection extends Objective>) newValue);
- return;
- case PepperPackage.WORKPACKAGE__PROGRESS:
- this.setProgress((Integer) newValue);
- return;
- default:
- super.eSet(featureID, newValue);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PepperPackage.WORKPACKAGE__NAME:
- this.setName(NAME_EDEFAULT);
- return;
- case PepperPackage.WORKPACKAGE__DESCRIPTION:
- this.setDescription(DESCRIPTION_EDEFAULT);
- return;
- case PepperPackage.WORKPACKAGE__START_DATE:
- this.setStartDate(START_DATE_EDEFAULT);
- return;
- case PepperPackage.WORKPACKAGE__END_DATE:
- this.setEndDate(END_DATE_EDEFAULT);
- return;
- case PepperPackage.WORKPACKAGE__LEADER:
- this.setLeader((Person) null);
- return;
- case PepperPackage.WORKPACKAGE__PARTICIPANTS:
- this.getParticipants().clear();
- return;
- case PepperPackage.WORKPACKAGE__EFFORT:
- this.setEffort(EFFORT_EDEFAULT);
- return;
- case PepperPackage.WORKPACKAGE__OUTPUTS:
- this.getOutputs().clear();
- return;
- case PepperPackage.WORKPACKAGE__OWNED_TASKS:
- this.getOwnedTasks().clear();
- return;
- case PepperPackage.WORKPACKAGE__OWNED_OBJECTIVES:
- this.getOwnedObjectives().clear();
- return;
- case PepperPackage.WORKPACKAGE__PROGRESS:
- this.setProgress(PROGRESS_EDEFAULT);
- return;
- default:
- super.eUnset(featureID);
- return;
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PepperPackage.WORKPACKAGE__NAME:
- return NAME_EDEFAULT == null ? this.name != null : !NAME_EDEFAULT.equals(this.name);
- case PepperPackage.WORKPACKAGE__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? this.description != null : !DESCRIPTION_EDEFAULT.equals(this.description);
- case PepperPackage.WORKPACKAGE__START_DATE:
- return START_DATE_EDEFAULT == null ? this.startDate != null : !START_DATE_EDEFAULT.equals(this.startDate);
- case PepperPackage.WORKPACKAGE__END_DATE:
- return END_DATE_EDEFAULT == null ? this.endDate != null : !END_DATE_EDEFAULT.equals(this.endDate);
- case PepperPackage.WORKPACKAGE__LEADER:
- return this.leader != null;
- case PepperPackage.WORKPACKAGE__PARTICIPANTS:
- return this.participants != null && !this.participants.isEmpty();
- case PepperPackage.WORKPACKAGE__EFFORT:
- return EFFORT_EDEFAULT == null ? this.effort != null : !EFFORT_EDEFAULT.equals(this.effort);
- case PepperPackage.WORKPACKAGE__OUTPUTS:
- return this.outputs != null && !this.outputs.isEmpty();
- case PepperPackage.WORKPACKAGE__OWNED_TASKS:
- return this.ownedTasks != null && !this.ownedTasks.isEmpty();
- case PepperPackage.WORKPACKAGE__OWNED_OBJECTIVES:
- return this.ownedObjectives != null && !this.ownedObjectives.isEmpty();
- case PepperPackage.WORKPACKAGE__PROGRESS:
- return this.progress != PROGRESS_EDEFAULT;
- default:
- return super.eIsSet(featureID);
- }
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String toString() {
- if (this.eIsProxy())
- return super.toString();
-
- StringBuilder result = new StringBuilder(super.toString());
- result.append(" (name: ");
- result.append(this.name);
- result.append(", description: ");
- result.append(this.description);
- result.append(", startDate: ");
- result.append(this.startDate);
- result.append(", endDate: ");
- result.append(this.endDate);
- result.append(", effort: ");
- result.append(this.effort);
- result.append(", progress: ");
- result.append(this.progress);
- result.append(')');
- return result.toString();
- }
-
-} // WorkpackageImpl
diff --git a/backend/pepper-mm/src/main/java/pepper/peppermm/util/PepperAdapterFactory.java b/backend/pepper-mm/src/main/java/pepper/peppermm/util/PepperAdapterFactory.java
deleted file mode 100644
index 88e1860..0000000
--- a/backend/pepper-mm/src/main/java/pepper/peppermm/util/PepperAdapterFactory.java
+++ /dev/null
@@ -1,426 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024, 2026 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- ******************************************************************************/
-package pepper.peppermm.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.ecore.EObject;
-
-import pepper.peppermm.AbstractTask;
-import pepper.peppermm.ExternalStakeholder;
-import pepper.peppermm.InternalStakeholder;
-import pepper.peppermm.KeyResult;
-import pepper.peppermm.Objective;
-import pepper.peppermm.Organization;
-import pepper.peppermm.PepperPackage;
-import pepper.peppermm.Person;
-import pepper.peppermm.Project;
-import pepper.peppermm.Resource;
-import pepper.peppermm.ResourceFolder;
-import pepper.peppermm.Risk;
-import pepper.peppermm.TagFolder;
-import pepper.peppermm.Task;
-import pepper.peppermm.TaskTag;
-import pepper.peppermm.Team;
-import pepper.peppermm.Workpackage;
-import pepper.peppermm.WorkpackageArtefact;
-
-/**
- * The Adapter Factory for the model. It provides an adapter createXXX
- * method for each class of the model.
- *
- * @see pepper.peppermm.PepperPackage
- * @generated
- */
-public class PepperAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- *
- * @generated
- */
- protected static PepperPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- *
- * @generated
- */
- public PepperAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = PepperPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object. This
- * implementation returns true if the object is either the model's package or is an instance object of
- * the model.
- *
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject) object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the createXXX methods.
- *
- * @generated
- */
- protected PepperSwitch modelSwitch = new PepperSwitch<>() {
- @Override
- public Adapter caseOrganization(Organization object) {
- return PepperAdapterFactory.this.createOrganizationAdapter();
- }
-
- @Override
- public Adapter caseResource(Resource object) {
- return PepperAdapterFactory.this.createResourceAdapter();
- }
-
- @Override
- public Adapter caseResourceFolder(ResourceFolder object) {
- return PepperAdapterFactory.this.createResourceFolderAdapter();
- }
-
- @Override
- public Adapter caseTeam(Team object) {
- return PepperAdapterFactory.this.createTeamAdapter();
- }
-
- @Override
- public Adapter caseInternalStakeholder(InternalStakeholder object) {
- return PepperAdapterFactory.this.createInternalStakeholderAdapter();
- }
-
- @Override
- public Adapter caseExternalStakeholder(ExternalStakeholder object) {
- return PepperAdapterFactory.this.createExternalStakeholderAdapter();
- }
-
- @Override
- public Adapter casePerson(Person object) {
- return PepperAdapterFactory.this.createPersonAdapter();
- }
-
- @Override
- public Adapter caseAbstractTask(AbstractTask object) {
- return PepperAdapterFactory.this.createAbstractTaskAdapter();
- }
-
- @Override
- public Adapter caseTagFolder(TagFolder object) {
- return PepperAdapterFactory.this.createTagFolderAdapter();
- }
-
- @Override
- public Adapter caseTaskTag(TaskTag object) {
- return PepperAdapterFactory.this.createTaskTagAdapter();
- }
-
- @Override
- public Adapter caseTask(Task object) {
- return PepperAdapterFactory.this.createTaskAdapter();
- }
-
- @Override
- public Adapter caseObjective(Objective object) {
- return PepperAdapterFactory.this.createObjectiveAdapter();
- }
-
- @Override
- public Adapter caseKeyResult(KeyResult object) {
- return PepperAdapterFactory.this.createKeyResultAdapter();
- }
-
- @Override
- public Adapter caseProject(Project object) {
- return PepperAdapterFactory.this.createProjectAdapter();
- }
-
- @Override
- public Adapter caseWorkpackage(Workpackage object) {
- return PepperAdapterFactory.this.createWorkpackageAdapter();
- }
-
- @Override
- public Adapter caseWorkpackageArtefact(WorkpackageArtefact object) {
- return PepperAdapterFactory.this.createWorkpackageArtefactAdapter();
- }
-
- @Override
- public Adapter caseRisk(Risk object) {
- return PepperAdapterFactory.this.createRiskAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object) {
- return PepperAdapterFactory.this.createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the target.
- *
- * @param target
- * the object to adapt.
- * @return the adapter for the target.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target) {
- return this.modelSwitch.doSwitch((EObject) target);
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.Organization Organization}'. This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.Organization
- * @generated
- */
- public Adapter createOrganizationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.Resource Resource}'. This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.Resource
- * @generated
- */
- public Adapter createResourceAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.ResourceFolder Resource Folder}'.
- * This default implementation returns null so that we can easily ignore cases; it's useful
- * to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.ResourceFolder
- * @generated
- */
- public Adapter createResourceFolderAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.Team Team}'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case
- * when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.Team
- * @generated
- */
- public Adapter createTeamAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.InternalStakeholder Internal
- * Stakeholder}'. This default implementation returns null so that we can easily ignore
- * cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.InternalStakeholder
- * @generated
- */
- public Adapter createInternalStakeholderAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.ExternalStakeholder External
- * Stakeholder}'. This default implementation returns null so that we can easily ignore
- * cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.ExternalStakeholder
- * @generated
- */
- public Adapter createExternalStakeholderAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.Person Person}'. This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.Person
- * @generated
- */
- public Adapter createPersonAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.AbstractTask Abstract Task}'. This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.AbstractTask
- * @generated
- */
- public Adapter createAbstractTaskAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.TagFolder Tag Folder}'. This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.TagFolder
- * @generated
- */
- public Adapter createTagFolderAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.TaskTag Task Tag}'. This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.TaskTag
- * @generated
- */
- public Adapter createTaskTagAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.Task Task}'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case
- * when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.Task
- * @generated
- */
- public Adapter createTaskAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.Objective Objective}'. This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.Objective
- * @generated
- */
- public Adapter createObjectiveAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.KeyResult Key Result}'. This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.KeyResult
- * @generated
- */
- public Adapter createKeyResultAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.Project Project}'. This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.Project
- * @generated
- */
- public Adapter createProjectAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.Workpackage Workpackage}'. This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.Workpackage
- * @generated
- */
- public Adapter createWorkpackageAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.WorkpackageArtefact Workpackage
- * Artefact}'. This default implementation returns null so that we can easily ignore
- * cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.WorkpackageArtefact
- * @generated
- */
- public Adapter createWorkpackageArtefactAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link pepper.peppermm.Risk Risk}'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case
- * when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see pepper.peppermm.Risk
- * @generated
- */
- public Adapter createRiskAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case. This default implementation returns null.
- *
- *
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} // PepperAdapterFactory
diff --git a/backend/pepper-mm/src/main/java/pepper/peppermm/util/PepperSwitch.java b/backend/pepper-mm/src/main/java/pepper/peppermm/util/PepperSwitch.java
deleted file mode 100644
index 44cfb0c..0000000
--- a/backend/pepper-mm/src/main/java/pepper/peppermm/util/PepperSwitch.java
+++ /dev/null
@@ -1,485 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2024, 2026 CEA LIST.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- ******************************************************************************/
-package pepper.peppermm.util;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.util.Switch;
-
-import pepper.peppermm.AbstractTask;
-import pepper.peppermm.ExternalStakeholder;
-import pepper.peppermm.InternalStakeholder;
-import pepper.peppermm.KeyResult;
-import pepper.peppermm.Objective;
-import pepper.peppermm.Organization;
-import pepper.peppermm.PepperPackage;
-import pepper.peppermm.Person;
-import pepper.peppermm.Project;
-import pepper.peppermm.Resource;
-import pepper.peppermm.ResourceFolder;
-import pepper.peppermm.Risk;
-import pepper.peppermm.TagFolder;
-import pepper.peppermm.Task;
-import pepper.peppermm.TaskTag;
-import pepper.peppermm.Team;
-import pepper.peppermm.Workpackage;
-import pepper.peppermm.WorkpackageArtefact;
-
-/**
- * The Switch for the model's inheritance hierarchy. It supports the call
- * {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX method for each class of the model,
- * starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is
- * returned, which is the result of the switch.
- *
- * @see pepper.peppermm.PepperPackage
- * @generated
- */
-public class PepperSwitch extends Switch {
- /**
- * The cached model package
- *
- * @generated
- */
- protected static PepperPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- *
- * @generated
- */
- public PepperSwitch() {
- if (modelPackage == null) {
- modelPackage = PepperPackage.eINSTANCE;
- }
- }
-
- /**
- * Checks whether this is a switch for the given package.
- *
- * @param ePackage
- * the package in question.
- * @return whether this is a switch for the given package.
- * @generated
- */
- @Override
- protected boolean isSwitchFor(EPackage ePackage) {
- return ePackage == modelPackage;
- }
-
- /**
- * Calls caseXXX for each class of the model until one returns a non null result; it yields that
- * result.
- *
- * @return the first non-null result returned by a caseXXX call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case PepperPackage.ORGANIZATION: {
- Organization organization = (Organization) theEObject;
- T result = this.caseOrganization(organization);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- case PepperPackage.RESOURCE: {
- Resource resource = (Resource) theEObject;
- T result = this.caseResource(resource);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- case PepperPackage.RESOURCE_FOLDER: {
- ResourceFolder resourceFolder = (ResourceFolder) theEObject;
- T result = this.caseResourceFolder(resourceFolder);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- case PepperPackage.TEAM: {
- Team team = (Team) theEObject;
- T result = this.caseTeam(team);
- if (result == null)
- result = this.caseResource(team);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- case PepperPackage.INTERNAL_STAKEHOLDER: {
- InternalStakeholder internalStakeholder = (InternalStakeholder) theEObject;
- T result = this.caseInternalStakeholder(internalStakeholder);
- if (result == null)
- result = this.caseResource(internalStakeholder);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- case PepperPackage.EXTERNAL_STAKEHOLDER: {
- ExternalStakeholder externalStakeholder = (ExternalStakeholder) theEObject;
- T result = this.caseExternalStakeholder(externalStakeholder);
- if (result == null)
- result = this.caseResource(externalStakeholder);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- case PepperPackage.PERSON: {
- Person person = (Person) theEObject;
- T result = this.casePerson(person);
- if (result == null)
- result = this.caseResource(person);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- case PepperPackage.ABSTRACT_TASK: {
- AbstractTask abstractTask = (AbstractTask) theEObject;
- T result = this.caseAbstractTask(abstractTask);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- case PepperPackage.TAG_FOLDER: {
- TagFolder tagFolder = (TagFolder) theEObject;
- T result = this.caseTagFolder(tagFolder);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- case PepperPackage.TASK_TAG: {
- TaskTag taskTag = (TaskTag) theEObject;
- T result = this.caseTaskTag(taskTag);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- case PepperPackage.TASK: {
- Task task = (Task) theEObject;
- T result = this.caseTask(task);
- if (result == null)
- result = this.caseAbstractTask(task);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- case PepperPackage.OBJECTIVE: {
- Objective objective = (Objective) theEObject;
- T result = this.caseObjective(objective);
- if (result == null)
- result = this.caseAbstractTask(objective);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- case PepperPackage.KEY_RESULT: {
- KeyResult keyResult = (KeyResult) theEObject;
- T result = this.caseKeyResult(keyResult);
- if (result == null)
- result = this.caseAbstractTask(keyResult);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- case PepperPackage.PROJECT: {
- Project project = (Project) theEObject;
- T result = this.caseProject(project);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- case PepperPackage.WORKPACKAGE: {
- Workpackage workpackage = (Workpackage) theEObject;
- T result = this.caseWorkpackage(workpackage);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- case PepperPackage.WORKPACKAGE_ARTEFACT: {
- WorkpackageArtefact workpackageArtefact = (WorkpackageArtefact) theEObject;
- T result = this.caseWorkpackageArtefact(workpackageArtefact);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- case PepperPackage.RISK: {
- Risk risk = (Risk) theEObject;
- T result = this.caseRisk(risk);
- if (result == null)
- result = this.defaultCase(theEObject);
- return result;
- }
- default:
- return this.defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Organization'.
- * This implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Organization'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOrganization(Organization object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Resource'. This
- * implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Resource'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseResource(Resource object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Resource Folder'. This implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Resource Folder'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseResourceFolder(ResourceFolder object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Team'. This
- * implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Team'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTeam(Team object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Internal Stakeholder'. This implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Internal Stakeholder'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseInternalStakeholder(InternalStakeholder object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'External Stakeholder'. This implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'External Stakeholder'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseExternalStakeholder(ExternalStakeholder object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Person'. This
- * implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Person'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePerson(Person object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Abstract Task'.
- * This implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Abstract Task'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAbstractTask(AbstractTask object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Tag Folder'.
- * This implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Tag Folder'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTagFolder(TagFolder object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Task Tag'. This
- * implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Task Tag'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTaskTag(TaskTag object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Task'. This
- * implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Task'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTask(Task object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Objective'.
- * This implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Objective'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseObjective(Objective object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Key Result'.
- * This implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Key Result'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseKeyResult(KeyResult object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Project'. This
- * implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Project'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseProject(Project object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Workpackage'.
- * This implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Workpackage'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseWorkpackage(Workpackage object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Workpackage Artefact'. This implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Workpackage Artefact'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseWorkpackageArtefact(WorkpackageArtefact object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Risk'. This
- * implementation returns null; returning a non-null result will terminate the switch.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'Risk'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRisk(Risk object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'EObject'. This
- * implementation returns null; returning a non-null result will terminate the switch, but this is the last case
- * anyway.
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of 'EObject'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object) {
- return null;
- }
-
-} // PepperSwitch
diff --git a/backend/pepper-mm/src/main/resources/icons/svg/Default.svg b/backend/pepper-mm/src/main/resources/icons/svg/Default.svg
deleted file mode 100644
index 39d97af..0000000
--- a/backend/pepper-mm/src/main/resources/icons/svg/Default.svg
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
diff --git a/backend/pepper-mm/src/main/resources/model/pepper.ecore b/backend/pepper-mm/src/main/resources/model/pepper.ecore
deleted file mode 100644
index b3a6909..0000000
--- a/backend/pepper-mm/src/main/resources/model/pepper.ecore
+++ /dev/null
@@ -1,191 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/backend/pepper-mm/src/main/resources/model/pepper.genmodel b/backend/pepper-mm/src/main/resources/model/pepper.genmodel
deleted file mode 100644
index cdd1e2c..0000000
--- a/backend/pepper-mm/src/main/resources/model/pepper.genmodel
+++ /dev/null
@@ -1,172 +0,0 @@
-
-
- pepper.ecore
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/backend/pepper-parent/pom.xml b/backend/pepper-parent/pom.xml
index a904748..d59a3da 100644
--- a/backend/pepper-parent/pom.xml
+++ b/backend/pepper-parent/pom.xml
@@ -52,12 +52,27 @@
github-sirius-web
https://maven.pkg.github.com/eclipse-web/sirius-web
+
+ github-pepper-mm
+ https://maven.pkg.github.com/ObeoNetwork/pepper-mm
+
-
+
+
+ pepper-mm
+ pepper-mm
+ 2026.3.0
+
+
+ pepper-mm
+ pepper-edit
+ 2026.3.0
+
+
org.eclipse.sirius
sirius-components-forms
diff --git a/backend/pepper-starter/pom.xml b/backend/pepper-starter/pom.xml
index 3d5f13c..52b94b0 100644
--- a/backend/pepper-starter/pom.xml
+++ b/backend/pepper-starter/pom.xml
@@ -43,23 +43,24 @@
Apache Maven Packages
https://maven.pkg.github.com/eclipse-sirius/sirius-web
+
+ github-pepper-mm
+ https://maven.pkg.github.com/ObeoNetwork/pepper-mm
+
- org.eclipse.sirius
- sirius-web-application
-
-
-
- pepper
+ pepper-mm
pepper-mm
- ${project.version}
- pepper
+ pepper-mm
pepper-edit
- ${project.version}
+
+
+ org.eclipse.sirius
+ sirius-web-application
org.eclipse.sirius
diff --git a/backend/pom.xml b/backend/pom.xml
index 0b9eb16..2790414 100644
--- a/backend/pom.xml
+++ b/backend/pom.xml
@@ -39,8 +39,6 @@
-->
pepper-parent
- pepper-mm
- pepper-edit
pepper-starter
pepper-application
pepper-frontend
diff --git a/settings.xml b/settings.xml
index 795b6db..d2c5429 100644
--- a/settings.xml
+++ b/settings.xml
@@ -30,6 +30,11 @@
Sirius EMF JSON - Maven Packages
https://maven.pkg.github.com/eclipse-sirius/sirius-emf-json
+
+ github-pepper-mm
+ Pepper metamodel - Maven Packages
+ https://maven.pkg.github.com/ObeoNetwork/pepper-mm
+
@@ -50,5 +55,10 @@
${env.USERNAME}
${env.PASSWORD}
+
+ github-pepper-mm
+ ${env.USERNAME}
+ ${env.PASSWORD}
+
\ No newline at end of file