From 4ee60de5b4fa34125e4d44559dabd516f9c8e8f0 Mon Sep 17 00:00:00 2001 From: ptessier Date: Wed, 5 May 2021 10:50:53 +0200 Subject: Bug 573370 - [privacy-Desiger] udpate profile to add safeguard requirements Change-Id: I5860c4150013cc5cdd8471a3b1a05029d57f5392 --- .../META-INF/MANIFEST.MF | 6 +- .../model/pdp4engCommonGDPR.ecore | 2 +- .../model/pdp4engCommonGDPR.genmodel | 2 +- .../model/pdp4engCommonGDPR.profile.uml | 4 +- .../common/profile/pdp4engCommonGDPR/Consent.java | 27 +- .../common/profile/pdp4engCommonGDPR/Contract.java | 27 +- .../profile/pdp4engCommonGDPR/Controller.java | 23 +- .../common/profile/pdp4engCommonGDPR/Data.java | 17 +- .../profile/pdp4engCommonGDPR/DataSubject.java | 30 +- .../profile/pdp4engCommonGDPR/LegalObligation.java | 17 +- .../pdp4engCommonGDPR/LegitimateInterest.java | 17 +- .../Pdp4engCommonGDPRFactory.java | 28 +- .../Pdp4engCommonGDPRPackage.java | 210 +--------- .../profile/pdp4engCommonGDPR/PersonalData.java | 23 +- .../common/profile/pdp4engCommonGDPR/Process.java | 65 +-- .../profile/pdp4engCommonGDPR/Processor.java | 20 +- .../profile/pdp4engCommonGDPR/PublicInterest.java | 17 +- .../common/profile/pdp4engCommonGDPR/Purpose.java | 29 +- .../profile/pdp4engCommonGDPR/VitalInterest.java | 17 +- .../pdp4engCommonGDPR/impl/ConsentImpl.java | 171 ++++---- .../pdp4engCommonGDPR/impl/ContractImpl.java | 172 ++++---- .../pdp4engCommonGDPR/impl/ControllerImpl.java | 124 +++--- .../profile/pdp4engCommonGDPR/impl/DataImpl.java | 58 ++- .../pdp4engCommonGDPR/impl/DataSubjectImpl.java | 207 ++++------ .../impl/LegalObligationImpl.java | 58 ++- .../impl/LegitimateInterestImpl.java | 58 ++- .../impl/Pdp4engCommonGDPRFactoryImpl.java | 81 ++-- .../impl/Pdp4engCommonGDPRPackageImpl.java | 279 ++++--------- .../pdp4engCommonGDPR/impl/PersonalDataImpl.java | 168 ++++---- .../pdp4engCommonGDPR/impl/ProcessImpl.java | 434 +++++++++------------ .../pdp4engCommonGDPR/impl/ProcessorImpl.java | 86 ++-- .../pdp4engCommonGDPR/impl/PublicInterestImpl.java | 58 ++- .../pdp4engCommonGDPR/impl/PurposeImpl.java | 172 ++++---- .../pdp4engCommonGDPR/impl/VitalInterestImpl.java | 58 ++- .../util/Pdp4engCommonGDPRAdapterFactory.java | 169 ++++---- .../util/Pdp4engCommonGDPRSwitch.java | 239 +++++------- .../model/pdp4engReqGDPR.ecore | 1 + .../model/pdp4engReqGDPR.genmodel | 3 +- .../model/pdp4engReqGDPR.profile.notation | 85 ++-- .../model/pdp4engReqGDPR.profile.uml | 3 + .../profile/pdp4engReqGDPR/LawfullBySafeGuard.java | 31 ++ .../impl/LawfullBySafeGuardImpl.java | 51 +++ .../impl/pdp4engReqGDPRFactoryImpl.java | 12 + .../impl/pdp4engReqGDPRPackageImpl.java | 23 ++ .../pdp4engReqGDPR/pdp4engReqGDPRFactory.java | 9 + .../pdp4engReqGDPR/pdp4engReqGDPRPackage.java | 92 ++++- .../util/pdp4engReqGDPRAdapterFactory.java | 18 + .../pdp4engReqGDPR/util/pdp4engReqGDPRSwitch.java | 24 ++ 48 files changed, 1458 insertions(+), 2067 deletions(-) create mode 100644 plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/LawfullBySafeGuard.java create mode 100644 plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/impl/LawfullBySafeGuardImpl.java diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/META-INF/MANIFEST.MF b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/META-INF/MANIFEST.MF index e502363..ea240fb 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/META-INF/MANIFEST.MF +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/META-INF/MANIFEST.MF @@ -11,8 +11,8 @@ Export-Package: org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.util Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.0.0,4.0.0)", - org.eclipse.emf.ecore;bundle-version="[2.0.0,3.0.0)", - org.eclipse.uml2.types;bundle-version="[2.0.0,3.0.0)", - org.eclipse.uml2.uml;bundle-version="[5.5.0,6.0.0)" + org.eclipse.emf.ecore;bundle-version="[2.0.0,3.0.0)";visibility:=reexport, + org.eclipse.uml2.types;bundle-version="[2.0.0,3.0.0)";visibility:=reexport, + org.eclipse.uml2.uml;bundle-version="[5.5.0,6.0.0)";visibility:=reexport Bundle-ActivationPolicy: lazy Bundle-Localization: plugin diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/model/pdp4engCommonGDPR.ecore b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/model/pdp4engCommonGDPR.ecore index f82b51e..f001b24 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/model/pdp4engCommonGDPR.ecore +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/model/pdp4engCommonGDPR.ecore @@ -58,7 +58,7 @@ + eType="#//Consent" eOpposite="#//Consent/purpose"/> - + + + diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Consent.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Consent.java index c6e8c4a..cf58c0b 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Consent.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Consent.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR; @@ -30,9 +30,9 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are supported: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent#getBase_NamedElement Base Named Element}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent#getPurpose Purpose}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent#getDatasubject Datasubject}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent#getPurpose Purpose}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent#getDatasubject Datasubject}
  • *
* * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getConsent() @@ -48,7 +48,6 @@ public interface Consent extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Base Named Element' reference. * @see #setBase_NamedElement(NamedElement) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getConsent_Base_NamedElement() @@ -61,9 +60,7 @@ public interface Consent extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent#getBase_NamedElement Base Named Element}' reference. * * - * - * @param value - * the new value of the 'Base Named Element' reference. + * @param value the new value of the 'Base Named Element' reference. * @see #getBase_NamedElement() * @generated */ @@ -79,7 +76,6 @@ public interface Consent extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Purpose' reference list. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getConsent_Purpose() * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose#getConsent @@ -97,7 +93,6 @@ public interface Consent extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Datasubject' reference. * @see #setDatasubject(DataSubject) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getConsent_Datasubject() @@ -111,9 +106,7 @@ public interface Consent extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent#getDatasubject Datasubject}' reference. * * - * - * @param value - * the new value of the 'Datasubject' reference. + * @param value the new value of the 'Datasubject' reference. * @see #getDatasubject() * @generated */ diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Contract.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Contract.java index 2cb119b..b16433c 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Contract.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Contract.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR; @@ -30,9 +30,9 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are supported: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract#getBase_NamedElement Base Named Element}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract#getProcess Process}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract#getDatasubject Datasubject}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract#getProcess Process}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract#getDatasubject Datasubject}
  • *
* * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getContract() @@ -48,7 +48,6 @@ public interface Contract extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Base Named Element' reference. * @see #setBase_NamedElement(NamedElement) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getContract_Base_NamedElement() @@ -61,9 +60,7 @@ public interface Contract extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract#getBase_NamedElement Base Named Element}' reference. * * - * - * @param value - * the new value of the 'Base Named Element' reference. + * @param value the new value of the 'Base Named Element' reference. * @see #getBase_NamedElement() * @generated */ @@ -79,7 +76,6 @@ public interface Contract extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Process' reference list. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getContract_Process() * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getPerformAContract @@ -97,7 +93,6 @@ public interface Contract extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Datasubject' reference. * @see #setDatasubject(DataSubject) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getContract_Datasubject() @@ -111,9 +106,7 @@ public interface Contract extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract#getDatasubject Datasubject}' reference. * * - * - * @param value - * the new value of the 'Datasubject' reference. + * @param value the new value of the 'Datasubject' reference. * @see #getDatasubject() * @generated */ diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Controller.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Controller.java index 1a97ed6..fd159ff 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Controller.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Controller.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR; @@ -30,9 +30,9 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are supported: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Controller#getProcessor Processor}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Controller#getBase_NamedElement Base Named Element}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Controller#getPersonalData Personal Data}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Controller#getProcessor Processor}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Controller#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Controller#getPersonalData Personal Data}
  • *
* * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getController() @@ -49,7 +49,6 @@ public interface Controller extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Processor' reference list. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getController_Processor() * @model required="true" ordered="false" @@ -65,7 +64,6 @@ public interface Controller extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Base Named Element' reference. * @see #setBase_NamedElement(NamedElement) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getController_Base_NamedElement() @@ -78,9 +76,7 @@ public interface Controller extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Controller#getBase_NamedElement Base Named Element}' reference. * * - * - * @param value - * the new value of the 'Base Named Element' reference. + * @param value the new value of the 'Base Named Element' reference. * @see #getBase_NamedElement() * @generated */ @@ -96,7 +92,6 @@ public interface Controller extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Personal Data' reference list. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getController_PersonalData() * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData#getResponsible diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Data.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Data.java index 3ecde92..98a7b50 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Data.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Data.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR; @@ -28,7 +28,7 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are supported: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Data#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Data#getBase_NamedElement Base Named Element}
  • *
* * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getData() @@ -44,7 +44,6 @@ public interface Data extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Base Named Element' reference. * @see #setBase_NamedElement(NamedElement) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getData_Base_NamedElement() @@ -57,9 +56,7 @@ public interface Data extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Data#getBase_NamedElement Base Named Element}' reference. * * - * - * @param value - * the new value of the 'Base Named Element' reference. + * @param value the new value of the 'Base Named Element' reference. * @see #getBase_NamedElement() * @generated */ diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/DataSubject.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/DataSubject.java index 7643a8b..0ebdfcd 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/DataSubject.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/DataSubject.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR; @@ -30,10 +30,10 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are supported: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getBase_NamedElement Base Named Element}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getGivenConsent Given Consent}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getContract Contract}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getPersonalData Personal Data}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getGivenConsent Given Consent}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getContract Contract}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getPersonalData Personal Data}
  • *
* * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getDataSubject() @@ -49,7 +49,6 @@ public interface DataSubject extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Base Named Element' reference. * @see #setBase_NamedElement(NamedElement) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getDataSubject_Base_NamedElement() @@ -62,9 +61,7 @@ public interface DataSubject extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getBase_NamedElement Base Named Element}' reference. * * - * - * @param value - * the new value of the 'Base Named Element' reference. + * @param value the new value of the 'Base Named Element' reference. * @see #getBase_NamedElement() * @generated */ @@ -80,7 +77,6 @@ public interface DataSubject extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Given Consent' reference list. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getDataSubject_GivenConsent() * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent#getDatasubject @@ -98,7 +94,6 @@ public interface DataSubject extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Contract' reference. * @see #setContract(Contract) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getDataSubject_Contract() @@ -112,9 +107,7 @@ public interface DataSubject extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getContract Contract}' reference. * * - * - * @param value - * the new value of the 'Contract' reference. + * @param value the new value of the 'Contract' reference. * @see #getContract() * @generated */ @@ -130,7 +123,6 @@ public interface DataSubject extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Personal Data' reference list. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getDataSubject_PersonalData() * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData#getRelatedTo diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/LegalObligation.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/LegalObligation.java index 2b1f789..7d3948b 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/LegalObligation.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/LegalObligation.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR; @@ -28,7 +28,7 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are supported: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.LegalObligation#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.LegalObligation#getBase_NamedElement Base Named Element}
  • *
* * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getLegalObligation() @@ -44,7 +44,6 @@ public interface LegalObligation extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Base Named Element' reference. * @see #setBase_NamedElement(NamedElement) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getLegalObligation_Base_NamedElement() @@ -57,9 +56,7 @@ public interface LegalObligation extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.LegalObligation#getBase_NamedElement Base Named Element}' reference. * * - * - * @param value - * the new value of the 'Base Named Element' reference. + * @param value the new value of the 'Base Named Element' reference. * @see #getBase_NamedElement() * @generated */ diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/LegitimateInterest.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/LegitimateInterest.java index edd21b1..9e2baef 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/LegitimateInterest.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/LegitimateInterest.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR; @@ -28,7 +28,7 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are supported: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.LegitimateInterest#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.LegitimateInterest#getBase_NamedElement Base Named Element}
  • *
* * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getLegitimateInterest() @@ -44,7 +44,6 @@ public interface LegitimateInterest extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Base Named Element' reference. * @see #setBase_NamedElement(NamedElement) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getLegitimateInterest_Base_NamedElement() @@ -57,9 +56,7 @@ public interface LegitimateInterest extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.LegitimateInterest#getBase_NamedElement Base Named Element}' reference. * * - * - * @param value - * the new value of the 'Base Named Element' reference. + * @param value the new value of the 'Base Named Element' reference. * @see #getBase_NamedElement() * @generated */ diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Pdp4engCommonGDPRFactory.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Pdp4engCommonGDPRFactory.java index 7b358e8..7632c42 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Pdp4engCommonGDPRFactory.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Pdp4engCommonGDPRFactory.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR; @@ -22,7 +22,6 @@ import org.eclipse.emf.ecore.EFactory; * The Factory for the model. * It provides a create method for each non-abstract class of the model. * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage * @generated */ @@ -31,7 +30,6 @@ public interface Pdp4engCommonGDPRFactory extends EFactory { * The singleton instance of the factory. * * - * * @generated */ Pdp4engCommonGDPRFactory eINSTANCE = org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRFactoryImpl.init(); @@ -40,7 +38,6 @@ public interface Pdp4engCommonGDPRFactory extends EFactory { * Returns a new object of class 'Process'. * * - * * @return a new object of class 'Process'. * @generated */ @@ -50,7 +47,6 @@ public interface Pdp4engCommonGDPRFactory extends EFactory { * Returns a new object of class 'Personal Data'. * * - * * @return a new object of class 'Personal Data'. * @generated */ @@ -60,7 +56,6 @@ public interface Pdp4engCommonGDPRFactory extends EFactory { * Returns a new object of class 'Data'. * * - * * @return a new object of class 'Data'. * @generated */ @@ -70,7 +65,6 @@ public interface Pdp4engCommonGDPRFactory extends EFactory { * Returns a new object of class 'Data Subject'. * * - * * @return a new object of class 'Data Subject'. * @generated */ @@ -80,7 +74,6 @@ public interface Pdp4engCommonGDPRFactory extends EFactory { * Returns a new object of class 'Consent'. * * - * * @return a new object of class 'Consent'. * @generated */ @@ -90,7 +83,6 @@ public interface Pdp4engCommonGDPRFactory extends EFactory { * Returns a new object of class 'Purpose'. * * - * * @return a new object of class 'Purpose'. * @generated */ @@ -100,7 +92,6 @@ public interface Pdp4engCommonGDPRFactory extends EFactory { * Returns a new object of class 'Contract'. * * - * * @return a new object of class 'Contract'. * @generated */ @@ -110,7 +101,6 @@ public interface Pdp4engCommonGDPRFactory extends EFactory { * Returns a new object of class 'Controller'. * * - * * @return a new object of class 'Controller'. * @generated */ @@ -120,7 +110,6 @@ public interface Pdp4engCommonGDPRFactory extends EFactory { * Returns a new object of class 'Processor'. * * - * * @return a new object of class 'Processor'. * @generated */ @@ -130,7 +119,6 @@ public interface Pdp4engCommonGDPRFactory extends EFactory { * Returns a new object of class 'Public Interest'. * * - * * @return a new object of class 'Public Interest'. * @generated */ @@ -140,7 +128,6 @@ public interface Pdp4engCommonGDPRFactory extends EFactory { * Returns a new object of class 'Legitimate Interest'. * * - * * @return a new object of class 'Legitimate Interest'. * @generated */ @@ -150,7 +137,6 @@ public interface Pdp4engCommonGDPRFactory extends EFactory { * Returns a new object of class 'Legal Obligation'. * * - * * @return a new object of class 'Legal Obligation'. * @generated */ @@ -160,7 +146,6 @@ public interface Pdp4engCommonGDPRFactory extends EFactory { * Returns a new object of class 'Vital Interest'. * * - * * @return a new object of class 'Vital Interest'. * @generated */ @@ -170,10 +155,9 @@ public interface Pdp4engCommonGDPRFactory extends EFactory { * Returns the package supported by this factory. * * - * * @return the package supported by this factory. * @generated */ Pdp4engCommonGDPRPackage getPdp4engCommonGDPRPackage(); -} // Pdp4engCommonGDPRFactory +} //Pdp4engCommonGDPRFactory diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Pdp4engCommonGDPRPackage.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Pdp4engCommonGDPRPackage.java index c1ab6a2..34b7592 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Pdp4engCommonGDPRPackage.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Pdp4engCommonGDPRPackage.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR; @@ -24,14 +24,13 @@ import org.eclipse.emf.ecore.EReference; * The Package for the model. * It contains accessors for the meta objects to represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each operation of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRFactory * @model kind="package" * @generated @@ -41,7 +40,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The package name. * * - * * @generated */ String eNAME = "pdp4engCommonGDPR"; @@ -50,7 +48,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The package namespace URI. * * - * * @generated */ String eNS_URI = "http://org.eclipse.papyrus.pdp4eng.common.profile"; @@ -59,7 +56,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The package namespace name. * * - * * @generated */ String eNS_PREFIX = "pdp4engCommonGDPR"; @@ -68,7 +64,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The singleton instance of the package. * * - * * @generated */ Pdp4engCommonGDPRPackage eINSTANCE = org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl.init(); @@ -77,7 +72,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl Process}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getProcess() * @generated @@ -88,7 +82,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Base Named Element' reference. * * - * * @generated * @ordered */ @@ -98,7 +91,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Personaldata' reference list. * * - * * @generated * @ordered */ @@ -108,7 +100,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Contributed To' reference. * * - * * @generated * @ordered */ @@ -118,7 +109,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Perform AContract' reference. * * - * * @generated * @ordered */ @@ -128,7 +118,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Data' reference list. * * - * * @generated * @ordered */ @@ -138,7 +127,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Needed For Public Interest' reference. * * - * * @generated * @ordered */ @@ -148,7 +136,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Needed For Legimate Interest' reference. * * - * * @generated * @ordered */ @@ -158,7 +145,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Needed For Legal Obligation' reference. * * - * * @generated * @ordered */ @@ -168,7 +154,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Needed For Vital Interest' reference. * * - * * @generated * @ordered */ @@ -178,7 +163,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of structural features of the 'Process' class. * * - * * @generated * @ordered */ @@ -188,7 +172,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of operations of the 'Process' class. * * - * * @generated * @ordered */ @@ -198,7 +181,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataImpl Data}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getData() * @generated @@ -209,7 +191,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Base Named Element' reference. * * - * * @generated * @ordered */ @@ -219,7 +200,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of structural features of the 'Data' class. * * - * * @generated * @ordered */ @@ -229,7 +209,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of operations of the 'Data' class. * * - * * @generated * @ordered */ @@ -239,7 +218,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PersonalDataImpl Personal Data}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PersonalDataImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getPersonalData() * @generated @@ -250,7 +228,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Base Named Element' reference. * * - * * @generated * @ordered */ @@ -260,7 +237,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Related To' reference list. * * - * * @generated * @ordered */ @@ -270,7 +246,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Responsible' reference. * * - * * @generated * @ordered */ @@ -280,7 +255,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Processed By' reference list. * * - * * @generated * @ordered */ @@ -290,7 +264,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of structural features of the 'Personal Data' class. * * - * * @generated * @ordered */ @@ -300,7 +273,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of operations of the 'Personal Data' class. * * - * * @generated * @ordered */ @@ -310,7 +282,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataSubjectImpl Data Subject}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataSubjectImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getDataSubject() * @generated @@ -321,7 +292,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Base Named Element' reference. * * - * * @generated * @ordered */ @@ -331,7 +301,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Given Consent' reference list. * * - * * @generated * @ordered */ @@ -341,7 +310,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Contract' reference. * * - * * @generated * @ordered */ @@ -351,7 +319,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Personal Data' reference list. * * - * * @generated * @ordered */ @@ -361,7 +328,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of structural features of the 'Data Subject' class. * * - * * @generated * @ordered */ @@ -371,7 +337,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of operations of the 'Data Subject' class. * * - * * @generated * @ordered */ @@ -381,7 +346,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ConsentImpl Consent}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ConsentImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getConsent() * @generated @@ -392,7 +356,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Base Named Element' reference. * * - * * @generated * @ordered */ @@ -402,7 +365,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Purpose' reference list. * * - * * @generated * @ordered */ @@ -412,7 +374,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Datasubject' reference. * * - * * @generated * @ordered */ @@ -422,7 +383,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of structural features of the 'Consent' class. * * - * * @generated * @ordered */ @@ -432,7 +392,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of operations of the 'Consent' class. * * - * * @generated * @ordered */ @@ -442,7 +401,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PurposeImpl Purpose}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PurposeImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getPurpose() * @generated @@ -453,7 +411,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Base Named Element' reference. * * - * * @generated * @ordered */ @@ -463,7 +420,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Processes' reference list. * * - * * @generated * @ordered */ @@ -473,7 +429,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Consent' reference. * * - * * @generated * @ordered */ @@ -483,7 +438,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of structural features of the 'Purpose' class. * * - * * @generated * @ordered */ @@ -493,7 +447,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of operations of the 'Purpose' class. * * - * * @generated * @ordered */ @@ -503,7 +456,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ContractImpl Contract}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ContractImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getContract() * @generated @@ -514,7 +466,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Base Named Element' reference. * * - * * @generated * @ordered */ @@ -524,7 +475,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Process' reference list. * * - * * @generated * @ordered */ @@ -534,7 +484,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Datasubject' reference. * * - * * @generated * @ordered */ @@ -544,7 +493,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of structural features of the 'Contract' class. * * - * * @generated * @ordered */ @@ -554,7 +502,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of operations of the 'Contract' class. * * - * * @generated * @ordered */ @@ -564,7 +511,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ControllerImpl Controller}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ControllerImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getController() * @generated @@ -575,7 +521,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Processor' reference list. * * - * * @generated * @ordered */ @@ -585,7 +530,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Base Named Element' reference. * * - * * @generated * @ordered */ @@ -595,7 +539,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Personal Data' reference list. * * - * * @generated * @ordered */ @@ -605,7 +548,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of structural features of the 'Controller' class. * * - * * @generated * @ordered */ @@ -615,7 +557,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of operations of the 'Controller' class. * * - * * @generated * @ordered */ @@ -625,7 +566,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessorImpl Processor}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessorImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getProcessor() * @generated @@ -636,7 +576,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Process' reference list. * * - * * @generated * @ordered */ @@ -646,7 +585,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Base Named Element' reference. * * - * * @generated * @ordered */ @@ -656,7 +594,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of structural features of the 'Processor' class. * * - * * @generated * @ordered */ @@ -666,7 +603,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of operations of the 'Processor' class. * * - * * @generated * @ordered */ @@ -676,7 +612,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PublicInterestImpl Public Interest}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PublicInterestImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getPublicInterest() * @generated @@ -687,7 +622,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Base Named Element' reference. * * - * * @generated * @ordered */ @@ -697,7 +631,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of structural features of the 'Public Interest' class. * * - * * @generated * @ordered */ @@ -707,7 +640,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of operations of the 'Public Interest' class. * * - * * @generated * @ordered */ @@ -717,7 +649,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.LegitimateInterestImpl Legitimate Interest}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.LegitimateInterestImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getLegitimateInterest() * @generated @@ -728,7 +659,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Base Named Element' reference. * * - * * @generated * @ordered */ @@ -738,7 +668,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of structural features of the 'Legitimate Interest' class. * * - * * @generated * @ordered */ @@ -748,7 +677,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of operations of the 'Legitimate Interest' class. * * - * * @generated * @ordered */ @@ -758,7 +686,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.LegalObligationImpl Legal Obligation}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.LegalObligationImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getLegalObligation() * @generated @@ -769,7 +696,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Base Named Element' reference. * * - * * @generated * @ordered */ @@ -779,7 +705,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of structural features of the 'Legal Obligation' class. * * - * * @generated * @ordered */ @@ -789,7 +714,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of operations of the 'Legal Obligation' class. * * - * * @generated * @ordered */ @@ -799,7 +723,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.VitalInterestImpl Vital Interest}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.VitalInterestImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getVitalInterest() * @generated @@ -810,7 +733,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The feature id for the 'Base Named Element' reference. * * - * * @generated * @ordered */ @@ -820,7 +742,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of structural features of the 'Vital Interest' class. * * - * * @generated * @ordered */ @@ -830,7 +751,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The number of operations of the 'Vital Interest' class. * * - * * @generated * @ordered */ @@ -841,7 +761,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process Process}'. * * - * * @return the meta object for class 'Process'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process * @generated @@ -852,7 +771,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getBase_NamedElement Base Named Element}'. * * - * * @return the meta object for the reference 'Base Named Element'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getBase_NamedElement() * @see #getProcess() @@ -864,7 +782,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference list '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getPersonaldata Personaldata}'. * * - * * @return the meta object for the reference list 'Personaldata'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getPersonaldata() * @see #getProcess() @@ -876,7 +793,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getContributedTo Contributed To}'. * * - * * @return the meta object for the reference 'Contributed To'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getContributedTo() * @see #getProcess() @@ -888,7 +804,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getPerformAContract Perform AContract}'. * * - * * @return the meta object for the reference 'Perform AContract'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getPerformAContract() * @see #getProcess() @@ -900,7 +815,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference list '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getData Data}'. * * - * * @return the meta object for the reference list 'Data'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getData() * @see #getProcess() @@ -912,7 +826,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForPublicInterest Needed For Public Interest}'. * * - * * @return the meta object for the reference 'Needed For Public Interest'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForPublicInterest() * @see #getProcess() @@ -924,7 +837,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForLegimateInterest Needed For Legimate Interest}'. * * - * * @return the meta object for the reference 'Needed For Legimate Interest'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForLegimateInterest() * @see #getProcess() @@ -936,7 +848,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForLegalObligation Needed For Legal Obligation}'. * * - * * @return the meta object for the reference 'Needed For Legal Obligation'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForLegalObligation() * @see #getProcess() @@ -948,7 +859,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForVitalInterest Needed For Vital Interest}'. * * - * * @return the meta object for the reference 'Needed For Vital Interest'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForVitalInterest() * @see #getProcess() @@ -960,7 +870,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData Personal Data}'. * * - * * @return the meta object for class 'Personal Data'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData * @generated @@ -971,7 +880,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference list '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData#getRelatedTo Related To}'. * * - * * @return the meta object for the reference list 'Related To'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData#getRelatedTo() * @see #getPersonalData() @@ -983,7 +891,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData#getResponsible Responsible}'. * * - * * @return the meta object for the reference 'Responsible'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData#getResponsible() * @see #getPersonalData() @@ -995,7 +902,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference list '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData#getProcessedBy Processed By}'. * * - * * @return the meta object for the reference list 'Processed By'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData#getProcessedBy() * @see #getPersonalData() @@ -1007,7 +913,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Data Data}'. * * - * * @return the meta object for class 'Data'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Data * @generated @@ -1018,7 +923,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Data#getBase_NamedElement Base Named Element}'. * * - * * @return the meta object for the reference 'Base Named Element'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Data#getBase_NamedElement() * @see #getData() @@ -1030,7 +934,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject Data Subject}'. * * - * * @return the meta object for class 'Data Subject'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject * @generated @@ -1041,7 +944,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getBase_NamedElement Base Named Element}'. * * - * * @return the meta object for the reference 'Base Named Element'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getBase_NamedElement() * @see #getDataSubject() @@ -1053,7 +955,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference list '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getGivenConsent Given Consent}'. * * - * * @return the meta object for the reference list 'Given Consent'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getGivenConsent() * @see #getDataSubject() @@ -1065,7 +966,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getContract Contract}'. * * - * * @return the meta object for the reference 'Contract'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getContract() * @see #getDataSubject() @@ -1077,7 +977,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference list '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getPersonalData Personal Data}'. * * - * * @return the meta object for the reference list 'Personal Data'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getPersonalData() * @see #getDataSubject() @@ -1089,7 +988,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent Consent}'. * * - * * @return the meta object for class 'Consent'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent * @generated @@ -1100,7 +998,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent#getBase_NamedElement Base Named Element}'. * * - * * @return the meta object for the reference 'Base Named Element'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent#getBase_NamedElement() * @see #getConsent() @@ -1112,7 +1009,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference list '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent#getPurpose Purpose}'. * * - * * @return the meta object for the reference list 'Purpose'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent#getPurpose() * @see #getConsent() @@ -1124,7 +1020,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent#getDatasubject Datasubject}'. * * - * * @return the meta object for the reference 'Datasubject'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent#getDatasubject() * @see #getConsent() @@ -1136,7 +1031,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose Purpose}'. * * - * * @return the meta object for class 'Purpose'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose * @generated @@ -1147,7 +1041,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose#getBase_NamedElement Base Named Element}'. * * - * * @return the meta object for the reference 'Base Named Element'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose#getBase_NamedElement() * @see #getPurpose() @@ -1159,7 +1052,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference list '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose#getProcesses Processes}'. * * - * * @return the meta object for the reference list 'Processes'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose#getProcesses() * @see #getPurpose() @@ -1171,7 +1063,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose#getConsent Consent}'. * * - * * @return the meta object for the reference 'Consent'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose#getConsent() * @see #getPurpose() @@ -1183,7 +1074,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract Contract}'. * * - * * @return the meta object for class 'Contract'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract * @generated @@ -1194,7 +1084,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract#getBase_NamedElement Base Named Element}'. * * - * * @return the meta object for the reference 'Base Named Element'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract#getBase_NamedElement() * @see #getContract() @@ -1206,7 +1095,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference list '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract#getProcess Process}'. * * - * * @return the meta object for the reference list 'Process'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract#getProcess() * @see #getContract() @@ -1218,7 +1106,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract#getDatasubject Datasubject}'. * * - * * @return the meta object for the reference 'Datasubject'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract#getDatasubject() * @see #getContract() @@ -1230,7 +1117,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Controller Controller}'. * * - * * @return the meta object for class 'Controller'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Controller * @generated @@ -1241,7 +1127,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference list '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Controller#getProcessor Processor}'. * * - * * @return the meta object for the reference list 'Processor'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Controller#getProcessor() * @see #getController() @@ -1253,7 +1138,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Controller#getBase_NamedElement Base Named Element}'. * * - * * @return the meta object for the reference 'Base Named Element'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Controller#getBase_NamedElement() * @see #getController() @@ -1265,7 +1149,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference list '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Controller#getPersonalData Personal Data}'. * * - * * @return the meta object for the reference list 'Personal Data'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Controller#getPersonalData() * @see #getController() @@ -1277,7 +1160,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Processor Processor}'. * * - * * @return the meta object for class 'Processor'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Processor * @generated @@ -1288,7 +1170,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference list '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Processor#getProcess Process}'. * * - * * @return the meta object for the reference list 'Process'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Processor#getProcess() * @see #getProcessor() @@ -1300,7 +1181,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Processor#getBase_NamedElement Base Named Element}'. * * - * * @return the meta object for the reference 'Base Named Element'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Processor#getBase_NamedElement() * @see #getProcessor() @@ -1312,7 +1192,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PublicInterest Public Interest}'. * * - * * @return the meta object for class 'Public Interest'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PublicInterest * @generated @@ -1323,7 +1202,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PublicInterest#getBase_NamedElement Base Named Element}'. * * - * * @return the meta object for the reference 'Base Named Element'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PublicInterest#getBase_NamedElement() * @see #getPublicInterest() @@ -1335,7 +1213,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.LegitimateInterest Legitimate Interest}'. * * - * * @return the meta object for class 'Legitimate Interest'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.LegitimateInterest * @generated @@ -1346,7 +1223,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.LegitimateInterest#getBase_NamedElement Base Named Element}'. * * - * * @return the meta object for the reference 'Base Named Element'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.LegitimateInterest#getBase_NamedElement() * @see #getLegitimateInterest() @@ -1358,7 +1234,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.LegalObligation Legal Obligation}'. * * - * * @return the meta object for class 'Legal Obligation'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.LegalObligation * @generated @@ -1369,7 +1244,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.LegalObligation#getBase_NamedElement Base Named Element}'. * * - * * @return the meta object for the reference 'Base Named Element'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.LegalObligation#getBase_NamedElement() * @see #getLegalObligation() @@ -1381,7 +1255,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.VitalInterest Vital Interest}'. * * - * * @return the meta object for class 'Vital Interest'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.VitalInterest * @generated @@ -1392,7 +1265,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.VitalInterest#getBase_NamedElement Base Named Element}'. * * - * * @return the meta object for the reference 'Base Named Element'. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.VitalInterest#getBase_NamedElement() * @see #getVitalInterest() @@ -1404,7 +1276,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * Returns the factory that creates the instances of the model. * * - * * @return the factory that creates the instances of the model. * @generated */ @@ -1414,14 +1285,13 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * * Defines literals for the meta objects that represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each operation of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @generated */ interface Literals { @@ -1429,7 +1299,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl Process}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getProcess() * @generated @@ -1440,7 +1309,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Base Named Element' reference feature. * * - * * @generated */ EReference PROCESS__BASE_NAMED_ELEMENT = eINSTANCE.getProcess_Base_NamedElement(); @@ -1449,7 +1317,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Personaldata' reference list feature. * * - * * @generated */ EReference PROCESS__PERSONALDATA = eINSTANCE.getProcess_Personaldata(); @@ -1458,7 +1325,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Contributed To' reference feature. * * - * * @generated */ EReference PROCESS__CONTRIBUTED_TO = eINSTANCE.getProcess_ContributedTo(); @@ -1467,7 +1333,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Perform AContract' reference feature. * * - * * @generated */ EReference PROCESS__PERFORM_ACONTRACT = eINSTANCE.getProcess_PerformAContract(); @@ -1476,7 +1341,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Data' reference list feature. * * - * * @generated */ EReference PROCESS__DATA = eINSTANCE.getProcess_Data(); @@ -1485,7 +1349,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Needed For Public Interest' reference feature. * * - * * @generated */ EReference PROCESS__NEEDED_FOR_PUBLIC_INTEREST = eINSTANCE.getProcess_NeededForPublicInterest(); @@ -1494,7 +1357,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Needed For Legimate Interest' reference feature. * * - * * @generated */ EReference PROCESS__NEEDED_FOR_LEGIMATE_INTEREST = eINSTANCE.getProcess_NeededForLegimateInterest(); @@ -1503,7 +1365,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Needed For Legal Obligation' reference feature. * * - * * @generated */ EReference PROCESS__NEEDED_FOR_LEGAL_OBLIGATION = eINSTANCE.getProcess_NeededForLegalObligation(); @@ -1512,7 +1373,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Needed For Vital Interest' reference feature. * * - * * @generated */ EReference PROCESS__NEEDED_FOR_VITAL_INTEREST = eINSTANCE.getProcess_NeededForVitalInterest(); @@ -1521,7 +1381,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PersonalDataImpl Personal Data}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PersonalDataImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getPersonalData() * @generated @@ -1532,7 +1391,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Related To' reference list feature. * * - * * @generated */ EReference PERSONAL_DATA__RELATED_TO = eINSTANCE.getPersonalData_RelatedTo(); @@ -1541,7 +1399,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Responsible' reference feature. * * - * * @generated */ EReference PERSONAL_DATA__RESPONSIBLE = eINSTANCE.getPersonalData_Responsible(); @@ -1550,7 +1407,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Processed By' reference list feature. * * - * * @generated */ EReference PERSONAL_DATA__PROCESSED_BY = eINSTANCE.getPersonalData_ProcessedBy(); @@ -1559,7 +1415,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataImpl Data}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getData() * @generated @@ -1570,7 +1425,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Base Named Element' reference feature. * * - * * @generated */ EReference DATA__BASE_NAMED_ELEMENT = eINSTANCE.getData_Base_NamedElement(); @@ -1579,7 +1433,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataSubjectImpl Data Subject}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataSubjectImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getDataSubject() * @generated @@ -1590,7 +1443,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Base Named Element' reference feature. * * - * * @generated */ EReference DATA_SUBJECT__BASE_NAMED_ELEMENT = eINSTANCE.getDataSubject_Base_NamedElement(); @@ -1599,7 +1451,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Given Consent' reference list feature. * * - * * @generated */ EReference DATA_SUBJECT__GIVEN_CONSENT = eINSTANCE.getDataSubject_GivenConsent(); @@ -1608,7 +1459,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Contract' reference feature. * * - * * @generated */ EReference DATA_SUBJECT__CONTRACT = eINSTANCE.getDataSubject_Contract(); @@ -1617,7 +1467,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Personal Data' reference list feature. * * - * * @generated */ EReference DATA_SUBJECT__PERSONAL_DATA = eINSTANCE.getDataSubject_PersonalData(); @@ -1626,7 +1475,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ConsentImpl Consent}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ConsentImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getConsent() * @generated @@ -1637,7 +1485,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Base Named Element' reference feature. * * - * * @generated */ EReference CONSENT__BASE_NAMED_ELEMENT = eINSTANCE.getConsent_Base_NamedElement(); @@ -1646,7 +1493,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Purpose' reference list feature. * * - * * @generated */ EReference CONSENT__PURPOSE = eINSTANCE.getConsent_Purpose(); @@ -1655,7 +1501,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Datasubject' reference feature. * * - * * @generated */ EReference CONSENT__DATASUBJECT = eINSTANCE.getConsent_Datasubject(); @@ -1664,7 +1509,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PurposeImpl Purpose}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PurposeImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getPurpose() * @generated @@ -1675,7 +1519,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Base Named Element' reference feature. * * - * * @generated */ EReference PURPOSE__BASE_NAMED_ELEMENT = eINSTANCE.getPurpose_Base_NamedElement(); @@ -1684,7 +1527,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Processes' reference list feature. * * - * * @generated */ EReference PURPOSE__PROCESSES = eINSTANCE.getPurpose_Processes(); @@ -1693,7 +1535,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Consent' reference feature. * * - * * @generated */ EReference PURPOSE__CONSENT = eINSTANCE.getPurpose_Consent(); @@ -1702,7 +1543,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ContractImpl Contract}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ContractImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getContract() * @generated @@ -1713,7 +1553,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Base Named Element' reference feature. * * - * * @generated */ EReference CONTRACT__BASE_NAMED_ELEMENT = eINSTANCE.getContract_Base_NamedElement(); @@ -1722,7 +1561,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Process' reference list feature. * * - * * @generated */ EReference CONTRACT__PROCESS = eINSTANCE.getContract_Process(); @@ -1731,7 +1569,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Datasubject' reference feature. * * - * * @generated */ EReference CONTRACT__DATASUBJECT = eINSTANCE.getContract_Datasubject(); @@ -1740,7 +1577,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ControllerImpl Controller}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ControllerImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getController() * @generated @@ -1751,7 +1587,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Processor' reference list feature. * * - * * @generated */ EReference CONTROLLER__PROCESSOR = eINSTANCE.getController_Processor(); @@ -1760,7 +1595,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Base Named Element' reference feature. * * - * * @generated */ EReference CONTROLLER__BASE_NAMED_ELEMENT = eINSTANCE.getController_Base_NamedElement(); @@ -1769,7 +1603,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Personal Data' reference list feature. * * - * * @generated */ EReference CONTROLLER__PERSONAL_DATA = eINSTANCE.getController_PersonalData(); @@ -1778,7 +1611,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessorImpl Processor}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessorImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getProcessor() * @generated @@ -1789,7 +1621,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Process' reference list feature. * * - * * @generated */ EReference PROCESSOR__PROCESS = eINSTANCE.getProcessor_Process(); @@ -1798,7 +1629,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Base Named Element' reference feature. * * - * * @generated */ EReference PROCESSOR__BASE_NAMED_ELEMENT = eINSTANCE.getProcessor_Base_NamedElement(); @@ -1807,7 +1637,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PublicInterestImpl Public Interest}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PublicInterestImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getPublicInterest() * @generated @@ -1818,7 +1647,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Base Named Element' reference feature. * * - * * @generated */ EReference PUBLIC_INTEREST__BASE_NAMED_ELEMENT = eINSTANCE.getPublicInterest_Base_NamedElement(); @@ -1827,7 +1655,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.LegitimateInterestImpl Legitimate Interest}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.LegitimateInterestImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getLegitimateInterest() * @generated @@ -1838,7 +1665,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Base Named Element' reference feature. * * - * * @generated */ EReference LEGITIMATE_INTEREST__BASE_NAMED_ELEMENT = eINSTANCE.getLegitimateInterest_Base_NamedElement(); @@ -1847,7 +1673,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.LegalObligationImpl Legal Obligation}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.LegalObligationImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getLegalObligation() * @generated @@ -1858,7 +1683,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Base Named Element' reference feature. * * - * * @generated */ EReference LEGAL_OBLIGATION__BASE_NAMED_ELEMENT = eINSTANCE.getLegalObligation_Base_NamedElement(); @@ -1867,7 +1691,6 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.VitalInterestImpl Vital Interest}' class. * * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.VitalInterestImpl * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.Pdp4engCommonGDPRPackageImpl#getVitalInterest() * @generated @@ -1878,11 +1701,10 @@ public interface Pdp4engCommonGDPRPackage extends EPackage { * The meta object literal for the 'Base Named Element' reference feature. * * - * * @generated */ EReference VITAL_INTEREST__BASE_NAMED_ELEMENT = eINSTANCE.getVitalInterest_Base_NamedElement(); } -} // Pdp4engCommonGDPRPackage +} //Pdp4engCommonGDPRPackage diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/PersonalData.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/PersonalData.java index 35dc8c1..9545867 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/PersonalData.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/PersonalData.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR; @@ -26,9 +26,9 @@ import org.eclipse.emf.common.util.EList; * The following features are supported: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData#getRelatedTo Related To}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData#getResponsible Responsible}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData#getProcessedBy Processed By}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData#getRelatedTo Related To}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData#getResponsible Responsible}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData#getProcessedBy Processed By}
  • *
* * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getPersonalData() @@ -46,7 +46,6 @@ public interface PersonalData extends Data { * there really should be more of a description here... *

* - * * @return the value of the 'Related To' reference list. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getPersonalData_RelatedTo() * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject#getPersonalData @@ -64,7 +63,6 @@ public interface PersonalData extends Data { * there really should be more of a description here... *

* - * * @return the value of the 'Responsible' reference. * @see #setResponsible(Controller) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getPersonalData_Responsible() @@ -78,9 +76,7 @@ public interface PersonalData extends Data { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData#getResponsible Responsible}' reference. * * - * - * @param value - * the new value of the 'Responsible' reference. + * @param value the new value of the 'Responsible' reference. * @see #getResponsible() * @generated */ @@ -96,7 +92,6 @@ public interface PersonalData extends Data { * there really should be more of a description here... *

* - * * @return the value of the 'Processed By' reference list. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getPersonalData_ProcessedBy() * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getPersonaldata diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Process.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Process.java index 7072670..005a6c8 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Process.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Process.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR; @@ -30,15 +30,15 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are supported: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getBase_NamedElement Base Named Element}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getPersonaldata Personaldata}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getContributedTo Contributed To}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getPerformAContract Perform AContract}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getData Data}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForPublicInterest Needed For Public Interest}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForLegimateInterest Needed For Legimate Interest}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForLegalObligation Needed For Legal Obligation}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForVitalInterest Needed For Vital Interest}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getPersonaldata Personaldata}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getContributedTo Contributed To}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getPerformAContract Perform AContract}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getData Data}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForPublicInterest Needed For Public Interest}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForLegimateInterest Needed For Legimate Interest}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForLegalObligation Needed For Legal Obligation}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForVitalInterest Needed For Vital Interest}
  • *
* * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getProcess() @@ -54,7 +54,6 @@ public interface Process extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Base Named Element' reference. * @see #setBase_NamedElement(NamedElement) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getProcess_Base_NamedElement() @@ -67,9 +66,7 @@ public interface Process extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getBase_NamedElement Base Named Element}' reference. * * - * - * @param value - * the new value of the 'Base Named Element' reference. + * @param value the new value of the 'Base Named Element' reference. * @see #getBase_NamedElement() * @generated */ @@ -85,7 +82,6 @@ public interface Process extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Personaldata' reference list. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getProcess_Personaldata() * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData#getProcessedBy @@ -103,7 +99,6 @@ public interface Process extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Contributed To' reference. * @see #setContributedTo(Purpose) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getProcess_ContributedTo() @@ -117,9 +112,7 @@ public interface Process extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getContributedTo Contributed To}' reference. * * - * - * @param value - * the new value of the 'Contributed To' reference. + * @param value the new value of the 'Contributed To' reference. * @see #getContributedTo() * @generated */ @@ -134,7 +127,6 @@ public interface Process extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Perform AContract' reference. * @see #setPerformAContract(Contract) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getProcess_PerformAContract() @@ -148,9 +140,7 @@ public interface Process extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getPerformAContract Perform AContract}' reference. * * - * - * @param value - * the new value of the 'Perform AContract' reference. + * @param value the new value of the 'Perform AContract' reference. * @see #getPerformAContract() * @generated */ @@ -165,7 +155,6 @@ public interface Process extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Data' reference list. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getProcess_Data() * @model ordered="false" @@ -181,7 +170,6 @@ public interface Process extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Needed For Public Interest' reference. * @see #setNeededForPublicInterest(PublicInterest) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getProcess_NeededForPublicInterest() @@ -194,9 +182,7 @@ public interface Process extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForPublicInterest Needed For Public Interest}' reference. * * - * - * @param value - * the new value of the 'Needed For Public Interest' reference. + * @param value the new value of the 'Needed For Public Interest' reference. * @see #getNeededForPublicInterest() * @generated */ @@ -210,7 +196,6 @@ public interface Process extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Needed For Legimate Interest' reference. * @see #setNeededForLegimateInterest(LegitimateInterest) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getProcess_NeededForLegimateInterest() @@ -223,9 +208,7 @@ public interface Process extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForLegimateInterest Needed For Legimate Interest}' reference. * * - * - * @param value - * the new value of the 'Needed For Legimate Interest' reference. + * @param value the new value of the 'Needed For Legimate Interest' reference. * @see #getNeededForLegimateInterest() * @generated */ @@ -239,7 +222,6 @@ public interface Process extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Needed For Legal Obligation' reference. * @see #setNeededForLegalObligation(LegalObligation) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getProcess_NeededForLegalObligation() @@ -252,9 +234,7 @@ public interface Process extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForLegalObligation Needed For Legal Obligation}' reference. * * - * - * @param value - * the new value of the 'Needed For Legal Obligation' reference. + * @param value the new value of the 'Needed For Legal Obligation' reference. * @see #getNeededForLegalObligation() * @generated */ @@ -268,7 +248,6 @@ public interface Process extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Needed For Vital Interest' reference. * @see #setNeededForVitalInterest(VitalInterest) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getProcess_NeededForVitalInterest() @@ -281,9 +260,7 @@ public interface Process extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getNeededForVitalInterest Needed For Vital Interest}' reference. * * - * - * @param value - * the new value of the 'Needed For Vital Interest' reference. + * @param value the new value of the 'Needed For Vital Interest' reference. * @see #getNeededForVitalInterest() * @generated */ diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Processor.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Processor.java index 6d1147d..3f124e5 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Processor.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Processor.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR; @@ -30,8 +30,8 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are supported: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Processor#getProcess Process}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Processor#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Processor#getProcess Process}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Processor#getBase_NamedElement Base Named Element}
  • *
* * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getProcessor() @@ -48,7 +48,6 @@ public interface Processor extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Process' reference list. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getProcessor_Process() * @model required="true" ordered="false" @@ -64,7 +63,6 @@ public interface Processor extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Base Named Element' reference. * @see #setBase_NamedElement(NamedElement) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getProcessor_Base_NamedElement() @@ -77,9 +75,7 @@ public interface Processor extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Processor#getBase_NamedElement Base Named Element}' reference. * * - * - * @param value - * the new value of the 'Base Named Element' reference. + * @param value the new value of the 'Base Named Element' reference. * @see #getBase_NamedElement() * @generated */ diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/PublicInterest.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/PublicInterest.java index b0ed56e..967cff4 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/PublicInterest.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/PublicInterest.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR; @@ -28,7 +28,7 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are supported: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PublicInterest#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PublicInterest#getBase_NamedElement Base Named Element}
  • *
* * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getPublicInterest() @@ -44,7 +44,6 @@ public interface PublicInterest extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Base Named Element' reference. * @see #setBase_NamedElement(NamedElement) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getPublicInterest_Base_NamedElement() @@ -57,9 +56,7 @@ public interface PublicInterest extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PublicInterest#getBase_NamedElement Base Named Element}' reference. * * - * - * @param value - * the new value of the 'Base Named Element' reference. + * @param value the new value of the 'Base Named Element' reference. * @see #getBase_NamedElement() * @generated */ diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Purpose.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Purpose.java index 65b1aa9..a40ccff 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Purpose.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/Purpose.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR; @@ -30,9 +30,9 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are supported: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose#getBase_NamedElement Base Named Element}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose#getProcesses Processes}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose#getConsent Consent}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose#getProcesses Processes}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose#getConsent Consent}
  • *
* * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getPurpose() @@ -48,7 +48,6 @@ public interface Purpose extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Base Named Element' reference. * @see #setBase_NamedElement(NamedElement) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getPurpose_Base_NamedElement() @@ -61,9 +60,7 @@ public interface Purpose extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose#getBase_NamedElement Base Named Element}' reference. * * - * - * @param value - * the new value of the 'Base Named Element' reference. + * @param value the new value of the 'Base Named Element' reference. * @see #getBase_NamedElement() * @generated */ @@ -79,7 +76,6 @@ public interface Purpose extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Processes' reference list. * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getPurpose_Processes() * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process#getContributedTo @@ -97,12 +93,11 @@ public interface Purpose extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Consent' reference. * @see #setConsent(Consent) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getPurpose_Consent() * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent#getPurpose - * @model opposite="purpose" required="true" ordered="false" + * @model opposite="purpose" ordered="false" * @generated */ Consent getConsent(); @@ -111,9 +106,7 @@ public interface Purpose extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose#getConsent Consent}' reference. * * - * - * @param value - * the new value of the 'Consent' reference. + * @param value the new value of the 'Consent' reference. * @see #getConsent() * @generated */ diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/VitalInterest.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/VitalInterest.java index 0b06b98..68d3c23 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/VitalInterest.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/VitalInterest.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR; @@ -28,7 +28,7 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are supported: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.VitalInterest#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.VitalInterest#getBase_NamedElement Base Named Element}
  • *
* * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getVitalInterest() @@ -44,7 +44,6 @@ public interface VitalInterest extends EObject { * there really should be more of a description here... *

* - * * @return the value of the 'Base Named Element' reference. * @see #setBase_NamedElement(NamedElement) * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#getVitalInterest_Base_NamedElement() @@ -57,9 +56,7 @@ public interface VitalInterest extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.VitalInterest#getBase_NamedElement Base Named Element}' reference. * * - * - * @param value - * the new value of the 'Base Named Element' reference. + * @param value the new value of the 'Base Named Element' reference. * @see #getBase_NamedElement() * @generated */ diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ConsentImpl.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ConsentImpl.java index 20f1c9a..5379585 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ConsentImpl.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ConsentImpl.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl; @@ -46,9 +46,9 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are implemented: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ConsentImpl#getBase_NamedElement Base Named Element}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ConsentImpl#getPurpose Purpose}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ConsentImpl#getDatasubject Datasubject}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ConsentImpl#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ConsentImpl#getPurpose Purpose}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ConsentImpl#getDatasubject Datasubject}
  • *
* * @generated @@ -58,7 +58,6 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent * The cached value of the '{@link #getBase_NamedElement() Base Named Element}' reference. * * - * * @see #getBase_NamedElement() * @generated * @ordered @@ -69,7 +68,6 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent * The cached value of the '{@link #getPurpose() Purpose}' reference list. * * - * * @see #getPurpose() * @generated * @ordered @@ -80,7 +78,6 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent * The cached value of the '{@link #getDatasubject() Datasubject}' reference. * * - * * @see #getDatasubject() * @generated * @ordered @@ -90,7 +87,6 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent /** * * - * * @generated */ protected ConsentImpl() { @@ -100,7 +96,6 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent /** * * - * * @generated */ @Override @@ -111,18 +106,16 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent /** * * - * * @generated */ @Override public NamedElement getBase_NamedElement() { if (base_NamedElement != null && base_NamedElement.eIsProxy()) { - InternalEObject oldBase_NamedElement = (InternalEObject) base_NamedElement; - base_NamedElement = (NamedElement) eResolveProxy(oldBase_NamedElement); + InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement; + base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement); if (base_NamedElement != oldBase_NamedElement) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.CONSENT__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } } return base_NamedElement; @@ -131,7 +124,6 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent /** * * - * * @generated */ public NamedElement basicGetBase_NamedElement() { @@ -141,28 +133,25 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent /** * * - * * @generated */ @Override public void setBase_NamedElement(NamedElement newBase_NamedElement) { NamedElement oldBase_NamedElement = base_NamedElement; base_NamedElement = newBase_NamedElement; - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.CONSENT__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } /** * * - * * @generated */ @Override public EList getPurpose() { if (purpose == null) { - purpose = new EObjectWithInverseResolvingEList<>(Purpose.class, this, Pdp4engCommonGDPRPackage.CONSENT__PURPOSE, Pdp4engCommonGDPRPackage.PURPOSE__CONSENT); + purpose = new EObjectWithInverseResolvingEList(Purpose.class, this, Pdp4engCommonGDPRPackage.CONSENT__PURPOSE, Pdp4engCommonGDPRPackage.PURPOSE__CONSENT); } return purpose; } @@ -170,18 +159,16 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent /** * * - * * @generated */ @Override public DataSubject getDatasubject() { if (datasubject != null && datasubject.eIsProxy()) { - InternalEObject oldDatasubject = (InternalEObject) datasubject; - datasubject = (DataSubject) eResolveProxy(oldDatasubject); + InternalEObject oldDatasubject = (InternalEObject)datasubject; + datasubject = (DataSubject)eResolveProxy(oldDatasubject); if (datasubject != oldDatasubject) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT, oldDatasubject, datasubject)); - } } } return datasubject; @@ -190,7 +177,6 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent /** * * - * * @generated */ public DataSubject basicGetDatasubject() { @@ -200,7 +186,6 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent /** * * - * * @generated */ public NotificationChain basicSetDatasubject(DataSubject newDatasubject, NotificationChain msgs) { @@ -208,11 +193,7 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent datasubject = newDatasubject; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT, oldDatasubject, newDatasubject); - if (msgs == null) { - msgs = notification; - } else { - msgs.add(notification); - } + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -220,45 +201,38 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent /** * * - * * @generated */ @Override public void setDatasubject(DataSubject newDatasubject) { if (newDatasubject != datasubject) { NotificationChain msgs = null; - if (datasubject != null) { - msgs = ((InternalEObject) datasubject).eInverseRemove(this, Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT, DataSubject.class, msgs); - } - if (newDatasubject != null) { - msgs = ((InternalEObject) newDatasubject).eInverseAdd(this, Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT, DataSubject.class, msgs); - } + if (datasubject != null) + msgs = ((InternalEObject)datasubject).eInverseRemove(this, Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT, DataSubject.class, msgs); + if (newDatasubject != null) + msgs = ((InternalEObject)newDatasubject).eInverseAdd(this, Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT, DataSubject.class, msgs); msgs = basicSetDatasubject(newDatasubject, msgs); - if (msgs != null) { - msgs.dispatch(); - } - } else if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT, newDatasubject, newDatasubject)); + if (msgs != null) msgs.dispatch(); } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT, newDatasubject, newDatasubject)); } /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONSENT__PURPOSE: - return ((InternalEList) (InternalEList) getPurpose()).basicAdd(otherEnd, msgs); - case Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT: - if (datasubject != null) { - msgs = ((InternalEObject) datasubject).eInverseRemove(this, Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT, DataSubject.class, msgs); - } - return basicSetDatasubject((DataSubject) otherEnd, msgs); + case Pdp4engCommonGDPRPackage.CONSENT__PURPOSE: + return ((InternalEList)(InternalEList)getPurpose()).basicAdd(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT: + if (datasubject != null) + msgs = ((InternalEObject)datasubject).eInverseRemove(this, Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT, DataSubject.class, msgs); + return basicSetDatasubject((DataSubject)otherEnd, msgs); } return super.eInverseAdd(otherEnd, featureID, msgs); } @@ -266,16 +240,15 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONSENT__PURPOSE: - return ((InternalEList) getPurpose()).basicRemove(otherEnd, msgs); - case Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT: - return basicSetDatasubject(null, msgs); + case Pdp4engCommonGDPRPackage.CONSENT__PURPOSE: + return ((InternalEList)getPurpose()).basicRemove(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT: + return basicSetDatasubject(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -283,24 +256,19 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONSENT__BASE_NAMED_ELEMENT: - if (resolve) { - return getBase_NamedElement(); - } - return basicGetBase_NamedElement(); - case Pdp4engCommonGDPRPackage.CONSENT__PURPOSE: - return getPurpose(); - case Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT: - if (resolve) { - return getDatasubject(); - } - return basicGetDatasubject(); + case Pdp4engCommonGDPRPackage.CONSENT__BASE_NAMED_ELEMENT: + if (resolve) return getBase_NamedElement(); + return basicGetBase_NamedElement(); + case Pdp4engCommonGDPRPackage.CONSENT__PURPOSE: + return getPurpose(); + case Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT: + if (resolve) return getDatasubject(); + return basicGetDatasubject(); } return super.eGet(featureID, resolve, coreType); } @@ -308,23 +276,22 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONSENT__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) newValue); - return; - case Pdp4engCommonGDPRPackage.CONSENT__PURPOSE: - getPurpose().clear(); - getPurpose().addAll((Collection) newValue); - return; - case Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT: - setDatasubject((DataSubject) newValue); - return; + case Pdp4engCommonGDPRPackage.CONSENT__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)newValue); + return; + case Pdp4engCommonGDPRPackage.CONSENT__PURPOSE: + getPurpose().clear(); + getPurpose().addAll((Collection)newValue); + return; + case Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT: + setDatasubject((DataSubject)newValue); + return; } super.eSet(featureID, newValue); } @@ -332,21 +299,20 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent /** * * - * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONSENT__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) null); - return; - case Pdp4engCommonGDPRPackage.CONSENT__PURPOSE: - getPurpose().clear(); - return; - case Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT: - setDatasubject((DataSubject) null); - return; + case Pdp4engCommonGDPRPackage.CONSENT__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)null); + return; + case Pdp4engCommonGDPRPackage.CONSENT__PURPOSE: + getPurpose().clear(); + return; + case Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT: + setDatasubject((DataSubject)null); + return; } super.eUnset(featureID); } @@ -354,20 +320,19 @@ public class ConsentImpl extends MinimalEObjectImpl.Container implements Consent /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONSENT__BASE_NAMED_ELEMENT: - return base_NamedElement != null; - case Pdp4engCommonGDPRPackage.CONSENT__PURPOSE: - return purpose != null && !purpose.isEmpty(); - case Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT: - return datasubject != null; + case Pdp4engCommonGDPRPackage.CONSENT__BASE_NAMED_ELEMENT: + return base_NamedElement != null; + case Pdp4engCommonGDPRPackage.CONSENT__PURPOSE: + return purpose != null && !purpose.isEmpty(); + case Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT: + return datasubject != null; } return super.eIsSet(featureID); } -} // ConsentImpl +} //ConsentImpl diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ContractImpl.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ContractImpl.java index 68ed000..539cfd0 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ContractImpl.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ContractImpl.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl; @@ -45,9 +45,9 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are implemented: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ContractImpl#getBase_NamedElement Base Named Element}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ContractImpl#getProcess Process}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ContractImpl#getDatasubject Datasubject}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ContractImpl#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ContractImpl#getProcess Process}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ContractImpl#getDatasubject Datasubject}
  • *
* * @generated @@ -57,7 +57,6 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra * The cached value of the '{@link #getBase_NamedElement() Base Named Element}' reference. * * - * * @see #getBase_NamedElement() * @generated * @ordered @@ -68,7 +67,6 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra * The cached value of the '{@link #getProcess() Process}' reference list. * * - * * @see #getProcess() * @generated * @ordered @@ -79,7 +77,6 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra * The cached value of the '{@link #getDatasubject() Datasubject}' reference. * * - * * @see #getDatasubject() * @generated * @ordered @@ -89,7 +86,6 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra /** * * - * * @generated */ protected ContractImpl() { @@ -99,7 +95,6 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra /** * * - * * @generated */ @Override @@ -110,18 +105,16 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra /** * * - * * @generated */ @Override public NamedElement getBase_NamedElement() { if (base_NamedElement != null && base_NamedElement.eIsProxy()) { - InternalEObject oldBase_NamedElement = (InternalEObject) base_NamedElement; - base_NamedElement = (NamedElement) eResolveProxy(oldBase_NamedElement); + InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement; + base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement); if (base_NamedElement != oldBase_NamedElement) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.CONTRACT__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } } return base_NamedElement; @@ -130,7 +123,6 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra /** * * - * * @generated */ public NamedElement basicGetBase_NamedElement() { @@ -140,29 +132,25 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra /** * * - * * @generated */ @Override public void setBase_NamedElement(NamedElement newBase_NamedElement) { NamedElement oldBase_NamedElement = base_NamedElement; base_NamedElement = newBase_NamedElement; - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.CONTRACT__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } /** * * - * * @generated */ @Override public EList getProcess() { if (process == null) { - process = new EObjectWithInverseResolvingEList<>(org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, this, Pdp4engCommonGDPRPackage.CONTRACT__PROCESS, - Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT); + process = new EObjectWithInverseResolvingEList(org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, this, Pdp4engCommonGDPRPackage.CONTRACT__PROCESS, Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT); } return process; } @@ -170,18 +158,16 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra /** * * - * * @generated */ @Override public DataSubject getDatasubject() { if (datasubject != null && datasubject.eIsProxy()) { - InternalEObject oldDatasubject = (InternalEObject) datasubject; - datasubject = (DataSubject) eResolveProxy(oldDatasubject); + InternalEObject oldDatasubject = (InternalEObject)datasubject; + datasubject = (DataSubject)eResolveProxy(oldDatasubject); if (datasubject != oldDatasubject) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT, oldDatasubject, datasubject)); - } } } return datasubject; @@ -190,7 +176,6 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra /** * * - * * @generated */ public DataSubject basicGetDatasubject() { @@ -200,7 +185,6 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra /** * * - * * @generated */ public NotificationChain basicSetDatasubject(DataSubject newDatasubject, NotificationChain msgs) { @@ -208,11 +192,7 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra datasubject = newDatasubject; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT, oldDatasubject, newDatasubject); - if (msgs == null) { - msgs = notification; - } else { - msgs.add(notification); - } + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -220,45 +200,38 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra /** * * - * * @generated */ @Override public void setDatasubject(DataSubject newDatasubject) { if (newDatasubject != datasubject) { NotificationChain msgs = null; - if (datasubject != null) { - msgs = ((InternalEObject) datasubject).eInverseRemove(this, Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT, DataSubject.class, msgs); - } - if (newDatasubject != null) { - msgs = ((InternalEObject) newDatasubject).eInverseAdd(this, Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT, DataSubject.class, msgs); - } + if (datasubject != null) + msgs = ((InternalEObject)datasubject).eInverseRemove(this, Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT, DataSubject.class, msgs); + if (newDatasubject != null) + msgs = ((InternalEObject)newDatasubject).eInverseAdd(this, Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT, DataSubject.class, msgs); msgs = basicSetDatasubject(newDatasubject, msgs); - if (msgs != null) { - msgs.dispatch(); - } - } else if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT, newDatasubject, newDatasubject)); + if (msgs != null) msgs.dispatch(); } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT, newDatasubject, newDatasubject)); } /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONTRACT__PROCESS: - return ((InternalEList) (InternalEList) getProcess()).basicAdd(otherEnd, msgs); - case Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT: - if (datasubject != null) { - msgs = ((InternalEObject) datasubject).eInverseRemove(this, Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT, DataSubject.class, msgs); - } - return basicSetDatasubject((DataSubject) otherEnd, msgs); + case Pdp4engCommonGDPRPackage.CONTRACT__PROCESS: + return ((InternalEList)(InternalEList)getProcess()).basicAdd(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT: + if (datasubject != null) + msgs = ((InternalEObject)datasubject).eInverseRemove(this, Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT, DataSubject.class, msgs); + return basicSetDatasubject((DataSubject)otherEnd, msgs); } return super.eInverseAdd(otherEnd, featureID, msgs); } @@ -266,16 +239,15 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONTRACT__PROCESS: - return ((InternalEList) getProcess()).basicRemove(otherEnd, msgs); - case Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT: - return basicSetDatasubject(null, msgs); + case Pdp4engCommonGDPRPackage.CONTRACT__PROCESS: + return ((InternalEList)getProcess()).basicRemove(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT: + return basicSetDatasubject(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -283,24 +255,19 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONTRACT__BASE_NAMED_ELEMENT: - if (resolve) { - return getBase_NamedElement(); - } - return basicGetBase_NamedElement(); - case Pdp4engCommonGDPRPackage.CONTRACT__PROCESS: - return getProcess(); - case Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT: - if (resolve) { - return getDatasubject(); - } - return basicGetDatasubject(); + case Pdp4engCommonGDPRPackage.CONTRACT__BASE_NAMED_ELEMENT: + if (resolve) return getBase_NamedElement(); + return basicGetBase_NamedElement(); + case Pdp4engCommonGDPRPackage.CONTRACT__PROCESS: + return getProcess(); + case Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT: + if (resolve) return getDatasubject(); + return basicGetDatasubject(); } return super.eGet(featureID, resolve, coreType); } @@ -308,23 +275,22 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONTRACT__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) newValue); - return; - case Pdp4engCommonGDPRPackage.CONTRACT__PROCESS: - getProcess().clear(); - getProcess().addAll((Collection) newValue); - return; - case Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT: - setDatasubject((DataSubject) newValue); - return; + case Pdp4engCommonGDPRPackage.CONTRACT__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)newValue); + return; + case Pdp4engCommonGDPRPackage.CONTRACT__PROCESS: + getProcess().clear(); + getProcess().addAll((Collection)newValue); + return; + case Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT: + setDatasubject((DataSubject)newValue); + return; } super.eSet(featureID, newValue); } @@ -332,21 +298,20 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra /** * * - * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONTRACT__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) null); - return; - case Pdp4engCommonGDPRPackage.CONTRACT__PROCESS: - getProcess().clear(); - return; - case Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT: - setDatasubject((DataSubject) null); - return; + case Pdp4engCommonGDPRPackage.CONTRACT__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)null); + return; + case Pdp4engCommonGDPRPackage.CONTRACT__PROCESS: + getProcess().clear(); + return; + case Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT: + setDatasubject((DataSubject)null); + return; } super.eUnset(featureID); } @@ -354,20 +319,19 @@ public class ContractImpl extends MinimalEObjectImpl.Container implements Contra /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONTRACT__BASE_NAMED_ELEMENT: - return base_NamedElement != null; - case Pdp4engCommonGDPRPackage.CONTRACT__PROCESS: - return process != null && !process.isEmpty(); - case Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT: - return datasubject != null; + case Pdp4engCommonGDPRPackage.CONTRACT__BASE_NAMED_ELEMENT: + return base_NamedElement != null; + case Pdp4engCommonGDPRPackage.CONTRACT__PROCESS: + return process != null && !process.isEmpty(); + case Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT: + return datasubject != null; } return super.eIsSet(featureID); } -} // ContractImpl +} //ContractImpl diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ControllerImpl.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ControllerImpl.java index 5fd8152..08fac12 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ControllerImpl.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ControllerImpl.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl; @@ -47,9 +47,9 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are implemented: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ControllerImpl#getProcessor Processor}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ControllerImpl#getBase_NamedElement Base Named Element}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ControllerImpl#getPersonalData Personal Data}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ControllerImpl#getProcessor Processor}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ControllerImpl#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ControllerImpl#getPersonalData Personal Data}
  • *
* * @generated @@ -59,7 +59,6 @@ public class ControllerImpl extends MinimalEObjectImpl.Container implements Cont * The cached value of the '{@link #getProcessor() Processor}' reference list. * * - * * @see #getProcessor() * @generated * @ordered @@ -70,7 +69,6 @@ public class ControllerImpl extends MinimalEObjectImpl.Container implements Cont * The cached value of the '{@link #getBase_NamedElement() Base Named Element}' reference. * * - * * @see #getBase_NamedElement() * @generated * @ordered @@ -81,7 +79,6 @@ public class ControllerImpl extends MinimalEObjectImpl.Container implements Cont * The cached value of the '{@link #getPersonalData() Personal Data}' reference list. * * - * * @see #getPersonalData() * @generated * @ordered @@ -91,7 +88,6 @@ public class ControllerImpl extends MinimalEObjectImpl.Container implements Cont /** * * - * * @generated */ protected ControllerImpl() { @@ -101,7 +97,6 @@ public class ControllerImpl extends MinimalEObjectImpl.Container implements Cont /** * * - * * @generated */ @Override @@ -112,13 +107,12 @@ public class ControllerImpl extends MinimalEObjectImpl.Container implements Cont /** * * - * * @generated */ @Override public EList getProcessor() { if (processor == null) { - processor = new EObjectResolvingEList<>(Processor.class, this, Pdp4engCommonGDPRPackage.CONTROLLER__PROCESSOR); + processor = new EObjectResolvingEList(Processor.class, this, Pdp4engCommonGDPRPackage.CONTROLLER__PROCESSOR); } return processor; } @@ -126,18 +120,16 @@ public class ControllerImpl extends MinimalEObjectImpl.Container implements Cont /** * * - * * @generated */ @Override public NamedElement getBase_NamedElement() { if (base_NamedElement != null && base_NamedElement.eIsProxy()) { - InternalEObject oldBase_NamedElement = (InternalEObject) base_NamedElement; - base_NamedElement = (NamedElement) eResolveProxy(oldBase_NamedElement); + InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement; + base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement); if (base_NamedElement != oldBase_NamedElement) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.CONTROLLER__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } } return base_NamedElement; @@ -146,7 +138,6 @@ public class ControllerImpl extends MinimalEObjectImpl.Container implements Cont /** * * - * * @generated */ public NamedElement basicGetBase_NamedElement() { @@ -156,28 +147,25 @@ public class ControllerImpl extends MinimalEObjectImpl.Container implements Cont /** * * - * * @generated */ @Override public void setBase_NamedElement(NamedElement newBase_NamedElement) { NamedElement oldBase_NamedElement = base_NamedElement; base_NamedElement = newBase_NamedElement; - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.CONTROLLER__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } /** * * - * * @generated */ @Override public EList getPersonalData() { if (personalData == null) { - personalData = new EObjectWithInverseResolvingEList<>(PersonalData.class, this, Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA, Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE); + personalData = new EObjectWithInverseResolvingEList(PersonalData.class, this, Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA, Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE); } return personalData; } @@ -185,15 +173,14 @@ public class ControllerImpl extends MinimalEObjectImpl.Container implements Cont /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA: - return ((InternalEList) (InternalEList) getPersonalData()).basicAdd(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA: + return ((InternalEList)(InternalEList)getPersonalData()).basicAdd(otherEnd, msgs); } return super.eInverseAdd(otherEnd, featureID, msgs); } @@ -201,14 +188,13 @@ public class ControllerImpl extends MinimalEObjectImpl.Container implements Cont /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA: - return ((InternalEList) getPersonalData()).basicRemove(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA: + return ((InternalEList)getPersonalData()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -216,21 +202,18 @@ public class ControllerImpl extends MinimalEObjectImpl.Container implements Cont /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONTROLLER__PROCESSOR: - return getProcessor(); - case Pdp4engCommonGDPRPackage.CONTROLLER__BASE_NAMED_ELEMENT: - if (resolve) { - return getBase_NamedElement(); - } - return basicGetBase_NamedElement(); - case Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA: - return getPersonalData(); + case Pdp4engCommonGDPRPackage.CONTROLLER__PROCESSOR: + return getProcessor(); + case Pdp4engCommonGDPRPackage.CONTROLLER__BASE_NAMED_ELEMENT: + if (resolve) return getBase_NamedElement(); + return basicGetBase_NamedElement(); + case Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA: + return getPersonalData(); } return super.eGet(featureID, resolve, coreType); } @@ -238,24 +221,23 @@ public class ControllerImpl extends MinimalEObjectImpl.Container implements Cont /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONTROLLER__PROCESSOR: - getProcessor().clear(); - getProcessor().addAll((Collection) newValue); - return; - case Pdp4engCommonGDPRPackage.CONTROLLER__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) newValue); - return; - case Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA: - getPersonalData().clear(); - getPersonalData().addAll((Collection) newValue); - return; + case Pdp4engCommonGDPRPackage.CONTROLLER__PROCESSOR: + getProcessor().clear(); + getProcessor().addAll((Collection)newValue); + return; + case Pdp4engCommonGDPRPackage.CONTROLLER__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)newValue); + return; + case Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA: + getPersonalData().clear(); + getPersonalData().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -263,21 +245,20 @@ public class ControllerImpl extends MinimalEObjectImpl.Container implements Cont /** * * - * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONTROLLER__PROCESSOR: - getProcessor().clear(); - return; - case Pdp4engCommonGDPRPackage.CONTROLLER__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) null); - return; - case Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA: - getPersonalData().clear(); - return; + case Pdp4engCommonGDPRPackage.CONTROLLER__PROCESSOR: + getProcessor().clear(); + return; + case Pdp4engCommonGDPRPackage.CONTROLLER__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)null); + return; + case Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA: + getPersonalData().clear(); + return; } super.eUnset(featureID); } @@ -285,20 +266,19 @@ public class ControllerImpl extends MinimalEObjectImpl.Container implements Cont /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.CONTROLLER__PROCESSOR: - return processor != null && !processor.isEmpty(); - case Pdp4engCommonGDPRPackage.CONTROLLER__BASE_NAMED_ELEMENT: - return base_NamedElement != null; - case Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA: - return personalData != null && !personalData.isEmpty(); + case Pdp4engCommonGDPRPackage.CONTROLLER__PROCESSOR: + return processor != null && !processor.isEmpty(); + case Pdp4engCommonGDPRPackage.CONTROLLER__BASE_NAMED_ELEMENT: + return base_NamedElement != null; + case Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA: + return personalData != null && !personalData.isEmpty(); } return super.eIsSet(featureID); } -} // ControllerImpl +} //ControllerImpl diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/DataImpl.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/DataImpl.java index 4b3717d..2234634 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/DataImpl.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/DataImpl.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl; @@ -36,7 +36,7 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are implemented: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataImpl#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataImpl#getBase_NamedElement Base Named Element}
  • *
* * @generated @@ -46,7 +46,6 @@ public class DataImpl extends MinimalEObjectImpl.Container implements Data { * The cached value of the '{@link #getBase_NamedElement() Base Named Element}' reference. * * - * * @see #getBase_NamedElement() * @generated * @ordered @@ -56,7 +55,6 @@ public class DataImpl extends MinimalEObjectImpl.Container implements Data { /** * * - * * @generated */ protected DataImpl() { @@ -66,7 +64,6 @@ public class DataImpl extends MinimalEObjectImpl.Container implements Data { /** * * - * * @generated */ @Override @@ -77,18 +74,16 @@ public class DataImpl extends MinimalEObjectImpl.Container implements Data { /** * * - * * @generated */ @Override public NamedElement getBase_NamedElement() { if (base_NamedElement != null && base_NamedElement.eIsProxy()) { - InternalEObject oldBase_NamedElement = (InternalEObject) base_NamedElement; - base_NamedElement = (NamedElement) eResolveProxy(oldBase_NamedElement); + InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement; + base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement); if (base_NamedElement != oldBase_NamedElement) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.DATA__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } } return base_NamedElement; @@ -97,7 +92,6 @@ public class DataImpl extends MinimalEObjectImpl.Container implements Data { /** * * - * * @generated */ public NamedElement basicGetBase_NamedElement() { @@ -107,32 +101,27 @@ public class DataImpl extends MinimalEObjectImpl.Container implements Data { /** * * - * * @generated */ @Override public void setBase_NamedElement(NamedElement newBase_NamedElement) { NamedElement oldBase_NamedElement = base_NamedElement; base_NamedElement = newBase_NamedElement; - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.DATA__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case Pdp4engCommonGDPRPackage.DATA__BASE_NAMED_ELEMENT: - if (resolve) { - return getBase_NamedElement(); - } - return basicGetBase_NamedElement(); + case Pdp4engCommonGDPRPackage.DATA__BASE_NAMED_ELEMENT: + if (resolve) return getBase_NamedElement(); + return basicGetBase_NamedElement(); } return super.eGet(featureID, resolve, coreType); } @@ -140,15 +129,14 @@ public class DataImpl extends MinimalEObjectImpl.Container implements Data { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case Pdp4engCommonGDPRPackage.DATA__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) newValue); - return; + case Pdp4engCommonGDPRPackage.DATA__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)newValue); + return; } super.eSet(featureID, newValue); } @@ -156,15 +144,14 @@ public class DataImpl extends MinimalEObjectImpl.Container implements Data { /** * * - * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.DATA__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) null); - return; + case Pdp4engCommonGDPRPackage.DATA__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)null); + return; } super.eUnset(featureID); } @@ -172,16 +159,15 @@ public class DataImpl extends MinimalEObjectImpl.Container implements Data { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.DATA__BASE_NAMED_ELEMENT: - return base_NamedElement != null; + case Pdp4engCommonGDPRPackage.DATA__BASE_NAMED_ELEMENT: + return base_NamedElement != null; } return super.eIsSet(featureID); } -} // DataImpl +} //DataImpl diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/DataSubjectImpl.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/DataSubjectImpl.java index 5513211..fec4926 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/DataSubjectImpl.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/DataSubjectImpl.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl; @@ -47,10 +47,10 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are implemented: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataSubjectImpl#getBase_NamedElement Base Named Element}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataSubjectImpl#getGivenConsent Given Consent}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataSubjectImpl#getContract Contract}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataSubjectImpl#getPersonalData Personal Data}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataSubjectImpl#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataSubjectImpl#getGivenConsent Given Consent}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataSubjectImpl#getContract Contract}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.DataSubjectImpl#getPersonalData Personal Data}
  • *
* * @generated @@ -60,7 +60,6 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat * The cached value of the '{@link #getBase_NamedElement() Base Named Element}' reference. * * - * * @see #getBase_NamedElement() * @generated * @ordered @@ -71,7 +70,6 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat * The cached value of the '{@link #getGivenConsent() Given Consent}' reference list. * * - * * @see #getGivenConsent() * @generated * @ordered @@ -82,7 +80,6 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat * The cached value of the '{@link #getContract() Contract}' reference. * * - * * @see #getContract() * @generated * @ordered @@ -93,7 +90,6 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat * The cached value of the '{@link #getPersonalData() Personal Data}' reference list. * * - * * @see #getPersonalData() * @generated * @ordered @@ -103,7 +99,6 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat /** * * - * * @generated */ protected DataSubjectImpl() { @@ -113,7 +108,6 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat /** * * - * * @generated */ @Override @@ -124,18 +118,16 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat /** * * - * * @generated */ @Override public NamedElement getBase_NamedElement() { if (base_NamedElement != null && base_NamedElement.eIsProxy()) { - InternalEObject oldBase_NamedElement = (InternalEObject) base_NamedElement; - base_NamedElement = (NamedElement) eResolveProxy(oldBase_NamedElement); + InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement; + base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement); if (base_NamedElement != oldBase_NamedElement) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.DATA_SUBJECT__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } } return base_NamedElement; @@ -144,7 +136,6 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat /** * * - * * @generated */ public NamedElement basicGetBase_NamedElement() { @@ -154,28 +145,25 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat /** * * - * * @generated */ @Override public void setBase_NamedElement(NamedElement newBase_NamedElement) { NamedElement oldBase_NamedElement = base_NamedElement; base_NamedElement = newBase_NamedElement; - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.DATA_SUBJECT__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } /** * * - * * @generated */ @Override public EList getGivenConsent() { if (givenConsent == null) { - givenConsent = new EObjectWithInverseResolvingEList<>(Consent.class, this, Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT, Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT); + givenConsent = new EObjectWithInverseResolvingEList(Consent.class, this, Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT, Pdp4engCommonGDPRPackage.CONSENT__DATASUBJECT); } return givenConsent; } @@ -183,18 +171,16 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat /** * * - * * @generated */ @Override public Contract getContract() { if (contract != null && contract.eIsProxy()) { - InternalEObject oldContract = (InternalEObject) contract; - contract = (Contract) eResolveProxy(oldContract); + InternalEObject oldContract = (InternalEObject)contract; + contract = (Contract)eResolveProxy(oldContract); if (contract != oldContract) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT, oldContract, contract)); - } } } return contract; @@ -203,7 +189,6 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat /** * * - * * @generated */ public Contract basicGetContract() { @@ -213,7 +198,6 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat /** * * - * * @generated */ public NotificationChain basicSetContract(Contract newContract, NotificationChain msgs) { @@ -221,11 +205,7 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat contract = newContract; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT, oldContract, newContract); - if (msgs == null) { - msgs = notification; - } else { - msgs.add(notification); - } + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -233,38 +213,32 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat /** * * - * * @generated */ @Override public void setContract(Contract newContract) { if (newContract != contract) { NotificationChain msgs = null; - if (contract != null) { - msgs = ((InternalEObject) contract).eInverseRemove(this, Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT, Contract.class, msgs); - } - if (newContract != null) { - msgs = ((InternalEObject) newContract).eInverseAdd(this, Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT, Contract.class, msgs); - } + if (contract != null) + msgs = ((InternalEObject)contract).eInverseRemove(this, Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT, Contract.class, msgs); + if (newContract != null) + msgs = ((InternalEObject)newContract).eInverseAdd(this, Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT, Contract.class, msgs); msgs = basicSetContract(newContract, msgs); - if (msgs != null) { - msgs.dispatch(); - } - } else if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT, newContract, newContract)); + if (msgs != null) msgs.dispatch(); } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT, newContract, newContract)); } /** * * - * * @generated */ @Override public EList getPersonalData() { if (personalData == null) { - personalData = new EObjectWithInverseResolvingEList.ManyInverse<>(PersonalData.class, this, Pdp4engCommonGDPRPackage.DATA_SUBJECT__PERSONAL_DATA, Pdp4engCommonGDPRPackage.PERSONAL_DATA__RELATED_TO); + personalData = new EObjectWithInverseResolvingEList.ManyInverse(PersonalData.class, this, Pdp4engCommonGDPRPackage.DATA_SUBJECT__PERSONAL_DATA, Pdp4engCommonGDPRPackage.PERSONAL_DATA__RELATED_TO); } return personalData; } @@ -272,22 +246,20 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT: - return ((InternalEList) (InternalEList) getGivenConsent()).basicAdd(otherEnd, msgs); - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT: - if (contract != null) { - msgs = ((InternalEObject) contract).eInverseRemove(this, Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT, Contract.class, msgs); - } - return basicSetContract((Contract) otherEnd, msgs); - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__PERSONAL_DATA: - return ((InternalEList) (InternalEList) getPersonalData()).basicAdd(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT: + return ((InternalEList)(InternalEList)getGivenConsent()).basicAdd(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT: + if (contract != null) + msgs = ((InternalEObject)contract).eInverseRemove(this, Pdp4engCommonGDPRPackage.CONTRACT__DATASUBJECT, Contract.class, msgs); + return basicSetContract((Contract)otherEnd, msgs); + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__PERSONAL_DATA: + return ((InternalEList)(InternalEList)getPersonalData()).basicAdd(otherEnd, msgs); } return super.eInverseAdd(otherEnd, featureID, msgs); } @@ -295,18 +267,17 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT: - return ((InternalEList) getGivenConsent()).basicRemove(otherEnd, msgs); - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT: - return basicSetContract(null, msgs); - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__PERSONAL_DATA: - return ((InternalEList) getPersonalData()).basicRemove(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT: + return ((InternalEList)getGivenConsent()).basicRemove(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT: + return basicSetContract(null, msgs); + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__PERSONAL_DATA: + return ((InternalEList)getPersonalData()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -314,26 +285,21 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__BASE_NAMED_ELEMENT: - if (resolve) { - return getBase_NamedElement(); - } - return basicGetBase_NamedElement(); - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT: - return getGivenConsent(); - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT: - if (resolve) { - return getContract(); - } - return basicGetContract(); - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__PERSONAL_DATA: - return getPersonalData(); + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__BASE_NAMED_ELEMENT: + if (resolve) return getBase_NamedElement(); + return basicGetBase_NamedElement(); + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT: + return getGivenConsent(); + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT: + if (resolve) return getContract(); + return basicGetContract(); + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__PERSONAL_DATA: + return getPersonalData(); } return super.eGet(featureID, resolve, coreType); } @@ -341,27 +307,26 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) newValue); - return; - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT: - getGivenConsent().clear(); - getGivenConsent().addAll((Collection) newValue); - return; - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT: - setContract((Contract) newValue); - return; - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__PERSONAL_DATA: - getPersonalData().clear(); - getPersonalData().addAll((Collection) newValue); - return; + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)newValue); + return; + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT: + getGivenConsent().clear(); + getGivenConsent().addAll((Collection)newValue); + return; + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT: + setContract((Contract)newValue); + return; + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__PERSONAL_DATA: + getPersonalData().clear(); + getPersonalData().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -369,24 +334,23 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat /** * * - * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) null); - return; - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT: - getGivenConsent().clear(); - return; - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT: - setContract((Contract) null); - return; - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__PERSONAL_DATA: - getPersonalData().clear(); - return; + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)null); + return; + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT: + getGivenConsent().clear(); + return; + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT: + setContract((Contract)null); + return; + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__PERSONAL_DATA: + getPersonalData().clear(); + return; } super.eUnset(featureID); } @@ -394,22 +358,21 @@ public class DataSubjectImpl extends MinimalEObjectImpl.Container implements Dat /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__BASE_NAMED_ELEMENT: - return base_NamedElement != null; - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT: - return givenConsent != null && !givenConsent.isEmpty(); - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT: - return contract != null; - case Pdp4engCommonGDPRPackage.DATA_SUBJECT__PERSONAL_DATA: - return personalData != null && !personalData.isEmpty(); + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__BASE_NAMED_ELEMENT: + return base_NamedElement != null; + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__GIVEN_CONSENT: + return givenConsent != null && !givenConsent.isEmpty(); + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__CONTRACT: + return contract != null; + case Pdp4engCommonGDPRPackage.DATA_SUBJECT__PERSONAL_DATA: + return personalData != null && !personalData.isEmpty(); } return super.eIsSet(featureID); } -} // DataSubjectImpl +} //DataSubjectImpl diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/LegalObligationImpl.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/LegalObligationImpl.java index 6a9f9df..6119351 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/LegalObligationImpl.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/LegalObligationImpl.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl; @@ -36,7 +36,7 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are implemented: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.LegalObligationImpl#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.LegalObligationImpl#getBase_NamedElement Base Named Element}
  • *
* * @generated @@ -46,7 +46,6 @@ public class LegalObligationImpl extends MinimalEObjectImpl.Container implements * The cached value of the '{@link #getBase_NamedElement() Base Named Element}' reference. * * - * * @see #getBase_NamedElement() * @generated * @ordered @@ -56,7 +55,6 @@ public class LegalObligationImpl extends MinimalEObjectImpl.Container implements /** * * - * * @generated */ protected LegalObligationImpl() { @@ -66,7 +64,6 @@ public class LegalObligationImpl extends MinimalEObjectImpl.Container implements /** * * - * * @generated */ @Override @@ -77,18 +74,16 @@ public class LegalObligationImpl extends MinimalEObjectImpl.Container implements /** * * - * * @generated */ @Override public NamedElement getBase_NamedElement() { if (base_NamedElement != null && base_NamedElement.eIsProxy()) { - InternalEObject oldBase_NamedElement = (InternalEObject) base_NamedElement; - base_NamedElement = (NamedElement) eResolveProxy(oldBase_NamedElement); + InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement; + base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement); if (base_NamedElement != oldBase_NamedElement) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.LEGAL_OBLIGATION__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } } return base_NamedElement; @@ -97,7 +92,6 @@ public class LegalObligationImpl extends MinimalEObjectImpl.Container implements /** * * - * * @generated */ public NamedElement basicGetBase_NamedElement() { @@ -107,32 +101,27 @@ public class LegalObligationImpl extends MinimalEObjectImpl.Container implements /** * * - * * @generated */ @Override public void setBase_NamedElement(NamedElement newBase_NamedElement) { NamedElement oldBase_NamedElement = base_NamedElement; base_NamedElement = newBase_NamedElement; - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.LEGAL_OBLIGATION__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case Pdp4engCommonGDPRPackage.LEGAL_OBLIGATION__BASE_NAMED_ELEMENT: - if (resolve) { - return getBase_NamedElement(); - } - return basicGetBase_NamedElement(); + case Pdp4engCommonGDPRPackage.LEGAL_OBLIGATION__BASE_NAMED_ELEMENT: + if (resolve) return getBase_NamedElement(); + return basicGetBase_NamedElement(); } return super.eGet(featureID, resolve, coreType); } @@ -140,15 +129,14 @@ public class LegalObligationImpl extends MinimalEObjectImpl.Container implements /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case Pdp4engCommonGDPRPackage.LEGAL_OBLIGATION__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) newValue); - return; + case Pdp4engCommonGDPRPackage.LEGAL_OBLIGATION__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)newValue); + return; } super.eSet(featureID, newValue); } @@ -156,15 +144,14 @@ public class LegalObligationImpl extends MinimalEObjectImpl.Container implements /** * * - * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.LEGAL_OBLIGATION__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) null); - return; + case Pdp4engCommonGDPRPackage.LEGAL_OBLIGATION__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)null); + return; } super.eUnset(featureID); } @@ -172,16 +159,15 @@ public class LegalObligationImpl extends MinimalEObjectImpl.Container implements /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.LEGAL_OBLIGATION__BASE_NAMED_ELEMENT: - return base_NamedElement != null; + case Pdp4engCommonGDPRPackage.LEGAL_OBLIGATION__BASE_NAMED_ELEMENT: + return base_NamedElement != null; } return super.eIsSet(featureID); } -} // LegalObligationImpl +} //LegalObligationImpl diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/LegitimateInterestImpl.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/LegitimateInterestImpl.java index bc13b18..f940fed 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/LegitimateInterestImpl.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/LegitimateInterestImpl.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl; @@ -36,7 +36,7 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are implemented: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.LegitimateInterestImpl#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.LegitimateInterestImpl#getBase_NamedElement Base Named Element}
  • *
* * @generated @@ -46,7 +46,6 @@ public class LegitimateInterestImpl extends MinimalEObjectImpl.Container impleme * The cached value of the '{@link #getBase_NamedElement() Base Named Element}' reference. * * - * * @see #getBase_NamedElement() * @generated * @ordered @@ -56,7 +55,6 @@ public class LegitimateInterestImpl extends MinimalEObjectImpl.Container impleme /** * * - * * @generated */ protected LegitimateInterestImpl() { @@ -66,7 +64,6 @@ public class LegitimateInterestImpl extends MinimalEObjectImpl.Container impleme /** * * - * * @generated */ @Override @@ -77,18 +74,16 @@ public class LegitimateInterestImpl extends MinimalEObjectImpl.Container impleme /** * * - * * @generated */ @Override public NamedElement getBase_NamedElement() { if (base_NamedElement != null && base_NamedElement.eIsProxy()) { - InternalEObject oldBase_NamedElement = (InternalEObject) base_NamedElement; - base_NamedElement = (NamedElement) eResolveProxy(oldBase_NamedElement); + InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement; + base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement); if (base_NamedElement != oldBase_NamedElement) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.LEGITIMATE_INTEREST__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } } return base_NamedElement; @@ -97,7 +92,6 @@ public class LegitimateInterestImpl extends MinimalEObjectImpl.Container impleme /** * * - * * @generated */ public NamedElement basicGetBase_NamedElement() { @@ -107,32 +101,27 @@ public class LegitimateInterestImpl extends MinimalEObjectImpl.Container impleme /** * * - * * @generated */ @Override public void setBase_NamedElement(NamedElement newBase_NamedElement) { NamedElement oldBase_NamedElement = base_NamedElement; base_NamedElement = newBase_NamedElement; - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.LEGITIMATE_INTEREST__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case Pdp4engCommonGDPRPackage.LEGITIMATE_INTEREST__BASE_NAMED_ELEMENT: - if (resolve) { - return getBase_NamedElement(); - } - return basicGetBase_NamedElement(); + case Pdp4engCommonGDPRPackage.LEGITIMATE_INTEREST__BASE_NAMED_ELEMENT: + if (resolve) return getBase_NamedElement(); + return basicGetBase_NamedElement(); } return super.eGet(featureID, resolve, coreType); } @@ -140,15 +129,14 @@ public class LegitimateInterestImpl extends MinimalEObjectImpl.Container impleme /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case Pdp4engCommonGDPRPackage.LEGITIMATE_INTEREST__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) newValue); - return; + case Pdp4engCommonGDPRPackage.LEGITIMATE_INTEREST__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)newValue); + return; } super.eSet(featureID, newValue); } @@ -156,15 +144,14 @@ public class LegitimateInterestImpl extends MinimalEObjectImpl.Container impleme /** * * - * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.LEGITIMATE_INTEREST__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) null); - return; + case Pdp4engCommonGDPRPackage.LEGITIMATE_INTEREST__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)null); + return; } super.eUnset(featureID); } @@ -172,16 +159,15 @@ public class LegitimateInterestImpl extends MinimalEObjectImpl.Container impleme /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.LEGITIMATE_INTEREST__BASE_NAMED_ELEMENT: - return base_NamedElement != null; + case Pdp4engCommonGDPRPackage.LEGITIMATE_INTEREST__BASE_NAMED_ELEMENT: + return base_NamedElement != null; } return super.eIsSet(featureID); } -} // LegitimateInterestImpl +} //LegitimateInterestImpl diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/Pdp4engCommonGDPRFactoryImpl.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/Pdp4engCommonGDPRFactoryImpl.java index c901c37..004b230 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/Pdp4engCommonGDPRFactoryImpl.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/Pdp4engCommonGDPRFactoryImpl.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl; @@ -42,7 +42,6 @@ import org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.VitalInteres * * An implementation of the model Factory. * - * * @generated */ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4engCommonGDPRFactory { @@ -50,16 +49,16 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en * Creates the default factory implementation. * * - * * @generated */ public static Pdp4engCommonGDPRFactory init() { try { - Pdp4engCommonGDPRFactory thePdp4engCommonGDPRFactory = (Pdp4engCommonGDPRFactory) EPackage.Registry.INSTANCE.getEFactory(Pdp4engCommonGDPRPackage.eNS_URI); + Pdp4engCommonGDPRFactory thePdp4engCommonGDPRFactory = (Pdp4engCommonGDPRFactory)EPackage.Registry.INSTANCE.getEFactory(Pdp4engCommonGDPRPackage.eNS_URI); if (thePdp4engCommonGDPRFactory != null) { return thePdp4engCommonGDPRFactory; } - } catch (Exception exception) { + } + catch (Exception exception) { EcorePlugin.INSTANCE.log(exception); } return new Pdp4engCommonGDPRFactoryImpl(); @@ -69,7 +68,6 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en * Creates an instance of the factory. * * - * * @generated */ public Pdp4engCommonGDPRFactoryImpl() { @@ -79,47 +77,32 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en /** * * - * * @generated */ @Override public EObject create(EClass eClass) { switch (eClass.getClassifierID()) { - case Pdp4engCommonGDPRPackage.PROCESS: - return createProcess(); - case Pdp4engCommonGDPRPackage.PERSONAL_DATA: - return createPersonalData(); - case Pdp4engCommonGDPRPackage.DATA: - return createData(); - case Pdp4engCommonGDPRPackage.DATA_SUBJECT: - return createDataSubject(); - case Pdp4engCommonGDPRPackage.CONSENT: - return createConsent(); - case Pdp4engCommonGDPRPackage.PURPOSE: - return createPurpose(); - case Pdp4engCommonGDPRPackage.CONTRACT: - return createContract(); - case Pdp4engCommonGDPRPackage.CONTROLLER: - return createController(); - case Pdp4engCommonGDPRPackage.PROCESSOR: - return createProcessor(); - case Pdp4engCommonGDPRPackage.PUBLIC_INTEREST: - return createPublicInterest(); - case Pdp4engCommonGDPRPackage.LEGITIMATE_INTEREST: - return createLegitimateInterest(); - case Pdp4engCommonGDPRPackage.LEGAL_OBLIGATION: - return createLegalObligation(); - case Pdp4engCommonGDPRPackage.VITAL_INTEREST: - return createVitalInterest(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + case Pdp4engCommonGDPRPackage.PROCESS: return createProcess(); + case Pdp4engCommonGDPRPackage.PERSONAL_DATA: return createPersonalData(); + case Pdp4engCommonGDPRPackage.DATA: return createData(); + case Pdp4engCommonGDPRPackage.DATA_SUBJECT: return createDataSubject(); + case Pdp4engCommonGDPRPackage.CONSENT: return createConsent(); + case Pdp4engCommonGDPRPackage.PURPOSE: return createPurpose(); + case Pdp4engCommonGDPRPackage.CONTRACT: return createContract(); + case Pdp4engCommonGDPRPackage.CONTROLLER: return createController(); + case Pdp4engCommonGDPRPackage.PROCESSOR: return createProcessor(); + case Pdp4engCommonGDPRPackage.PUBLIC_INTEREST: return createPublicInterest(); + case Pdp4engCommonGDPRPackage.LEGITIMATE_INTEREST: return createLegitimateInterest(); + case Pdp4engCommonGDPRPackage.LEGAL_OBLIGATION: return createLegalObligation(); + case Pdp4engCommonGDPRPackage.VITAL_INTEREST: return createVitalInterest(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); } } /** * * - * * @generated */ @Override @@ -131,7 +114,6 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en /** * * - * * @generated */ @Override @@ -143,7 +125,6 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en /** * * - * * @generated */ @Override @@ -155,7 +136,6 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en /** * * - * * @generated */ @Override @@ -167,7 +147,6 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en /** * * - * * @generated */ @Override @@ -179,7 +158,6 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en /** * * - * * @generated */ @Override @@ -191,7 +169,6 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en /** * * - * * @generated */ @Override @@ -203,7 +180,6 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en /** * * - * * @generated */ @Override @@ -215,7 +191,6 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en /** * * - * * @generated */ @Override @@ -227,7 +202,6 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en /** * * - * * @generated */ @Override @@ -239,7 +213,6 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en /** * * - * * @generated */ @Override @@ -251,7 +224,6 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en /** * * - * * @generated */ @Override @@ -263,7 +235,6 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en /** * * - * * @generated */ @Override @@ -275,18 +246,16 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en /** * * - * * @generated */ @Override public Pdp4engCommonGDPRPackage getPdp4engCommonGDPRPackage() { - return (Pdp4engCommonGDPRPackage) getEPackage(); + return (Pdp4engCommonGDPRPackage)getEPackage(); } /** * * - * * @deprecated * @generated */ @@ -295,4 +264,4 @@ public class Pdp4engCommonGDPRFactoryImpl extends EFactoryImpl implements Pdp4en return Pdp4engCommonGDPRPackage.eINSTANCE; } -} // Pdp4engCommonGDPRFactoryImpl +} //Pdp4engCommonGDPRFactoryImpl diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/Pdp4engCommonGDPRPackageImpl.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/Pdp4engCommonGDPRPackageImpl.java index a6e727c..5cbb104 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/Pdp4engCommonGDPRPackageImpl.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/Pdp4engCommonGDPRPackageImpl.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl; @@ -45,14 +45,12 @@ import org.eclipse.uml2.uml.UMLPackage; * * An implementation of the model Package. * - * * @generated */ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4engCommonGDPRPackage { /** * * - * * @generated */ private EClass processEClass = null; @@ -60,7 +58,6 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ private EClass personalDataEClass = null; @@ -68,7 +65,6 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ private EClass dataEClass = null; @@ -76,7 +72,6 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ private EClass dataSubjectEClass = null; @@ -84,7 +79,6 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ private EClass consentEClass = null; @@ -92,7 +86,6 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ private EClass purposeEClass = null; @@ -100,7 +93,6 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ private EClass contractEClass = null; @@ -108,7 +100,6 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ private EClass controllerEClass = null; @@ -116,7 +107,6 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ private EClass processorEClass = null; @@ -124,7 +114,6 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ private EClass publicInterestEClass = null; @@ -132,7 +121,6 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ private EClass legitimateInterestEClass = null; @@ -140,7 +128,6 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ private EClass legalObligationEClass = null; @@ -148,7 +135,6 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ private EClass vitalInterestEClass = null; @@ -157,14 +143,12 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en * 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 + *

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 org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage#eNS_URI * @see #init() @@ -177,7 +161,6 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ private static boolean isInited = false; @@ -185,25 +168,21 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. * - *

- * This method is used to initialize {@link Pdp4engCommonGDPRPackage#eINSTANCE} when that field is accessed. + *

This method is used to initialize {@link Pdp4engCommonGDPRPackage#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 Pdp4engCommonGDPRPackage init() { - if (isInited) { - return (Pdp4engCommonGDPRPackage) EPackage.Registry.INSTANCE.getEPackage(Pdp4engCommonGDPRPackage.eNS_URI); - } + if (isInited) return (Pdp4engCommonGDPRPackage)EPackage.Registry.INSTANCE.getEPackage(Pdp4engCommonGDPRPackage.eNS_URI); // Obtain or create and register package Object registeredPdp4engCommonGDPRPackage = EPackage.Registry.INSTANCE.get(eNS_URI); - Pdp4engCommonGDPRPackageImpl thePdp4engCommonGDPRPackage = registeredPdp4engCommonGDPRPackage instanceof Pdp4engCommonGDPRPackageImpl ? (Pdp4engCommonGDPRPackageImpl) registeredPdp4engCommonGDPRPackage : new Pdp4engCommonGDPRPackageImpl(); + Pdp4engCommonGDPRPackageImpl thePdp4engCommonGDPRPackage = registeredPdp4engCommonGDPRPackage instanceof Pdp4engCommonGDPRPackageImpl ? (Pdp4engCommonGDPRPackageImpl)registeredPdp4engCommonGDPRPackage : new Pdp4engCommonGDPRPackageImpl(); isInited = true; @@ -229,7 +208,6 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ @Override @@ -240,106 +218,96 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ @Override public EReference getProcess_Base_NamedElement() { - return (EReference) processEClass.getEStructuralFeatures().get(0); + return (EReference)processEClass.getEStructuralFeatures().get(0); } /** * * - * * @generated */ @Override public EReference getProcess_Personaldata() { - return (EReference) processEClass.getEStructuralFeatures().get(1); + return (EReference)processEClass.getEStructuralFeatures().get(1); } /** * * - * * @generated */ @Override public EReference getProcess_ContributedTo() { - return (EReference) processEClass.getEStructuralFeatures().get(2); + return (EReference)processEClass.getEStructuralFeatures().get(2); } /** * * - * * @generated */ @Override public EReference getProcess_PerformAContract() { - return (EReference) processEClass.getEStructuralFeatures().get(3); + return (EReference)processEClass.getEStructuralFeatures().get(3); } /** * * - * * @generated */ @Override public EReference getProcess_Data() { - return (EReference) processEClass.getEStructuralFeatures().get(4); + return (EReference)processEClass.getEStructuralFeatures().get(4); } /** * * - * * @generated */ @Override public EReference getProcess_NeededForPublicInterest() { - return (EReference) processEClass.getEStructuralFeatures().get(5); + return (EReference)processEClass.getEStructuralFeatures().get(5); } /** * * - * * @generated */ @Override public EReference getProcess_NeededForLegimateInterest() { - return (EReference) processEClass.getEStructuralFeatures().get(6); + return (EReference)processEClass.getEStructuralFeatures().get(6); } /** * * - * * @generated */ @Override public EReference getProcess_NeededForLegalObligation() { - return (EReference) processEClass.getEStructuralFeatures().get(7); + return (EReference)processEClass.getEStructuralFeatures().get(7); } /** * * - * * @generated */ @Override public EReference getProcess_NeededForVitalInterest() { - return (EReference) processEClass.getEStructuralFeatures().get(8); + return (EReference)processEClass.getEStructuralFeatures().get(8); } /** * * - * * @generated */ @Override @@ -350,40 +318,36 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ @Override public EReference getPersonalData_RelatedTo() { - return (EReference) personalDataEClass.getEStructuralFeatures().get(0); + return (EReference)personalDataEClass.getEStructuralFeatures().get(0); } /** * * - * * @generated */ @Override public EReference getPersonalData_Responsible() { - return (EReference) personalDataEClass.getEStructuralFeatures().get(1); + return (EReference)personalDataEClass.getEStructuralFeatures().get(1); } /** * * - * * @generated */ @Override public EReference getPersonalData_ProcessedBy() { - return (EReference) personalDataEClass.getEStructuralFeatures().get(2); + return (EReference)personalDataEClass.getEStructuralFeatures().get(2); } /** * * - * * @generated */ @Override @@ -394,18 +358,16 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ @Override public EReference getData_Base_NamedElement() { - return (EReference) dataEClass.getEStructuralFeatures().get(0); + return (EReference)dataEClass.getEStructuralFeatures().get(0); } /** * * - * * @generated */ @Override @@ -416,51 +378,46 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ @Override public EReference getDataSubject_Base_NamedElement() { - return (EReference) dataSubjectEClass.getEStructuralFeatures().get(0); + return (EReference)dataSubjectEClass.getEStructuralFeatures().get(0); } /** * * - * * @generated */ @Override public EReference getDataSubject_GivenConsent() { - return (EReference) dataSubjectEClass.getEStructuralFeatures().get(1); + return (EReference)dataSubjectEClass.getEStructuralFeatures().get(1); } /** * * - * * @generated */ @Override public EReference getDataSubject_Contract() { - return (EReference) dataSubjectEClass.getEStructuralFeatures().get(2); + return (EReference)dataSubjectEClass.getEStructuralFeatures().get(2); } /** * * - * * @generated */ @Override public EReference getDataSubject_PersonalData() { - return (EReference) dataSubjectEClass.getEStructuralFeatures().get(3); + return (EReference)dataSubjectEClass.getEStructuralFeatures().get(3); } /** * * - * * @generated */ @Override @@ -471,40 +428,36 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ @Override public EReference getConsent_Base_NamedElement() { - return (EReference) consentEClass.getEStructuralFeatures().get(0); + return (EReference)consentEClass.getEStructuralFeatures().get(0); } /** * * - * * @generated */ @Override public EReference getConsent_Purpose() { - return (EReference) consentEClass.getEStructuralFeatures().get(1); + return (EReference)consentEClass.getEStructuralFeatures().get(1); } /** * * - * * @generated */ @Override public EReference getConsent_Datasubject() { - return (EReference) consentEClass.getEStructuralFeatures().get(2); + return (EReference)consentEClass.getEStructuralFeatures().get(2); } /** * * - * * @generated */ @Override @@ -515,40 +468,36 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ @Override public EReference getPurpose_Base_NamedElement() { - return (EReference) purposeEClass.getEStructuralFeatures().get(0); + return (EReference)purposeEClass.getEStructuralFeatures().get(0); } /** * * - * * @generated */ @Override public EReference getPurpose_Processes() { - return (EReference) purposeEClass.getEStructuralFeatures().get(1); + return (EReference)purposeEClass.getEStructuralFeatures().get(1); } /** * * - * * @generated */ @Override public EReference getPurpose_Consent() { - return (EReference) purposeEClass.getEStructuralFeatures().get(2); + return (EReference)purposeEClass.getEStructuralFeatures().get(2); } /** * * - * * @generated */ @Override @@ -559,40 +508,36 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ @Override public EReference getContract_Base_NamedElement() { - return (EReference) contractEClass.getEStructuralFeatures().get(0); + return (EReference)contractEClass.getEStructuralFeatures().get(0); } /** * * - * * @generated */ @Override public EReference getContract_Process() { - return (EReference) contractEClass.getEStructuralFeatures().get(1); + return (EReference)contractEClass.getEStructuralFeatures().get(1); } /** * * - * * @generated */ @Override public EReference getContract_Datasubject() { - return (EReference) contractEClass.getEStructuralFeatures().get(2); + return (EReference)contractEClass.getEStructuralFeatures().get(2); } /** * * - * * @generated */ @Override @@ -603,40 +548,36 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ @Override public EReference getController_Processor() { - return (EReference) controllerEClass.getEStructuralFeatures().get(0); + return (EReference)controllerEClass.getEStructuralFeatures().get(0); } /** * * - * * @generated */ @Override public EReference getController_Base_NamedElement() { - return (EReference) controllerEClass.getEStructuralFeatures().get(1); + return (EReference)controllerEClass.getEStructuralFeatures().get(1); } /** * * - * * @generated */ @Override public EReference getController_PersonalData() { - return (EReference) controllerEClass.getEStructuralFeatures().get(2); + return (EReference)controllerEClass.getEStructuralFeatures().get(2); } /** * * - * * @generated */ @Override @@ -647,29 +588,26 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ @Override public EReference getProcessor_Process() { - return (EReference) processorEClass.getEStructuralFeatures().get(0); + return (EReference)processorEClass.getEStructuralFeatures().get(0); } /** * * - * * @generated */ @Override public EReference getProcessor_Base_NamedElement() { - return (EReference) processorEClass.getEStructuralFeatures().get(1); + return (EReference)processorEClass.getEStructuralFeatures().get(1); } /** * * - * * @generated */ @Override @@ -680,18 +618,16 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ @Override public EReference getPublicInterest_Base_NamedElement() { - return (EReference) publicInterestEClass.getEStructuralFeatures().get(0); + return (EReference)publicInterestEClass.getEStructuralFeatures().get(0); } /** * * - * * @generated */ @Override @@ -702,18 +638,16 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ @Override public EReference getLegitimateInterest_Base_NamedElement() { - return (EReference) legitimateInterestEClass.getEStructuralFeatures().get(0); + return (EReference)legitimateInterestEClass.getEStructuralFeatures().get(0); } /** * * - * * @generated */ @Override @@ -724,18 +658,16 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ @Override public EReference getLegalObligation_Base_NamedElement() { - return (EReference) legalObligationEClass.getEStructuralFeatures().get(0); + return (EReference)legalObligationEClass.getEStructuralFeatures().get(0); } /** * * - * * @generated */ @Override @@ -746,45 +678,39 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ @Override public EReference getVitalInterest_Base_NamedElement() { - return (EReference) vitalInterestEClass.getEStructuralFeatures().get(0); + return (EReference)vitalInterestEClass.getEStructuralFeatures().get(0); } /** * * - * * @generated */ @Override public Pdp4engCommonGDPRFactory getPdp4engCommonGDPRFactory() { - return (Pdp4engCommonGDPRFactory) getEFactoryInstance(); + return (Pdp4engCommonGDPRFactory)getEFactoryInstance(); } /** * * - * * @generated */ private boolean isCreated = false; /** - * Creates the meta-model objects for the package. This method is + * 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 (isCreated) { - return; - } + if (isCreated) return; isCreated = true; // Create classes and their features @@ -853,23 +779,19 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en /** * * - * * @generated */ private boolean isInitialized = false; /** - * Complete the initialization of the package and its meta-model. This + * 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 (isInitialized) { - return; - } + if (isInitialized) return; isInitialized = true; // Initialize package @@ -878,7 +800,7 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en setNsURI(eNS_URI); // Obtain other dependent packages - UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); // Create type parameters @@ -889,101 +811,68 @@ public class Pdp4engCommonGDPRPackageImpl extends EPackageImpl implements Pdp4en // Initialize classes, features, and operations; add parameters initEClass(processEClass, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, "Process", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getProcess_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, - !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getProcess_Personaldata(), this.getPersonalData(), this.getPersonalData_ProcessedBy(), "personaldata", null, 0, -1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, - !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getProcess_ContributedTo(), this.getPurpose(), this.getPurpose_Processes(), "contributedTo", null, 1, 1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, - !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getProcess_PerformAContract(), this.getContract(), this.getContract_Process(), "performAContract", null, 0, 1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, - !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getProcess_Data(), this.getData(), null, "data", null, 0, -1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getProcess_NeededForPublicInterest(), this.getPublicInterest(), null, "neededForPublicInterest", null, 0, 1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, - !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getProcess_NeededForLegimateInterest(), this.getLegitimateInterest(), null, "neededForLegimateInterest", null, 0, 1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, - !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getProcess_NeededForLegalObligation(), this.getLegalObligation(), null, "neededForLegalObligation", null, 0, 1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, - !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getProcess_NeededForVitalInterest(), this.getVitalInterest(), null, "neededForVitalInterest", null, 0, 1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, - !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getProcess_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getProcess_Personaldata(), this.getPersonalData(), this.getPersonalData_ProcessedBy(), "personaldata", null, 0, -1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getProcess_ContributedTo(), this.getPurpose(), this.getPurpose_Processes(), "contributedTo", null, 1, 1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getProcess_PerformAContract(), this.getContract(), this.getContract_Process(), "performAContract", null, 0, 1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getProcess_Data(), this.getData(), null, "data", null, 0, -1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getProcess_NeededForPublicInterest(), this.getPublicInterest(), null, "neededForPublicInterest", null, 0, 1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getProcess_NeededForLegimateInterest(), this.getLegitimateInterest(), null, "neededForLegimateInterest", null, 0, 1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getProcess_NeededForLegalObligation(), this.getLegalObligation(), null, "neededForLegalObligation", null, 0, 1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getProcess_NeededForVitalInterest(), this.getVitalInterest(), null, "neededForVitalInterest", null, 0, 1, org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(personalDataEClass, PersonalData.class, "PersonalData", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPersonalData_RelatedTo(), this.getDataSubject(), this.getDataSubject_PersonalData(), "relatedTo", null, 1, -1, PersonalData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getPersonalData_Responsible(), this.getController(), this.getController_PersonalData(), "responsible", null, 1, 1, PersonalData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getPersonalData_ProcessedBy(), this.getProcess(), this.getProcess_Personaldata(), "processedBy", null, 1, -1, PersonalData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, !IS_ORDERED); + initEReference(getPersonalData_RelatedTo(), this.getDataSubject(), this.getDataSubject_PersonalData(), "relatedTo", null, 1, -1, PersonalData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getPersonalData_Responsible(), this.getController(), this.getController_PersonalData(), "responsible", null, 1, 1, PersonalData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getPersonalData_ProcessedBy(), this.getProcess(), this.getProcess_Personaldata(), "processedBy", null, 1, -1, PersonalData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(dataEClass, Data.class, "Data", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getData_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, Data.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, - !IS_ORDERED); + initEReference(getData_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, Data.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(dataSubjectEClass, DataSubject.class, "DataSubject", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getDataSubject_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, DataSubject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, !IS_ORDERED); - initEReference(getDataSubject_GivenConsent(), this.getConsent(), this.getConsent_Datasubject(), "givenConsent", null, 1, -1, DataSubject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, !IS_ORDERED); - initEReference(getDataSubject_Contract(), this.getContract(), this.getContract_Datasubject(), "contract", null, 0, 1, DataSubject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, !IS_ORDERED); - initEReference(getDataSubject_PersonalData(), this.getPersonalData(), this.getPersonalData_RelatedTo(), "personalData", null, 1, -1, DataSubject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getDataSubject_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, DataSubject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getDataSubject_GivenConsent(), this.getConsent(), this.getConsent_Datasubject(), "givenConsent", null, 1, -1, DataSubject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getDataSubject_Contract(), this.getContract(), this.getContract_Datasubject(), "contract", null, 0, 1, DataSubject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getDataSubject_PersonalData(), this.getPersonalData(), this.getPersonalData_RelatedTo(), "personalData", null, 1, -1, DataSubject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(consentEClass, Consent.class, "Consent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getConsent_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, Consent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, - !IS_ORDERED); - initEReference(getConsent_Purpose(), this.getPurpose(), this.getPurpose_Consent(), "purpose", null, 1, -1, Consent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, - !IS_ORDERED); - initEReference(getConsent_Datasubject(), this.getDataSubject(), this.getDataSubject_GivenConsent(), "datasubject", null, 1, 1, Consent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, !IS_ORDERED); + initEReference(getConsent_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, Consent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getConsent_Purpose(), this.getPurpose(), this.getPurpose_Consent(), "purpose", null, 1, -1, Consent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getConsent_Datasubject(), this.getDataSubject(), this.getDataSubject_GivenConsent(), "datasubject", null, 1, 1, Consent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(purposeEClass, Purpose.class, "Purpose", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPurpose_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, Purpose.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, - !IS_ORDERED); - initEReference(getPurpose_Processes(), this.getProcess(), this.getProcess_ContributedTo(), "processes", null, 1, -1, Purpose.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, - !IS_ORDERED); - initEReference(getPurpose_Consent(), this.getConsent(), this.getConsent_Purpose(), "consent", null, 1, 1, Purpose.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, - !IS_ORDERED); + initEReference(getPurpose_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, Purpose.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getPurpose_Processes(), this.getProcess(), this.getProcess_ContributedTo(), "processes", null, 1, -1, Purpose.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getPurpose_Consent(), this.getConsent(), this.getConsent_Purpose(), "consent", null, 0, 1, Purpose.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(contractEClass, Contract.class, "Contract", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getContract_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, Contract.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, !IS_ORDERED); - initEReference(getContract_Process(), this.getProcess(), this.getProcess_PerformAContract(), "process", null, 1, -1, Contract.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, - !IS_ORDERED); - initEReference(getContract_Datasubject(), this.getDataSubject(), this.getDataSubject_Contract(), "datasubject", null, 1, 1, Contract.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, !IS_ORDERED); + initEReference(getContract_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, Contract.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getContract_Process(), this.getProcess(), this.getProcess_PerformAContract(), "process", null, 1, -1, Contract.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getContract_Datasubject(), this.getDataSubject(), this.getDataSubject_Contract(), "datasubject", null, 1, 1, Contract.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(controllerEClass, Controller.class, "Controller", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getController_Processor(), this.getProcessor(), null, "processor", null, 1, -1, Controller.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getController_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, Controller.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, !IS_ORDERED); - initEReference(getController_PersonalData(), this.getPersonalData(), this.getPersonalData_Responsible(), "personalData", null, 0, -1, Controller.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getController_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, Controller.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getController_PersonalData(), this.getPersonalData(), this.getPersonalData_Responsible(), "personalData", null, 0, -1, Controller.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(processorEClass, Processor.class, "Processor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getProcessor_Process(), this.getProcess(), null, "process", null, 1, -1, Processor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getProcessor_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, Processor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, !IS_ORDERED); + initEReference(getProcessor_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, Processor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(publicInterestEClass, PublicInterest.class, "PublicInterest", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPublicInterest_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, PublicInterest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getPublicInterest_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, PublicInterest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(legitimateInterestEClass, LegitimateInterest.class, "LegitimateInterest", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getLegitimateInterest_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, LegitimateInterest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getLegitimateInterest_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, LegitimateInterest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(legalObligationEClass, LegalObligation.class, "LegalObligation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getLegalObligation_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, LegalObligation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getLegalObligation_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, LegalObligation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(vitalInterestEClass, VitalInterest.class, "VitalInterest", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getVitalInterest_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, VitalInterest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, !IS_ORDERED); + initEReference(getVitalInterest_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 0, 1, VitalInterest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); // Create resource createResource(eNS_URI); } -} // Pdp4engCommonGDPRPackageImpl +} //Pdp4engCommonGDPRPackageImpl diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/PersonalDataImpl.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/PersonalDataImpl.java index d8ab951..8a8e945 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/PersonalDataImpl.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/PersonalDataImpl.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl; @@ -43,9 +43,9 @@ import org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData * The following features are implemented: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PersonalDataImpl#getRelatedTo Related To}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PersonalDataImpl#getResponsible Responsible}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PersonalDataImpl#getProcessedBy Processed By}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PersonalDataImpl#getRelatedTo Related To}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PersonalDataImpl#getResponsible Responsible}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PersonalDataImpl#getProcessedBy Processed By}
  • *
* * @generated @@ -55,7 +55,6 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { * The cached value of the '{@link #getRelatedTo() Related To}' reference list. * * - * * @see #getRelatedTo() * @generated * @ordered @@ -66,7 +65,6 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { * The cached value of the '{@link #getResponsible() Responsible}' reference. * * - * * @see #getResponsible() * @generated * @ordered @@ -77,7 +75,6 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { * The cached value of the '{@link #getProcessedBy() Processed By}' reference list. * * - * * @see #getProcessedBy() * @generated * @ordered @@ -87,7 +84,6 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { /** * * - * * @generated */ protected PersonalDataImpl() { @@ -97,7 +93,6 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { /** * * - * * @generated */ @Override @@ -108,13 +103,12 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { /** * * - * * @generated */ @Override public EList getRelatedTo() { if (relatedTo == null) { - relatedTo = new EObjectWithInverseResolvingEList.ManyInverse<>(DataSubject.class, this, Pdp4engCommonGDPRPackage.PERSONAL_DATA__RELATED_TO, Pdp4engCommonGDPRPackage.DATA_SUBJECT__PERSONAL_DATA); + relatedTo = new EObjectWithInverseResolvingEList.ManyInverse(DataSubject.class, this, Pdp4engCommonGDPRPackage.PERSONAL_DATA__RELATED_TO, Pdp4engCommonGDPRPackage.DATA_SUBJECT__PERSONAL_DATA); } return relatedTo; } @@ -122,18 +116,16 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { /** * * - * * @generated */ @Override public Controller getResponsible() { if (responsible != null && responsible.eIsProxy()) { - InternalEObject oldResponsible = (InternalEObject) responsible; - responsible = (Controller) eResolveProxy(oldResponsible); + InternalEObject oldResponsible = (InternalEObject)responsible; + responsible = (Controller)eResolveProxy(oldResponsible); if (responsible != oldResponsible) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE, oldResponsible, responsible)); - } } } return responsible; @@ -142,7 +134,6 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { /** * * - * * @generated */ public Controller basicGetResponsible() { @@ -152,7 +143,6 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { /** * * - * * @generated */ public NotificationChain basicSetResponsible(Controller newResponsible, NotificationChain msgs) { @@ -160,11 +150,7 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { responsible = newResponsible; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE, oldResponsible, newResponsible); - if (msgs == null) { - msgs = notification; - } else { - msgs.add(notification); - } + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -172,39 +158,32 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { /** * * - * * @generated */ @Override public void setResponsible(Controller newResponsible) { if (newResponsible != responsible) { NotificationChain msgs = null; - if (responsible != null) { - msgs = ((InternalEObject) responsible).eInverseRemove(this, Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA, Controller.class, msgs); - } - if (newResponsible != null) { - msgs = ((InternalEObject) newResponsible).eInverseAdd(this, Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA, Controller.class, msgs); - } + if (responsible != null) + msgs = ((InternalEObject)responsible).eInverseRemove(this, Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA, Controller.class, msgs); + if (newResponsible != null) + msgs = ((InternalEObject)newResponsible).eInverseAdd(this, Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA, Controller.class, msgs); msgs = basicSetResponsible(newResponsible, msgs); - if (msgs != null) { - msgs.dispatch(); - } - } else if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE, newResponsible, newResponsible)); + if (msgs != null) msgs.dispatch(); } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE, newResponsible, newResponsible)); } /** * * - * * @generated */ @Override public EList getProcessedBy() { if (processedBy == null) { - processedBy = new EObjectWithInverseResolvingEList.ManyInverse<>(org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, this, - Pdp4engCommonGDPRPackage.PERSONAL_DATA__PROCESSED_BY, Pdp4engCommonGDPRPackage.PROCESS__PERSONALDATA); + processedBy = new EObjectWithInverseResolvingEList.ManyInverse(org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, this, Pdp4engCommonGDPRPackage.PERSONAL_DATA__PROCESSED_BY, Pdp4engCommonGDPRPackage.PROCESS__PERSONALDATA); } return processedBy; } @@ -212,22 +191,20 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RELATED_TO: - return ((InternalEList) (InternalEList) getRelatedTo()).basicAdd(otherEnd, msgs); - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE: - if (responsible != null) { - msgs = ((InternalEObject) responsible).eInverseRemove(this, Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA, Controller.class, msgs); - } - return basicSetResponsible((Controller) otherEnd, msgs); - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__PROCESSED_BY: - return ((InternalEList) (InternalEList) getProcessedBy()).basicAdd(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RELATED_TO: + return ((InternalEList)(InternalEList)getRelatedTo()).basicAdd(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE: + if (responsible != null) + msgs = ((InternalEObject)responsible).eInverseRemove(this, Pdp4engCommonGDPRPackage.CONTROLLER__PERSONAL_DATA, Controller.class, msgs); + return basicSetResponsible((Controller)otherEnd, msgs); + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__PROCESSED_BY: + return ((InternalEList)(InternalEList)getProcessedBy()).basicAdd(otherEnd, msgs); } return super.eInverseAdd(otherEnd, featureID, msgs); } @@ -235,18 +212,17 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RELATED_TO: - return ((InternalEList) getRelatedTo()).basicRemove(otherEnd, msgs); - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE: - return basicSetResponsible(null, msgs); - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__PROCESSED_BY: - return ((InternalEList) getProcessedBy()).basicRemove(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RELATED_TO: + return ((InternalEList)getRelatedTo()).basicRemove(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE: + return basicSetResponsible(null, msgs); + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__PROCESSED_BY: + return ((InternalEList)getProcessedBy()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -254,21 +230,18 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RELATED_TO: - return getRelatedTo(); - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE: - if (resolve) { - return getResponsible(); - } - return basicGetResponsible(); - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__PROCESSED_BY: - return getProcessedBy(); + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RELATED_TO: + return getRelatedTo(); + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE: + if (resolve) return getResponsible(); + return basicGetResponsible(); + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__PROCESSED_BY: + return getProcessedBy(); } return super.eGet(featureID, resolve, coreType); } @@ -276,24 +249,23 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RELATED_TO: - getRelatedTo().clear(); - getRelatedTo().addAll((Collection) newValue); - return; - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE: - setResponsible((Controller) newValue); - return; - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__PROCESSED_BY: - getProcessedBy().clear(); - getProcessedBy().addAll((Collection) newValue); - return; + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RELATED_TO: + getRelatedTo().clear(); + getRelatedTo().addAll((Collection)newValue); + return; + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE: + setResponsible((Controller)newValue); + return; + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__PROCESSED_BY: + getProcessedBy().clear(); + getProcessedBy().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -301,21 +273,20 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { /** * * - * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RELATED_TO: - getRelatedTo().clear(); - return; - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE: - setResponsible((Controller) null); - return; - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__PROCESSED_BY: - getProcessedBy().clear(); - return; + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RELATED_TO: + getRelatedTo().clear(); + return; + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE: + setResponsible((Controller)null); + return; + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__PROCESSED_BY: + getProcessedBy().clear(); + return; } super.eUnset(featureID); } @@ -323,20 +294,19 @@ public class PersonalDataImpl extends DataImpl implements PersonalData { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RELATED_TO: - return relatedTo != null && !relatedTo.isEmpty(); - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE: - return responsible != null; - case Pdp4engCommonGDPRPackage.PERSONAL_DATA__PROCESSED_BY: - return processedBy != null && !processedBy.isEmpty(); + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RELATED_TO: + return relatedTo != null && !relatedTo.isEmpty(); + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__RESPONSIBLE: + return responsible != null; + case Pdp4engCommonGDPRPackage.PERSONAL_DATA__PROCESSED_BY: + return processedBy != null && !processedBy.isEmpty(); } return super.eIsSet(featureID); } -} // PersonalDataImpl +} //PersonalDataImpl diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ProcessImpl.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ProcessImpl.java index 0264842..1eea739 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ProcessImpl.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ProcessImpl.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl; @@ -52,15 +52,15 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are implemented: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getBase_NamedElement Base Named Element}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getPersonaldata Personaldata}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getContributedTo Contributed To}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getPerformAContract Perform AContract}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getData Data}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getNeededForPublicInterest Needed For Public Interest}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getNeededForLegimateInterest Needed For Legimate Interest}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getNeededForLegalObligation Needed For Legal Obligation}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getNeededForVitalInterest Needed For Vital Interest}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getPersonaldata Personaldata}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getContributedTo Contributed To}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getPerformAContract Perform AContract}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getData Data}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getNeededForPublicInterest Needed For Public Interest}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getNeededForLegimateInterest Needed For Legimate Interest}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getNeededForLegalObligation Needed For Legal Obligation}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessImpl#getNeededForVitalInterest Needed For Vital Interest}
  • *
* * @generated @@ -70,7 +70,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl * The cached value of the '{@link #getBase_NamedElement() Base Named Element}' reference. * * - * * @see #getBase_NamedElement() * @generated * @ordered @@ -81,7 +80,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl * The cached value of the '{@link #getPersonaldata() Personaldata}' reference list. * * - * * @see #getPersonaldata() * @generated * @ordered @@ -92,7 +90,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl * The cached value of the '{@link #getContributedTo() Contributed To}' reference. * * - * * @see #getContributedTo() * @generated * @ordered @@ -103,7 +100,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl * The cached value of the '{@link #getPerformAContract() Perform AContract}' reference. * * - * * @see #getPerformAContract() * @generated * @ordered @@ -114,7 +110,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl * The cached value of the '{@link #getData() Data}' reference list. * * - * * @see #getData() * @generated * @ordered @@ -125,7 +120,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl * The cached value of the '{@link #getNeededForPublicInterest() Needed For Public Interest}' reference. * * - * * @see #getNeededForPublicInterest() * @generated * @ordered @@ -136,7 +130,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl * The cached value of the '{@link #getNeededForLegimateInterest() Needed For Legimate Interest}' reference. * * - * * @see #getNeededForLegimateInterest() * @generated * @ordered @@ -147,7 +140,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl * The cached value of the '{@link #getNeededForLegalObligation() Needed For Legal Obligation}' reference. * * - * * @see #getNeededForLegalObligation() * @generated * @ordered @@ -158,7 +150,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl * The cached value of the '{@link #getNeededForVitalInterest() Needed For Vital Interest}' reference. * * - * * @see #getNeededForVitalInterest() * @generated * @ordered @@ -168,7 +159,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ protected ProcessImpl() { @@ -178,7 +168,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ @Override @@ -189,18 +178,16 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ @Override public NamedElement getBase_NamedElement() { if (base_NamedElement != null && base_NamedElement.eIsProxy()) { - InternalEObject oldBase_NamedElement = (InternalEObject) base_NamedElement; - base_NamedElement = (NamedElement) eResolveProxy(oldBase_NamedElement); + InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement; + base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement); if (base_NamedElement != oldBase_NamedElement) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.PROCESS__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } } return base_NamedElement; @@ -209,7 +196,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ public NamedElement basicGetBase_NamedElement() { @@ -219,28 +205,25 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ @Override public void setBase_NamedElement(NamedElement newBase_NamedElement) { NamedElement oldBase_NamedElement = base_NamedElement; base_NamedElement = newBase_NamedElement; - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PROCESS__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } /** * * - * * @generated */ @Override public EList getPersonaldata() { if (personaldata == null) { - personaldata = new EObjectWithInverseResolvingEList.ManyInverse<>(PersonalData.class, this, Pdp4engCommonGDPRPackage.PROCESS__PERSONALDATA, Pdp4engCommonGDPRPackage.PERSONAL_DATA__PROCESSED_BY); + personaldata = new EObjectWithInverseResolvingEList.ManyInverse(PersonalData.class, this, Pdp4engCommonGDPRPackage.PROCESS__PERSONALDATA, Pdp4engCommonGDPRPackage.PERSONAL_DATA__PROCESSED_BY); } return personaldata; } @@ -248,18 +231,16 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ @Override public Purpose getContributedTo() { if (contributedTo != null && contributedTo.eIsProxy()) { - InternalEObject oldContributedTo = (InternalEObject) contributedTo; - contributedTo = (Purpose) eResolveProxy(oldContributedTo); + InternalEObject oldContributedTo = (InternalEObject)contributedTo; + contributedTo = (Purpose)eResolveProxy(oldContributedTo); if (contributedTo != oldContributedTo) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO, oldContributedTo, contributedTo)); - } } } return contributedTo; @@ -268,7 +249,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ public Purpose basicGetContributedTo() { @@ -278,7 +258,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ public NotificationChain basicSetContributedTo(Purpose newContributedTo, NotificationChain msgs) { @@ -286,11 +265,7 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl contributedTo = newContributedTo; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO, oldContributedTo, newContributedTo); - if (msgs == null) { - msgs = notification; - } else { - msgs.add(notification); - } + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -298,43 +273,36 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ @Override public void setContributedTo(Purpose newContributedTo) { if (newContributedTo != contributedTo) { NotificationChain msgs = null; - if (contributedTo != null) { - msgs = ((InternalEObject) contributedTo).eInverseRemove(this, Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES, Purpose.class, msgs); - } - if (newContributedTo != null) { - msgs = ((InternalEObject) newContributedTo).eInverseAdd(this, Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES, Purpose.class, msgs); - } + if (contributedTo != null) + msgs = ((InternalEObject)contributedTo).eInverseRemove(this, Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES, Purpose.class, msgs); + if (newContributedTo != null) + msgs = ((InternalEObject)newContributedTo).eInverseAdd(this, Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES, Purpose.class, msgs); msgs = basicSetContributedTo(newContributedTo, msgs); - if (msgs != null) { - msgs.dispatch(); - } - } else if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO, newContributedTo, newContributedTo)); + if (msgs != null) msgs.dispatch(); } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO, newContributedTo, newContributedTo)); } /** * * - * * @generated */ @Override public Contract getPerformAContract() { if (performAContract != null && performAContract.eIsProxy()) { - InternalEObject oldPerformAContract = (InternalEObject) performAContract; - performAContract = (Contract) eResolveProxy(oldPerformAContract); + InternalEObject oldPerformAContract = (InternalEObject)performAContract; + performAContract = (Contract)eResolveProxy(oldPerformAContract); if (performAContract != oldPerformAContract) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT, oldPerformAContract, performAContract)); - } } } return performAContract; @@ -343,7 +311,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ public Contract basicGetPerformAContract() { @@ -353,7 +320,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ public NotificationChain basicSetPerformAContract(Contract newPerformAContract, NotificationChain msgs) { @@ -361,11 +327,7 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl performAContract = newPerformAContract; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT, oldPerformAContract, newPerformAContract); - if (msgs == null) { - msgs = notification; - } else { - msgs.add(notification); - } + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -373,38 +335,32 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ @Override public void setPerformAContract(Contract newPerformAContract) { if (newPerformAContract != performAContract) { NotificationChain msgs = null; - if (performAContract != null) { - msgs = ((InternalEObject) performAContract).eInverseRemove(this, Pdp4engCommonGDPRPackage.CONTRACT__PROCESS, Contract.class, msgs); - } - if (newPerformAContract != null) { - msgs = ((InternalEObject) newPerformAContract).eInverseAdd(this, Pdp4engCommonGDPRPackage.CONTRACT__PROCESS, Contract.class, msgs); - } + if (performAContract != null) + msgs = ((InternalEObject)performAContract).eInverseRemove(this, Pdp4engCommonGDPRPackage.CONTRACT__PROCESS, Contract.class, msgs); + if (newPerformAContract != null) + msgs = ((InternalEObject)newPerformAContract).eInverseAdd(this, Pdp4engCommonGDPRPackage.CONTRACT__PROCESS, Contract.class, msgs); msgs = basicSetPerformAContract(newPerformAContract, msgs); - if (msgs != null) { - msgs.dispatch(); - } - } else if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT, newPerformAContract, newPerformAContract)); + if (msgs != null) msgs.dispatch(); } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT, newPerformAContract, newPerformAContract)); } /** * * - * * @generated */ @Override public EList getData() { if (data == null) { - data = new EObjectResolvingEList<>(Data.class, this, Pdp4engCommonGDPRPackage.PROCESS__DATA); + data = new EObjectResolvingEList(Data.class, this, Pdp4engCommonGDPRPackage.PROCESS__DATA); } return data; } @@ -412,18 +368,16 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ @Override public PublicInterest getNeededForPublicInterest() { if (neededForPublicInterest != null && neededForPublicInterest.eIsProxy()) { - InternalEObject oldNeededForPublicInterest = (InternalEObject) neededForPublicInterest; - neededForPublicInterest = (PublicInterest) eResolveProxy(oldNeededForPublicInterest); + InternalEObject oldNeededForPublicInterest = (InternalEObject)neededForPublicInterest; + neededForPublicInterest = (PublicInterest)eResolveProxy(oldNeededForPublicInterest); if (neededForPublicInterest != oldNeededForPublicInterest) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_PUBLIC_INTEREST, oldNeededForPublicInterest, neededForPublicInterest)); - } } } return neededForPublicInterest; @@ -432,7 +386,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ public PublicInterest basicGetNeededForPublicInterest() { @@ -442,33 +395,29 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ @Override public void setNeededForPublicInterest(PublicInterest newNeededForPublicInterest) { PublicInterest oldNeededForPublicInterest = neededForPublicInterest; neededForPublicInterest = newNeededForPublicInterest; - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_PUBLIC_INTEREST, oldNeededForPublicInterest, neededForPublicInterest)); - } } /** * * - * * @generated */ @Override public LegitimateInterest getNeededForLegimateInterest() { if (neededForLegimateInterest != null && neededForLegimateInterest.eIsProxy()) { - InternalEObject oldNeededForLegimateInterest = (InternalEObject) neededForLegimateInterest; - neededForLegimateInterest = (LegitimateInterest) eResolveProxy(oldNeededForLegimateInterest); + InternalEObject oldNeededForLegimateInterest = (InternalEObject)neededForLegimateInterest; + neededForLegimateInterest = (LegitimateInterest)eResolveProxy(oldNeededForLegimateInterest); if (neededForLegimateInterest != oldNeededForLegimateInterest) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGIMATE_INTEREST, oldNeededForLegimateInterest, neededForLegimateInterest)); - } } } return neededForLegimateInterest; @@ -477,7 +426,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ public LegitimateInterest basicGetNeededForLegimateInterest() { @@ -487,33 +435,29 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ @Override public void setNeededForLegimateInterest(LegitimateInterest newNeededForLegimateInterest) { LegitimateInterest oldNeededForLegimateInterest = neededForLegimateInterest; neededForLegimateInterest = newNeededForLegimateInterest; - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGIMATE_INTEREST, oldNeededForLegimateInterest, neededForLegimateInterest)); - } } /** * * - * * @generated */ @Override public LegalObligation getNeededForLegalObligation() { if (neededForLegalObligation != null && neededForLegalObligation.eIsProxy()) { - InternalEObject oldNeededForLegalObligation = (InternalEObject) neededForLegalObligation; - neededForLegalObligation = (LegalObligation) eResolveProxy(oldNeededForLegalObligation); + InternalEObject oldNeededForLegalObligation = (InternalEObject)neededForLegalObligation; + neededForLegalObligation = (LegalObligation)eResolveProxy(oldNeededForLegalObligation); if (neededForLegalObligation != oldNeededForLegalObligation) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGAL_OBLIGATION, oldNeededForLegalObligation, neededForLegalObligation)); - } } } return neededForLegalObligation; @@ -522,7 +466,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ public LegalObligation basicGetNeededForLegalObligation() { @@ -532,33 +475,29 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ @Override public void setNeededForLegalObligation(LegalObligation newNeededForLegalObligation) { LegalObligation oldNeededForLegalObligation = neededForLegalObligation; neededForLegalObligation = newNeededForLegalObligation; - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGAL_OBLIGATION, oldNeededForLegalObligation, neededForLegalObligation)); - } } /** * * - * * @generated */ @Override public VitalInterest getNeededForVitalInterest() { if (neededForVitalInterest != null && neededForVitalInterest.eIsProxy()) { - InternalEObject oldNeededForVitalInterest = (InternalEObject) neededForVitalInterest; - neededForVitalInterest = (VitalInterest) eResolveProxy(oldNeededForVitalInterest); + InternalEObject oldNeededForVitalInterest = (InternalEObject)neededForVitalInterest; + neededForVitalInterest = (VitalInterest)eResolveProxy(oldNeededForVitalInterest); if (neededForVitalInterest != oldNeededForVitalInterest) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_VITAL_INTEREST, oldNeededForVitalInterest, neededForVitalInterest)); - } } } return neededForVitalInterest; @@ -567,7 +506,6 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ public VitalInterest basicGetNeededForVitalInterest() { @@ -577,40 +515,35 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ @Override public void setNeededForVitalInterest(VitalInterest newNeededForVitalInterest) { VitalInterest oldNeededForVitalInterest = neededForVitalInterest; neededForVitalInterest = newNeededForVitalInterest; - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_VITAL_INTEREST, oldNeededForVitalInterest, neededForVitalInterest)); - } } /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PROCESS__PERSONALDATA: - return ((InternalEList) (InternalEList) getPersonaldata()).basicAdd(otherEnd, msgs); - case Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO: - if (contributedTo != null) { - msgs = ((InternalEObject) contributedTo).eInverseRemove(this, Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES, Purpose.class, msgs); - } - return basicSetContributedTo((Purpose) otherEnd, msgs); - case Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT: - if (performAContract != null) { - msgs = ((InternalEObject) performAContract).eInverseRemove(this, Pdp4engCommonGDPRPackage.CONTRACT__PROCESS, Contract.class, msgs); - } - return basicSetPerformAContract((Contract) otherEnd, msgs); + case Pdp4engCommonGDPRPackage.PROCESS__PERSONALDATA: + return ((InternalEList)(InternalEList)getPersonaldata()).basicAdd(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO: + if (contributedTo != null) + msgs = ((InternalEObject)contributedTo).eInverseRemove(this, Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES, Purpose.class, msgs); + return basicSetContributedTo((Purpose)otherEnd, msgs); + case Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT: + if (performAContract != null) + msgs = ((InternalEObject)performAContract).eInverseRemove(this, Pdp4engCommonGDPRPackage.CONTRACT__PROCESS, Contract.class, msgs); + return basicSetPerformAContract((Contract)otherEnd, msgs); } return super.eInverseAdd(otherEnd, featureID, msgs); } @@ -618,18 +551,17 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PROCESS__PERSONALDATA: - return ((InternalEList) getPersonaldata()).basicRemove(otherEnd, msgs); - case Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO: - return basicSetContributedTo(null, msgs); - case Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT: - return basicSetPerformAContract(null, msgs); + case Pdp4engCommonGDPRPackage.PROCESS__PERSONALDATA: + return ((InternalEList)getPersonaldata()).basicRemove(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO: + return basicSetContributedTo(null, msgs); + case Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT: + return basicSetPerformAContract(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -637,51 +569,36 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PROCESS__BASE_NAMED_ELEMENT: - if (resolve) { - return getBase_NamedElement(); - } - return basicGetBase_NamedElement(); - case Pdp4engCommonGDPRPackage.PROCESS__PERSONALDATA: - return getPersonaldata(); - case Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO: - if (resolve) { - return getContributedTo(); - } - return basicGetContributedTo(); - case Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT: - if (resolve) { - return getPerformAContract(); - } - return basicGetPerformAContract(); - case Pdp4engCommonGDPRPackage.PROCESS__DATA: - return getData(); - case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_PUBLIC_INTEREST: - if (resolve) { - return getNeededForPublicInterest(); - } - return basicGetNeededForPublicInterest(); - case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGIMATE_INTEREST: - if (resolve) { - return getNeededForLegimateInterest(); - } - return basicGetNeededForLegimateInterest(); - case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGAL_OBLIGATION: - if (resolve) { - return getNeededForLegalObligation(); - } - return basicGetNeededForLegalObligation(); - case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_VITAL_INTEREST: - if (resolve) { - return getNeededForVitalInterest(); - } - return basicGetNeededForVitalInterest(); + case Pdp4engCommonGDPRPackage.PROCESS__BASE_NAMED_ELEMENT: + if (resolve) return getBase_NamedElement(); + return basicGetBase_NamedElement(); + case Pdp4engCommonGDPRPackage.PROCESS__PERSONALDATA: + return getPersonaldata(); + case Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO: + if (resolve) return getContributedTo(); + return basicGetContributedTo(); + case Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT: + if (resolve) return getPerformAContract(); + return basicGetPerformAContract(); + case Pdp4engCommonGDPRPackage.PROCESS__DATA: + return getData(); + case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_PUBLIC_INTEREST: + if (resolve) return getNeededForPublicInterest(); + return basicGetNeededForPublicInterest(); + case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGIMATE_INTEREST: + if (resolve) return getNeededForLegimateInterest(); + return basicGetNeededForLegimateInterest(); + case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGAL_OBLIGATION: + if (resolve) return getNeededForLegalObligation(); + return basicGetNeededForLegalObligation(); + case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_VITAL_INTEREST: + if (resolve) return getNeededForVitalInterest(); + return basicGetNeededForVitalInterest(); } return super.eGet(featureID, resolve, coreType); } @@ -689,42 +606,41 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PROCESS__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) newValue); - return; - case Pdp4engCommonGDPRPackage.PROCESS__PERSONALDATA: - getPersonaldata().clear(); - getPersonaldata().addAll((Collection) newValue); - return; - case Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO: - setContributedTo((Purpose) newValue); - return; - case Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT: - setPerformAContract((Contract) newValue); - return; - case Pdp4engCommonGDPRPackage.PROCESS__DATA: - getData().clear(); - getData().addAll((Collection) newValue); - return; - case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_PUBLIC_INTEREST: - setNeededForPublicInterest((PublicInterest) newValue); - return; - case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGIMATE_INTEREST: - setNeededForLegimateInterest((LegitimateInterest) newValue); - return; - case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGAL_OBLIGATION: - setNeededForLegalObligation((LegalObligation) newValue); - return; - case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_VITAL_INTEREST: - setNeededForVitalInterest((VitalInterest) newValue); - return; + case Pdp4engCommonGDPRPackage.PROCESS__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)newValue); + return; + case Pdp4engCommonGDPRPackage.PROCESS__PERSONALDATA: + getPersonaldata().clear(); + getPersonaldata().addAll((Collection)newValue); + return; + case Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO: + setContributedTo((Purpose)newValue); + return; + case Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT: + setPerformAContract((Contract)newValue); + return; + case Pdp4engCommonGDPRPackage.PROCESS__DATA: + getData().clear(); + getData().addAll((Collection)newValue); + return; + case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_PUBLIC_INTEREST: + setNeededForPublicInterest((PublicInterest)newValue); + return; + case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGIMATE_INTEREST: + setNeededForLegimateInterest((LegitimateInterest)newValue); + return; + case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGAL_OBLIGATION: + setNeededForLegalObligation((LegalObligation)newValue); + return; + case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_VITAL_INTEREST: + setNeededForVitalInterest((VitalInterest)newValue); + return; } super.eSet(featureID, newValue); } @@ -732,39 +648,38 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PROCESS__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) null); - return; - case Pdp4engCommonGDPRPackage.PROCESS__PERSONALDATA: - getPersonaldata().clear(); - return; - case Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO: - setContributedTo((Purpose) null); - return; - case Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT: - setPerformAContract((Contract) null); - return; - case Pdp4engCommonGDPRPackage.PROCESS__DATA: - getData().clear(); - return; - case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_PUBLIC_INTEREST: - setNeededForPublicInterest((PublicInterest) null); - return; - case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGIMATE_INTEREST: - setNeededForLegimateInterest((LegitimateInterest) null); - return; - case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGAL_OBLIGATION: - setNeededForLegalObligation((LegalObligation) null); - return; - case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_VITAL_INTEREST: - setNeededForVitalInterest((VitalInterest) null); - return; + case Pdp4engCommonGDPRPackage.PROCESS__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)null); + return; + case Pdp4engCommonGDPRPackage.PROCESS__PERSONALDATA: + getPersonaldata().clear(); + return; + case Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO: + setContributedTo((Purpose)null); + return; + case Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT: + setPerformAContract((Contract)null); + return; + case Pdp4engCommonGDPRPackage.PROCESS__DATA: + getData().clear(); + return; + case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_PUBLIC_INTEREST: + setNeededForPublicInterest((PublicInterest)null); + return; + case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGIMATE_INTEREST: + setNeededForLegimateInterest((LegitimateInterest)null); + return; + case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGAL_OBLIGATION: + setNeededForLegalObligation((LegalObligation)null); + return; + case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_VITAL_INTEREST: + setNeededForVitalInterest((VitalInterest)null); + return; } super.eUnset(featureID); } @@ -772,32 +687,31 @@ public class ProcessImpl extends MinimalEObjectImpl.Container implements org.ecl /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PROCESS__BASE_NAMED_ELEMENT: - return base_NamedElement != null; - case Pdp4engCommonGDPRPackage.PROCESS__PERSONALDATA: - return personaldata != null && !personaldata.isEmpty(); - case Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO: - return contributedTo != null; - case Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT: - return performAContract != null; - case Pdp4engCommonGDPRPackage.PROCESS__DATA: - return data != null && !data.isEmpty(); - case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_PUBLIC_INTEREST: - return neededForPublicInterest != null; - case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGIMATE_INTEREST: - return neededForLegimateInterest != null; - case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGAL_OBLIGATION: - return neededForLegalObligation != null; - case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_VITAL_INTEREST: - return neededForVitalInterest != null; + case Pdp4engCommonGDPRPackage.PROCESS__BASE_NAMED_ELEMENT: + return base_NamedElement != null; + case Pdp4engCommonGDPRPackage.PROCESS__PERSONALDATA: + return personaldata != null && !personaldata.isEmpty(); + case Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO: + return contributedTo != null; + case Pdp4engCommonGDPRPackage.PROCESS__PERFORM_ACONTRACT: + return performAContract != null; + case Pdp4engCommonGDPRPackage.PROCESS__DATA: + return data != null && !data.isEmpty(); + case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_PUBLIC_INTEREST: + return neededForPublicInterest != null; + case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGIMATE_INTEREST: + return neededForLegimateInterest != null; + case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_LEGAL_OBLIGATION: + return neededForLegalObligation != null; + case Pdp4engCommonGDPRPackage.PROCESS__NEEDED_FOR_VITAL_INTEREST: + return neededForVitalInterest != null; } return super.eIsSet(featureID); } -} // ProcessImpl +} //ProcessImpl diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ProcessorImpl.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ProcessorImpl.java index fc3f100..64f35e8 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ProcessorImpl.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/ProcessorImpl.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl; @@ -42,8 +42,8 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are implemented: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessorImpl#getProcess Process}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessorImpl#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessorImpl#getProcess Process}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.ProcessorImpl#getBase_NamedElement Base Named Element}
  • *
* * @generated @@ -53,7 +53,6 @@ public class ProcessorImpl extends MinimalEObjectImpl.Container implements Proce * The cached value of the '{@link #getProcess() Process}' reference list. * * - * * @see #getProcess() * @generated * @ordered @@ -64,7 +63,6 @@ public class ProcessorImpl extends MinimalEObjectImpl.Container implements Proce * The cached value of the '{@link #getBase_NamedElement() Base Named Element}' reference. * * - * * @see #getBase_NamedElement() * @generated * @ordered @@ -74,7 +72,6 @@ public class ProcessorImpl extends MinimalEObjectImpl.Container implements Proce /** * * - * * @generated */ protected ProcessorImpl() { @@ -84,7 +81,6 @@ public class ProcessorImpl extends MinimalEObjectImpl.Container implements Proce /** * * - * * @generated */ @Override @@ -95,13 +91,12 @@ public class ProcessorImpl extends MinimalEObjectImpl.Container implements Proce /** * * - * * @generated */ @Override public EList getProcess() { if (process == null) { - process = new EObjectResolvingEList<>(org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, this, Pdp4engCommonGDPRPackage.PROCESSOR__PROCESS); + process = new EObjectResolvingEList(org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, this, Pdp4engCommonGDPRPackage.PROCESSOR__PROCESS); } return process; } @@ -109,18 +104,16 @@ public class ProcessorImpl extends MinimalEObjectImpl.Container implements Proce /** * * - * * @generated */ @Override public NamedElement getBase_NamedElement() { if (base_NamedElement != null && base_NamedElement.eIsProxy()) { - InternalEObject oldBase_NamedElement = (InternalEObject) base_NamedElement; - base_NamedElement = (NamedElement) eResolveProxy(oldBase_NamedElement); + InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement; + base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement); if (base_NamedElement != oldBase_NamedElement) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.PROCESSOR__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } } return base_NamedElement; @@ -129,7 +122,6 @@ public class ProcessorImpl extends MinimalEObjectImpl.Container implements Proce /** * * - * * @generated */ public NamedElement basicGetBase_NamedElement() { @@ -139,34 +131,29 @@ public class ProcessorImpl extends MinimalEObjectImpl.Container implements Proce /** * * - * * @generated */ @Override public void setBase_NamedElement(NamedElement newBase_NamedElement) { NamedElement oldBase_NamedElement = base_NamedElement; base_NamedElement = newBase_NamedElement; - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PROCESSOR__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PROCESSOR__PROCESS: - return getProcess(); - case Pdp4engCommonGDPRPackage.PROCESSOR__BASE_NAMED_ELEMENT: - if (resolve) { - return getBase_NamedElement(); - } - return basicGetBase_NamedElement(); + case Pdp4engCommonGDPRPackage.PROCESSOR__PROCESS: + return getProcess(); + case Pdp4engCommonGDPRPackage.PROCESSOR__BASE_NAMED_ELEMENT: + if (resolve) return getBase_NamedElement(); + return basicGetBase_NamedElement(); } return super.eGet(featureID, resolve, coreType); } @@ -174,20 +161,19 @@ public class ProcessorImpl extends MinimalEObjectImpl.Container implements Proce /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PROCESSOR__PROCESS: - getProcess().clear(); - getProcess().addAll((Collection) newValue); - return; - case Pdp4engCommonGDPRPackage.PROCESSOR__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) newValue); - return; + case Pdp4engCommonGDPRPackage.PROCESSOR__PROCESS: + getProcess().clear(); + getProcess().addAll((Collection)newValue); + return; + case Pdp4engCommonGDPRPackage.PROCESSOR__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)newValue); + return; } super.eSet(featureID, newValue); } @@ -195,18 +181,17 @@ public class ProcessorImpl extends MinimalEObjectImpl.Container implements Proce /** * * - * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PROCESSOR__PROCESS: - getProcess().clear(); - return; - case Pdp4engCommonGDPRPackage.PROCESSOR__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) null); - return; + case Pdp4engCommonGDPRPackage.PROCESSOR__PROCESS: + getProcess().clear(); + return; + case Pdp4engCommonGDPRPackage.PROCESSOR__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)null); + return; } super.eUnset(featureID); } @@ -214,18 +199,17 @@ public class ProcessorImpl extends MinimalEObjectImpl.Container implements Proce /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PROCESSOR__PROCESS: - return process != null && !process.isEmpty(); - case Pdp4engCommonGDPRPackage.PROCESSOR__BASE_NAMED_ELEMENT: - return base_NamedElement != null; + case Pdp4engCommonGDPRPackage.PROCESSOR__PROCESS: + return process != null && !process.isEmpty(); + case Pdp4engCommonGDPRPackage.PROCESSOR__BASE_NAMED_ELEMENT: + return base_NamedElement != null; } return super.eIsSet(featureID); } -} // ProcessorImpl +} //ProcessorImpl diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/PublicInterestImpl.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/PublicInterestImpl.java index 27081aa..a31792d 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/PublicInterestImpl.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/PublicInterestImpl.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl; @@ -36,7 +36,7 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are implemented: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PublicInterestImpl#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PublicInterestImpl#getBase_NamedElement Base Named Element}
  • *
* * @generated @@ -46,7 +46,6 @@ public class PublicInterestImpl extends MinimalEObjectImpl.Container implements * The cached value of the '{@link #getBase_NamedElement() Base Named Element}' reference. * * - * * @see #getBase_NamedElement() * @generated * @ordered @@ -56,7 +55,6 @@ public class PublicInterestImpl extends MinimalEObjectImpl.Container implements /** * * - * * @generated */ protected PublicInterestImpl() { @@ -66,7 +64,6 @@ public class PublicInterestImpl extends MinimalEObjectImpl.Container implements /** * * - * * @generated */ @Override @@ -77,18 +74,16 @@ public class PublicInterestImpl extends MinimalEObjectImpl.Container implements /** * * - * * @generated */ @Override public NamedElement getBase_NamedElement() { if (base_NamedElement != null && base_NamedElement.eIsProxy()) { - InternalEObject oldBase_NamedElement = (InternalEObject) base_NamedElement; - base_NamedElement = (NamedElement) eResolveProxy(oldBase_NamedElement); + InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement; + base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement); if (base_NamedElement != oldBase_NamedElement) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.PUBLIC_INTEREST__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } } return base_NamedElement; @@ -97,7 +92,6 @@ public class PublicInterestImpl extends MinimalEObjectImpl.Container implements /** * * - * * @generated */ public NamedElement basicGetBase_NamedElement() { @@ -107,32 +101,27 @@ public class PublicInterestImpl extends MinimalEObjectImpl.Container implements /** * * - * * @generated */ @Override public void setBase_NamedElement(NamedElement newBase_NamedElement) { NamedElement oldBase_NamedElement = base_NamedElement; base_NamedElement = newBase_NamedElement; - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PUBLIC_INTEREST__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PUBLIC_INTEREST__BASE_NAMED_ELEMENT: - if (resolve) { - return getBase_NamedElement(); - } - return basicGetBase_NamedElement(); + case Pdp4engCommonGDPRPackage.PUBLIC_INTEREST__BASE_NAMED_ELEMENT: + if (resolve) return getBase_NamedElement(); + return basicGetBase_NamedElement(); } return super.eGet(featureID, resolve, coreType); } @@ -140,15 +129,14 @@ public class PublicInterestImpl extends MinimalEObjectImpl.Container implements /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PUBLIC_INTEREST__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) newValue); - return; + case Pdp4engCommonGDPRPackage.PUBLIC_INTEREST__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)newValue); + return; } super.eSet(featureID, newValue); } @@ -156,15 +144,14 @@ public class PublicInterestImpl extends MinimalEObjectImpl.Container implements /** * * - * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PUBLIC_INTEREST__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) null); - return; + case Pdp4engCommonGDPRPackage.PUBLIC_INTEREST__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)null); + return; } super.eUnset(featureID); } @@ -172,16 +159,15 @@ public class PublicInterestImpl extends MinimalEObjectImpl.Container implements /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PUBLIC_INTEREST__BASE_NAMED_ELEMENT: - return base_NamedElement != null; + case Pdp4engCommonGDPRPackage.PUBLIC_INTEREST__BASE_NAMED_ELEMENT: + return base_NamedElement != null; } return super.eIsSet(featureID); } -} // PublicInterestImpl +} //PublicInterestImpl diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/PurposeImpl.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/PurposeImpl.java index 025fd1e..fdb48b7 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/PurposeImpl.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/PurposeImpl.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl; @@ -45,9 +45,9 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are implemented: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PurposeImpl#getBase_NamedElement Base Named Element}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PurposeImpl#getProcesses Processes}
  • - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PurposeImpl#getConsent Consent}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PurposeImpl#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PurposeImpl#getProcesses Processes}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.PurposeImpl#getConsent Consent}
  • *
* * @generated @@ -57,7 +57,6 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose * The cached value of the '{@link #getBase_NamedElement() Base Named Element}' reference. * * - * * @see #getBase_NamedElement() * @generated * @ordered @@ -68,7 +67,6 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose * The cached value of the '{@link #getProcesses() Processes}' reference list. * * - * * @see #getProcesses() * @generated * @ordered @@ -79,7 +77,6 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose * The cached value of the '{@link #getConsent() Consent}' reference. * * - * * @see #getConsent() * @generated * @ordered @@ -89,7 +86,6 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose /** * * - * * @generated */ protected PurposeImpl() { @@ -99,7 +95,6 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose /** * * - * * @generated */ @Override @@ -110,18 +105,16 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose /** * * - * * @generated */ @Override public NamedElement getBase_NamedElement() { if (base_NamedElement != null && base_NamedElement.eIsProxy()) { - InternalEObject oldBase_NamedElement = (InternalEObject) base_NamedElement; - base_NamedElement = (NamedElement) eResolveProxy(oldBase_NamedElement); + InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement; + base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement); if (base_NamedElement != oldBase_NamedElement) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.PURPOSE__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } } return base_NamedElement; @@ -130,7 +123,6 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose /** * * - * * @generated */ public NamedElement basicGetBase_NamedElement() { @@ -140,29 +132,25 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose /** * * - * * @generated */ @Override public void setBase_NamedElement(NamedElement newBase_NamedElement) { NamedElement oldBase_NamedElement = base_NamedElement; base_NamedElement = newBase_NamedElement; - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PURPOSE__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } /** * * - * * @generated */ @Override public EList getProcesses() { if (processes == null) { - processes = new EObjectWithInverseResolvingEList<>(org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, this, Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES, - Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO); + processes = new EObjectWithInverseResolvingEList(org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process.class, this, Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES, Pdp4engCommonGDPRPackage.PROCESS__CONTRIBUTED_TO); } return processes; } @@ -170,18 +158,16 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose /** * * - * * @generated */ @Override public Consent getConsent() { if (consent != null && consent.eIsProxy()) { - InternalEObject oldConsent = (InternalEObject) consent; - consent = (Consent) eResolveProxy(oldConsent); + InternalEObject oldConsent = (InternalEObject)consent; + consent = (Consent)eResolveProxy(oldConsent); if (consent != oldConsent) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.PURPOSE__CONSENT, oldConsent, consent)); - } } } return consent; @@ -190,7 +176,6 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose /** * * - * * @generated */ public Consent basicGetConsent() { @@ -200,7 +185,6 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose /** * * - * * @generated */ public NotificationChain basicSetConsent(Consent newConsent, NotificationChain msgs) { @@ -208,11 +192,7 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose consent = newConsent; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PURPOSE__CONSENT, oldConsent, newConsent); - if (msgs == null) { - msgs = notification; - } else { - msgs.add(notification); - } + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -220,45 +200,38 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose /** * * - * * @generated */ @Override public void setConsent(Consent newConsent) { if (newConsent != consent) { NotificationChain msgs = null; - if (consent != null) { - msgs = ((InternalEObject) consent).eInverseRemove(this, Pdp4engCommonGDPRPackage.CONSENT__PURPOSE, Consent.class, msgs); - } - if (newConsent != null) { - msgs = ((InternalEObject) newConsent).eInverseAdd(this, Pdp4engCommonGDPRPackage.CONSENT__PURPOSE, Consent.class, msgs); - } + if (consent != null) + msgs = ((InternalEObject)consent).eInverseRemove(this, Pdp4engCommonGDPRPackage.CONSENT__PURPOSE, Consent.class, msgs); + if (newConsent != null) + msgs = ((InternalEObject)newConsent).eInverseAdd(this, Pdp4engCommonGDPRPackage.CONSENT__PURPOSE, Consent.class, msgs); msgs = basicSetConsent(newConsent, msgs); - if (msgs != null) { - msgs.dispatch(); - } - } else if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PURPOSE__CONSENT, newConsent, newConsent)); + if (msgs != null) msgs.dispatch(); } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.PURPOSE__CONSENT, newConsent, newConsent)); } /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES: - return ((InternalEList) (InternalEList) getProcesses()).basicAdd(otherEnd, msgs); - case Pdp4engCommonGDPRPackage.PURPOSE__CONSENT: - if (consent != null) { - msgs = ((InternalEObject) consent).eInverseRemove(this, Pdp4engCommonGDPRPackage.CONSENT__PURPOSE, Consent.class, msgs); - } - return basicSetConsent((Consent) otherEnd, msgs); + case Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES: + return ((InternalEList)(InternalEList)getProcesses()).basicAdd(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.PURPOSE__CONSENT: + if (consent != null) + msgs = ((InternalEObject)consent).eInverseRemove(this, Pdp4engCommonGDPRPackage.CONSENT__PURPOSE, Consent.class, msgs); + return basicSetConsent((Consent)otherEnd, msgs); } return super.eInverseAdd(otherEnd, featureID, msgs); } @@ -266,16 +239,15 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES: - return ((InternalEList) getProcesses()).basicRemove(otherEnd, msgs); - case Pdp4engCommonGDPRPackage.PURPOSE__CONSENT: - return basicSetConsent(null, msgs); + case Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES: + return ((InternalEList)getProcesses()).basicRemove(otherEnd, msgs); + case Pdp4engCommonGDPRPackage.PURPOSE__CONSENT: + return basicSetConsent(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -283,24 +255,19 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PURPOSE__BASE_NAMED_ELEMENT: - if (resolve) { - return getBase_NamedElement(); - } - return basicGetBase_NamedElement(); - case Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES: - return getProcesses(); - case Pdp4engCommonGDPRPackage.PURPOSE__CONSENT: - if (resolve) { - return getConsent(); - } - return basicGetConsent(); + case Pdp4engCommonGDPRPackage.PURPOSE__BASE_NAMED_ELEMENT: + if (resolve) return getBase_NamedElement(); + return basicGetBase_NamedElement(); + case Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES: + return getProcesses(); + case Pdp4engCommonGDPRPackage.PURPOSE__CONSENT: + if (resolve) return getConsent(); + return basicGetConsent(); } return super.eGet(featureID, resolve, coreType); } @@ -308,23 +275,22 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PURPOSE__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) newValue); - return; - case Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES: - getProcesses().clear(); - getProcesses().addAll((Collection) newValue); - return; - case Pdp4engCommonGDPRPackage.PURPOSE__CONSENT: - setConsent((Consent) newValue); - return; + case Pdp4engCommonGDPRPackage.PURPOSE__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)newValue); + return; + case Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES: + getProcesses().clear(); + getProcesses().addAll((Collection)newValue); + return; + case Pdp4engCommonGDPRPackage.PURPOSE__CONSENT: + setConsent((Consent)newValue); + return; } super.eSet(featureID, newValue); } @@ -332,21 +298,20 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose /** * * - * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PURPOSE__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) null); - return; - case Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES: - getProcesses().clear(); - return; - case Pdp4engCommonGDPRPackage.PURPOSE__CONSENT: - setConsent((Consent) null); - return; + case Pdp4engCommonGDPRPackage.PURPOSE__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)null); + return; + case Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES: + getProcesses().clear(); + return; + case Pdp4engCommonGDPRPackage.PURPOSE__CONSENT: + setConsent((Consent)null); + return; } super.eUnset(featureID); } @@ -354,20 +319,19 @@ public class PurposeImpl extends MinimalEObjectImpl.Container implements Purpose /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.PURPOSE__BASE_NAMED_ELEMENT: - return base_NamedElement != null; - case Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES: - return processes != null && !processes.isEmpty(); - case Pdp4engCommonGDPRPackage.PURPOSE__CONSENT: - return consent != null; + case Pdp4engCommonGDPRPackage.PURPOSE__BASE_NAMED_ELEMENT: + return base_NamedElement != null; + case Pdp4engCommonGDPRPackage.PURPOSE__PROCESSES: + return processes != null && !processes.isEmpty(); + case Pdp4engCommonGDPRPackage.PURPOSE__CONSENT: + return consent != null; } return super.eIsSet(featureID); } -} // PurposeImpl +} //PurposeImpl diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/VitalInterestImpl.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/VitalInterestImpl.java index e40af7f..2c95d50 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/VitalInterestImpl.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/impl/VitalInterestImpl.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl; @@ -36,7 +36,7 @@ import org.eclipse.uml2.uml.NamedElement; * The following features are implemented: *

*
    - *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.VitalInterestImpl#getBase_NamedElement Base Named Element}
  • + *
  • {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.impl.VitalInterestImpl#getBase_NamedElement Base Named Element}
  • *
* * @generated @@ -46,7 +46,6 @@ public class VitalInterestImpl extends MinimalEObjectImpl.Container implements V * The cached value of the '{@link #getBase_NamedElement() Base Named Element}' reference. * * - * * @see #getBase_NamedElement() * @generated * @ordered @@ -56,7 +55,6 @@ public class VitalInterestImpl extends MinimalEObjectImpl.Container implements V /** * * - * * @generated */ protected VitalInterestImpl() { @@ -66,7 +64,6 @@ public class VitalInterestImpl extends MinimalEObjectImpl.Container implements V /** * * - * * @generated */ @Override @@ -77,18 +74,16 @@ public class VitalInterestImpl extends MinimalEObjectImpl.Container implements V /** * * - * * @generated */ @Override public NamedElement getBase_NamedElement() { if (base_NamedElement != null && base_NamedElement.eIsProxy()) { - InternalEObject oldBase_NamedElement = (InternalEObject) base_NamedElement; - base_NamedElement = (NamedElement) eResolveProxy(oldBase_NamedElement); + InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement; + base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement); if (base_NamedElement != oldBase_NamedElement) { - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Pdp4engCommonGDPRPackage.VITAL_INTEREST__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } } return base_NamedElement; @@ -97,7 +92,6 @@ public class VitalInterestImpl extends MinimalEObjectImpl.Container implements V /** * * - * * @generated */ public NamedElement basicGetBase_NamedElement() { @@ -107,32 +101,27 @@ public class VitalInterestImpl extends MinimalEObjectImpl.Container implements V /** * * - * * @generated */ @Override public void setBase_NamedElement(NamedElement newBase_NamedElement) { NamedElement oldBase_NamedElement = base_NamedElement; base_NamedElement = newBase_NamedElement; - if (eNotificationRequired()) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Pdp4engCommonGDPRPackage.VITAL_INTEREST__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); - } } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case Pdp4engCommonGDPRPackage.VITAL_INTEREST__BASE_NAMED_ELEMENT: - if (resolve) { - return getBase_NamedElement(); - } - return basicGetBase_NamedElement(); + case Pdp4engCommonGDPRPackage.VITAL_INTEREST__BASE_NAMED_ELEMENT: + if (resolve) return getBase_NamedElement(); + return basicGetBase_NamedElement(); } return super.eGet(featureID, resolve, coreType); } @@ -140,15 +129,14 @@ public class VitalInterestImpl extends MinimalEObjectImpl.Container implements V /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case Pdp4engCommonGDPRPackage.VITAL_INTEREST__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) newValue); - return; + case Pdp4engCommonGDPRPackage.VITAL_INTEREST__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)newValue); + return; } super.eSet(featureID, newValue); } @@ -156,15 +144,14 @@ public class VitalInterestImpl extends MinimalEObjectImpl.Container implements V /** * * - * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.VITAL_INTEREST__BASE_NAMED_ELEMENT: - setBase_NamedElement((NamedElement) null); - return; + case Pdp4engCommonGDPRPackage.VITAL_INTEREST__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)null); + return; } super.eUnset(featureID); } @@ -172,16 +159,15 @@ public class VitalInterestImpl extends MinimalEObjectImpl.Container implements V /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case Pdp4engCommonGDPRPackage.VITAL_INTEREST__BASE_NAMED_ELEMENT: - return base_NamedElement != null; + case Pdp4engCommonGDPRPackage.VITAL_INTEREST__BASE_NAMED_ELEMENT: + return base_NamedElement != null; } return super.eIsSet(featureID); } -} // VitalInterestImpl +} //VitalInterestImpl diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/util/Pdp4engCommonGDPRAdapterFactory.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/util/Pdp4engCommonGDPRAdapterFactory.java index 733b92d..4f217ec 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/util/Pdp4engCommonGDPRAdapterFactory.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/util/Pdp4engCommonGDPRAdapterFactory.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.util; @@ -41,7 +41,6 @@ import org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.VitalInteres * The Adapter Factory for the model. * It provides an adapter createXXX method for each class of the model. * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage * @generated */ @@ -50,7 +49,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * The cached model package. * * - * * @generated */ protected static Pdp4engCommonGDPRPackage modelPackage; @@ -59,7 +57,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * Creates an instance of the adapter factory. * * - * * @generated */ public Pdp4engCommonGDPRAdapterFactory() { @@ -73,7 +70,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * * 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 */ @@ -83,7 +79,7 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { return true; } if (object instanceof EObject) { - return ((EObject) object).eClass().getEPackage() == modelPackage; + return ((EObject)object).eClass().getEPackage() == modelPackage; } return false; } @@ -92,94 +88,79 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * The switch that delegates to the createXXX methods. * * - * * @generated */ - protected Pdp4engCommonGDPRSwitch modelSwitch = new Pdp4engCommonGDPRSwitch() { - @Override - public Adapter caseProcess(org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process object) { - return createProcessAdapter(); - } - - @Override - public Adapter casePersonalData(PersonalData object) { - return createPersonalDataAdapter(); - } - - @Override - public Adapter caseData(Data object) { - return createDataAdapter(); - } - - @Override - public Adapter caseDataSubject(DataSubject object) { - return createDataSubjectAdapter(); - } - - @Override - public Adapter caseConsent(Consent object) { - return createConsentAdapter(); - } - - @Override - public Adapter casePurpose(Purpose object) { - return createPurposeAdapter(); - } - - @Override - public Adapter caseContract(Contract object) { - return createContractAdapter(); - } - - @Override - public Adapter caseController(Controller object) { - return createControllerAdapter(); - } - - @Override - public Adapter caseProcessor(Processor object) { - return createProcessorAdapter(); - } - - @Override - public Adapter casePublicInterest(PublicInterest object) { - return createPublicInterestAdapter(); - } - - @Override - public Adapter caseLegitimateInterest(LegitimateInterest object) { - return createLegitimateInterestAdapter(); - } - - @Override - public Adapter caseLegalObligation(LegalObligation object) { - return createLegalObligationAdapter(); - } - - @Override - public Adapter caseVitalInterest(VitalInterest object) { - return createVitalInterestAdapter(); - } - - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; + protected Pdp4engCommonGDPRSwitch modelSwitch = + new Pdp4engCommonGDPRSwitch() { + @Override + public Adapter caseProcess(org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process object) { + return createProcessAdapter(); + } + @Override + public Adapter casePersonalData(PersonalData object) { + return createPersonalDataAdapter(); + } + @Override + public Adapter caseData(Data object) { + return createDataAdapter(); + } + @Override + public Adapter caseDataSubject(DataSubject object) { + return createDataSubjectAdapter(); + } + @Override + public Adapter caseConsent(Consent object) { + return createConsentAdapter(); + } + @Override + public Adapter casePurpose(Purpose object) { + return createPurposeAdapter(); + } + @Override + public Adapter caseContract(Contract object) { + return createContractAdapter(); + } + @Override + public Adapter caseController(Controller object) { + return createControllerAdapter(); + } + @Override + public Adapter caseProcessor(Processor object) { + return createProcessorAdapter(); + } + @Override + public Adapter casePublicInterest(PublicInterest object) { + return createPublicInterestAdapter(); + } + @Override + public Adapter caseLegitimateInterest(LegitimateInterest object) { + return createLegitimateInterestAdapter(); + } + @Override + public Adapter caseLegalObligation(LegalObligation object) { + return createLegalObligationAdapter(); + } + @Override + public Adapter caseVitalInterest(VitalInterest object) { + return createVitalInterestAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; /** * Creates an adapter for the target. * * - * - * @param target - * the object to adapt. + * @param target the object to adapt. * @return the adapter for the target. * @generated */ @Override public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject) target); + return modelSwitch.doSwitch((EObject)target); } @@ -189,7 +170,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * 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 org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process * @generated @@ -204,7 +184,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * 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 org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData * @generated @@ -219,7 +198,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * 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 org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Data * @generated @@ -234,7 +212,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * 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 org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject * @generated @@ -249,7 +226,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * 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 org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Consent * @generated @@ -264,7 +240,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * 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 org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Purpose * @generated @@ -279,7 +254,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * 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 org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Contract * @generated @@ -294,7 +268,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * 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 org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Controller * @generated @@ -309,7 +282,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * 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 org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Processor * @generated @@ -324,7 +296,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * 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 org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PublicInterest * @generated @@ -339,7 +310,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * 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 org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.LegitimateInterest * @generated @@ -354,7 +324,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * 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 org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.LegalObligation * @generated @@ -369,7 +338,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * 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 org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.VitalInterest * @generated @@ -383,7 +351,6 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { * * This default implementation returns null. * - * * @return the new adapter. * @generated */ @@ -391,4 +358,4 @@ public class Pdp4engCommonGDPRAdapterFactory extends AdapterFactoryImpl { return null; } -} // Pdp4engCommonGDPRAdapterFactory +} //Pdp4engCommonGDPRAdapterFactory diff --git a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/util/Pdp4engCommonGDPRSwitch.java b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/util/Pdp4engCommonGDPRSwitch.java index f3dbf55..d97169c 100644 --- a/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/util/Pdp4engCommonGDPRSwitch.java +++ b/plugins/common/org.eclipse.papyrus.pdp4eng.common.profile/src-gen/org/eclipse/papyrus/pdp4eng/common/profile/pdp4engCommonGDPR/util/Pdp4engCommonGDPRSwitch.java @@ -4,14 +4,14 @@ * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation - * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr - * + * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * */ package org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.util; @@ -44,7 +44,6 @@ import org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.VitalInteres * until a non-null result is returned, * which is the result of the switch. * - * * @see org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Pdp4engCommonGDPRPackage * @generated */ @@ -53,7 +52,6 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * The cached model package * * - * * @generated */ protected static Pdp4engCommonGDPRPackage modelPackage; @@ -62,7 +60,6 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * Creates an instance of the switch. * * - * * @generated */ public Pdp4engCommonGDPRSwitch() { @@ -75,9 +72,7 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * Checks whether this is a switch for the given package. * * - * - * @param ePackage - * the package in question. + * @param ePackage the package in question. * @return whether this is a switch for the given package. * @generated */ @@ -90,122 +85,92 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * 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 Pdp4engCommonGDPRPackage.PROCESS: { - org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process process = (org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process) theEObject; - T result = caseProcess(process); - if (result == null) { - result = defaultCase(theEObject); + case Pdp4engCommonGDPRPackage.PROCESS: { + org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process process = (org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process)theEObject; + T result = caseProcess(process); + if (result == null) result = defaultCase(theEObject); + return result; } - return result; - } - case Pdp4engCommonGDPRPackage.PERSONAL_DATA: { - PersonalData personalData = (PersonalData) theEObject; - T result = casePersonalData(personalData); - if (result == null) { - result = caseData(personalData); + case Pdp4engCommonGDPRPackage.PERSONAL_DATA: { + PersonalData personalData = (PersonalData)theEObject; + T result = casePersonalData(personalData); + if (result == null) result = caseData(personalData); + if (result == null) result = defaultCase(theEObject); + return result; } - if (result == null) { - result = defaultCase(theEObject); + case Pdp4engCommonGDPRPackage.DATA: { + Data data = (Data)theEObject; + T result = caseData(data); + if (result == null) result = defaultCase(theEObject); + return result; } - return result; - } - case Pdp4engCommonGDPRPackage.DATA: { - Data data = (Data) theEObject; - T result = caseData(data); - if (result == null) { - result = defaultCase(theEObject); + case Pdp4engCommonGDPRPackage.DATA_SUBJECT: { + DataSubject dataSubject = (DataSubject)theEObject; + T result = caseDataSubject(dataSubject); + if (result == null) result = defaultCase(theEObject); + return result; } - return result; - } - case Pdp4engCommonGDPRPackage.DATA_SUBJECT: { - DataSubject dataSubject = (DataSubject) theEObject; - T result = caseDataSubject(dataSubject); - if (result == null) { - result = defaultCase(theEObject); + case Pdp4engCommonGDPRPackage.CONSENT: { + Consent consent = (Consent)theEObject; + T result = caseConsent(consent); + if (result == null) result = defaultCase(theEObject); + return result; } - return result; - } - case Pdp4engCommonGDPRPackage.CONSENT: { - Consent consent = (Consent) theEObject; - T result = caseConsent(consent); - if (result == null) { - result = defaultCase(theEObject); + case Pdp4engCommonGDPRPackage.PURPOSE: { + Purpose purpose = (Purpose)theEObject; + T result = casePurpose(purpose); + if (result == null) result = defaultCase(theEObject); + return result; } - return result; - } - case Pdp4engCommonGDPRPackage.PURPOSE: { - Purpose purpose = (Purpose) theEObject; - T result = casePurpose(purpose); - if (result == null) { - result = defaultCase(theEObject); - } - return result; - } - case Pdp4engCommonGDPRPackage.CONTRACT: { - Contract contract = (Contract) theEObject; - T result = caseContract(contract); - if (result == null) { - result = defaultCase(theEObject); + case Pdp4engCommonGDPRPackage.CONTRACT: { + Contract contract = (Contract)theEObject; + T result = caseContract(contract); + if (result == null) result = defaultCase(theEObject); + return result; } - return result; - } - case Pdp4engCommonGDPRPackage.CONTROLLER: { - Controller controller = (Controller) theEObject; - T result = caseController(controller); - if (result == null) { - result = defaultCase(theEObject); + case Pdp4engCommonGDPRPackage.CONTROLLER: { + Controller controller = (Controller)theEObject; + T result = caseController(controller); + if (result == null) result = defaultCase(theEObject); + return result; } - return result; - } - case Pdp4engCommonGDPRPackage.PROCESSOR: { - Processor processor = (Processor) theEObject; - T result = caseProcessor(processor); - if (result == null) { - result = defaultCase(theEObject); + case Pdp4engCommonGDPRPackage.PROCESSOR: { + Processor processor = (Processor)theEObject; + T result = caseProcessor(processor); + if (result == null) result = defaultCase(theEObject); + return result; } - return result; - } - case Pdp4engCommonGDPRPackage.PUBLIC_INTEREST: { - PublicInterest publicInterest = (PublicInterest) theEObject; - T result = casePublicInterest(publicInterest); - if (result == null) { - result = defaultCase(theEObject); + case Pdp4engCommonGDPRPackage.PUBLIC_INTEREST: { + PublicInterest publicInterest = (PublicInterest)theEObject; + T result = casePublicInterest(publicInterest); + if (result == null) result = defaultCase(theEObject); + return result; } - return result; - } - case Pdp4engCommonGDPRPackage.LEGITIMATE_INTEREST: { - LegitimateInterest legitimateInterest = (LegitimateInterest) theEObject; - T result = caseLegitimateInterest(legitimateInterest); - if (result == null) { - result = defaultCase(theEObject); + case Pdp4engCommonGDPRPackage.LEGITIMATE_INTEREST: { + LegitimateInterest legitimateInterest = (LegitimateInterest)theEObject; + T result = caseLegitimateInterest(legitimateInterest); + if (result == null) result = defaultCase(theEObject); + return result; } - return result; - } - case Pdp4engCommonGDPRPackage.LEGAL_OBLIGATION: { - LegalObligation legalObligation = (LegalObligation) theEObject; - T result = caseLegalObligation(legalObligation); - if (result == null) { - result = defaultCase(theEObject); + case Pdp4engCommonGDPRPackage.LEGAL_OBLIGATION: { + LegalObligation legalObligation = (LegalObligation)theEObject; + T result = caseLegalObligation(legalObligation); + if (result == null) result = defaultCase(theEObject); + return result; } - return result; - } - case Pdp4engCommonGDPRPackage.VITAL_INTEREST: { - VitalInterest vitalInterest = (VitalInterest) theEObject; - T result = caseVitalInterest(vitalInterest); - if (result == null) { - result = defaultCase(theEObject); + case Pdp4engCommonGDPRPackage.VITAL_INTEREST: { + VitalInterest vitalInterest = (VitalInterest)theEObject; + T result = caseVitalInterest(vitalInterest); + if (result == null) result = defaultCase(theEObject); + return result; } - return result; - } - default: - return defaultCase(theEObject); + default: return defaultCase(theEObject); } } @@ -215,9 +180,7 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Process'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -232,9 +195,7 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Personal Data'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -249,9 +210,7 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Data'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -266,9 +225,7 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Data Subject'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -283,9 +240,7 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Consent'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -300,9 +255,7 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Purpose'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -317,9 +270,7 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Contract'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -334,9 +285,7 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Controller'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -351,9 +300,7 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Processor'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -368,9 +315,7 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Public Interest'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -385,9 +330,7 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Legitimate Interest'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -402,9 +345,7 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Legal Obligation'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -419,9 +360,7 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Vital Interest'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -436,9 +375,7 @@ public class Pdp4engCommonGDPRSwitch extends Switch { * 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. + * @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 @@ -448,4 +385,4 @@ public class Pdp4engCommonGDPRSwitch extends Switch { return null; } -} // Pdp4engCommonGDPRSwitch +} //Pdp4engCommonGDPRSwitch diff --git a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/model/pdp4engReqGDPR.ecore b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/model/pdp4engReqGDPR.ecore index 3a34dec..5c4e24b 100644 --- a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/model/pdp4engReqGDPR.ecore +++ b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/model/pdp4engReqGDPR.ecore @@ -201,4 +201,5 @@
+ diff --git a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/model/pdp4engReqGDPR.genmodel b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/model/pdp4engReqGDPR.genmodel index cee7e9c..c90492e 100644 --- a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/model/pdp4engReqGDPR.genmodel +++ b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/model/pdp4engReqGDPR.genmodel @@ -2,7 +2,7 @@ + diff --git a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/model/pdp4engReqGDPR.profile.notation b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/model/pdp4engReqGDPR.profile.notation index 52becf4..980f75d 100644 --- a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/model/pdp4engReqGDPR.profile.notation +++ b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/model/pdp4engReqGDPR.profile.notation @@ -1158,21 +1158,21 @@ - - - + + + - + - - - + + + - + @@ -1243,25 +1243,25 @@ - - - + + + - - - + + + - - - + + + - - - + + + @@ -1784,23 +1784,6 @@ - - - - - - - - - - - - - - - - - @@ -1906,6 +1889,23 @@ + + + + + + + + + + + + + + + + + @@ -1977,5 +1977,16 @@ + + + + + + + + + + + diff --git a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/model/pdp4engReqGDPR.profile.uml b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/model/pdp4engReqGDPR.profile.uml index 56e2e6b..3299baa 100644 --- a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/model/pdp4engReqGDPR.profile.uml +++ b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/model/pdp4engReqGDPR.profile.uml @@ -389,6 +389,9 @@ + + + diff --git a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/LawfullBySafeGuard.java b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/LawfullBySafeGuard.java new file mode 100644 index 0000000..f4c68b9 --- /dev/null +++ b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/LawfullBySafeGuard.java @@ -0,0 +1,31 @@ +/** + * Copyright (c)2020 CEA LIST, Committer Name, and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License 2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * CEA LIST - Initial API and implementation + * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * + */ +package org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR; + + +/** + * + * A representation of the model object 'Lawfull By Safe Guard'. + * + * + * + * @see org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.pdp4engReqGDPRPackage#getLawfullBySafeGuard() + * @model + * @generated + */ +public interface LawfullBySafeGuard extends Lawful { +} // LawfullBySafeGuard diff --git a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/impl/LawfullBySafeGuardImpl.java b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/impl/LawfullBySafeGuardImpl.java new file mode 100644 index 0000000..a40cdbb --- /dev/null +++ b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/impl/LawfullBySafeGuardImpl.java @@ -0,0 +1,51 @@ +/** + * Copyright (c)2020 CEA LIST, Committer Name, and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License 2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * CEA LIST - Initial API and implementation + * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr + * Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr + * + */ +package org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.LawfullBySafeGuard; +import org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.pdp4engReqGDPRPackage; + +/** + * + * An implementation of the model object 'Lawfull By Safe Guard'. + * + * + * @generated + */ +public class LawfullBySafeGuardImpl extends LawfulImpl implements LawfullBySafeGuard { + /** + * + * + * @generated + */ + protected LawfullBySafeGuardImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return pdp4engReqGDPRPackage.Literals.LAWFULL_BY_SAFE_GUARD; + } + +} //LawfullBySafeGuardImpl diff --git a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/impl/pdp4engReqGDPRFactoryImpl.java b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/impl/pdp4engReqGDPRFactoryImpl.java index 2241567..b631262 100644 --- a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/impl/pdp4engReqGDPRFactoryImpl.java +++ b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/impl/pdp4engReqGDPRFactoryImpl.java @@ -115,6 +115,7 @@ public class pdp4engReqGDPRFactoryImpl extends EFactoryImpl implements pdp4engRe case pdp4engReqGDPRPackage.LAWFUL_BY_LEGITIMATE_INTEREST: return createLawfulByLegitimateInterest(); case pdp4engReqGDPRPackage.LAWFUL_BY_LEGAL_OBLIGATION: return createLawfulByLegalObligation(); case pdp4engReqGDPRPackage.LAWFUL_BY_VITAL_INTEREST: return createLawfulByVitalInterest(); + case pdp4engReqGDPRPackage.LAWFULL_BY_SAFE_GUARD: return createLawfullBySafeGuard(); default: throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); } @@ -646,6 +647,17 @@ public class pdp4engReqGDPRFactoryImpl extends EFactoryImpl implements pdp4engRe return lawfulByVitalInterest; } + /** + * + * + * @generated + */ + @Override + public LawfullBySafeGuard createLawfullBySafeGuard() { + LawfullBySafeGuardImpl lawfullBySafeGuard = new LawfullBySafeGuardImpl(); + return lawfullBySafeGuard; + } + /** * * diff --git a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/impl/pdp4engReqGDPRPackageImpl.java b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/impl/pdp4engReqGDPRPackageImpl.java index 03414e4..c678a01 100644 --- a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/impl/pdp4engReqGDPRPackageImpl.java +++ b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/impl/pdp4engReqGDPRPackageImpl.java @@ -54,6 +54,7 @@ import org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.LawfulByLegalOblig import org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.LawfulByLegitimateInterest; import org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.LawfulByPublicInterest; import org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.LawfulByVitalInterest; +import org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.LawfullBySafeGuard; import org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.Link; import org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.Linkability; import org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.Linkable; @@ -397,6 +398,13 @@ public class pdp4engReqGDPRPackageImpl extends EPackageImpl implements pdp4engRe */ private EClass lawfulByVitalInterestEClass = null; + /** + * + * + * @generated + */ + private EClass lawfullBySafeGuardEClass = null; + /** * * @@ -1422,6 +1430,16 @@ public class pdp4engReqGDPRPackageImpl extends EPackageImpl implements pdp4engRe return (EReference)lawfulByVitalInterestEClass.getEStructuralFeatures().get(0); } + /** + * + * + * @generated + */ + @Override + public EClass getLawfullBySafeGuard() { + return lawfullBySafeGuardEClass; + } + /** * * @@ -1628,6 +1646,8 @@ public class pdp4engReqGDPRPackageImpl extends EPackageImpl implements pdp4engRe lawfulByVitalInterestEClass = createEClass(LAWFUL_BY_VITAL_INTEREST); createEReference(lawfulByVitalInterestEClass, LAWFUL_BY_VITAL_INTEREST__VITAL_INTEREST); + lawfullBySafeGuardEClass = createEClass(LAWFULL_BY_SAFE_GUARD); + // Create enums linkabilityEEnum = createEEnum(LINKABILITY); collectionMethodEEnum = createEEnum(COLLECTION_METHOD); @@ -1692,6 +1712,7 @@ public class pdp4engReqGDPRPackageImpl extends EPackageImpl implements pdp4engRe lawfulByLegitimateInterestEClass.getESuperTypes().add(this.getLawful()); lawfulByLegalObligationEClass.getESuperTypes().add(this.getLawful()); lawfulByVitalInterestEClass.getESuperTypes().add(this.getLawful()); + lawfullBySafeGuardEClass.getESuperTypes().add(this.getLawful()); // Initialize classes, features, and operations; add parameters initEClass(processRequirementEClass, ProcessRequirement.class, "ProcessRequirement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -1831,6 +1852,8 @@ public class pdp4engReqGDPRPackageImpl extends EPackageImpl implements pdp4engRe initEClass(lawfulByVitalInterestEClass, LawfulByVitalInterest.class, "LawfulByVitalInterest", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getLawfulByVitalInterest_VitalInterest(), thePdp4engCommonGDPRPackage.getVitalInterest(), null, "vitalInterest", null, 1, 1, LawfulByVitalInterest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEClass(lawfullBySafeGuardEClass, LawfullBySafeGuard.class, "LawfullBySafeGuard", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + // Initialize enums and add enum literals initEEnum(linkabilityEEnum, Linkability.class, "Linkability"); addEEnumLiteral(linkabilityEEnum, Linkability.SINGLE); diff --git a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/pdp4engReqGDPRFactory.java b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/pdp4engReqGDPRFactory.java index 99f3336..ee5c392 100644 --- a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/pdp4engReqGDPRFactory.java +++ b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/pdp4engReqGDPRFactory.java @@ -431,6 +431,15 @@ public interface pdp4engReqGDPRFactory extends EFactory { */ LawfulByVitalInterest createLawfulByVitalInterest(); + /** + * Returns a new object of class 'Lawfull By Safe Guard'. + * + * + * @return a new object of class 'Lawfull By Safe Guard'. + * @generated + */ + LawfullBySafeGuard createLawfullBySafeGuard(); + /** * Returns the package supported by this factory. * diff --git a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/pdp4engReqGDPRPackage.java b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/pdp4engReqGDPRPackage.java index 7bfc69d..02a88e9 100644 --- a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/pdp4engReqGDPRPackage.java +++ b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/pdp4engReqGDPRPackage.java @@ -2556,6 +2556,70 @@ public interface pdp4engReqGDPRPackage extends EPackage { */ int LAWFUL_BY_VITAL_INTEREST_OPERATION_COUNT = LAWFUL_OPERATION_COUNT + 0; + /** + * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.impl.LawfullBySafeGuardImpl Lawfull By Safe Guard}' class. + * + * + * @see org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.impl.LawfullBySafeGuardImpl + * @see org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.impl.pdp4engReqGDPRPackageImpl#getLawfullBySafeGuard() + * @generated + */ + int LAWFULL_BY_SAFE_GUARD = 44; + + /** + * The feature id for the 'Base Named Element' reference. + * + * + * @generated + * @ordered + */ + int LAWFULL_BY_SAFE_GUARD__BASE_NAMED_ELEMENT = LAWFUL__BASE_NAMED_ELEMENT; + + /** + * The feature id for the 'Process' reference. + * + * + * @generated + * @ordered + */ + int LAWFULL_BY_SAFE_GUARD__PROCESS = LAWFUL__PROCESS; + + /** + * The feature id for the 'Data Subject' reference. + * + * + * @generated + * @ordered + */ + int LAWFULL_BY_SAFE_GUARD__DATA_SUBJECT = LAWFUL__DATA_SUBJECT; + + /** + * The feature id for the 'Personal Data' reference list. + * + * + * @generated + * @ordered + */ + int LAWFULL_BY_SAFE_GUARD__PERSONAL_DATA = LAWFUL__PERSONAL_DATA; + + /** + * The number of structural features of the 'Lawfull By Safe Guard' class. + * + * + * @generated + * @ordered + */ + int LAWFULL_BY_SAFE_GUARD_FEATURE_COUNT = LAWFUL_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Lawfull By Safe Guard' class. + * + * + * @generated + * @ordered + */ + int LAWFULL_BY_SAFE_GUARD_OPERATION_COUNT = LAWFUL_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.Linkability Linkability}' enum. * @@ -2564,7 +2628,7 @@ public interface pdp4engReqGDPRPackage extends EPackage { * @see org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.impl.pdp4engReqGDPRPackageImpl#getLinkability() * @generated */ - int LINKABILITY = 44; + int LINKABILITY = 45; /** * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.CollectionMethod Collection Method}' enum. @@ -2574,7 +2638,7 @@ public interface pdp4engReqGDPRPackage extends EPackage { * @see org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.impl.pdp4engReqGDPRPackageImpl#getCollectionMethod() * @generated */ - int COLLECTION_METHOD = 45; + int COLLECTION_METHOD = 46; /** * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.Duration Duration}' enum. @@ -2584,7 +2648,7 @@ public interface pdp4engReqGDPRPackage extends EPackage { * @see org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.impl.pdp4engReqGDPRPackageImpl#getDuration() * @generated */ - int DURATION = 46; + int DURATION = 47; /** * The meta object id for the '{@link org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.PseudonymKind Pseudonym Kind}' enum. @@ -2594,7 +2658,7 @@ public interface pdp4engReqGDPRPackage extends EPackage { * @see org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.impl.pdp4engReqGDPRPackageImpl#getPseudonymKind() * @generated */ - int PSEUDONYM_KIND = 47; + int PSEUDONYM_KIND = 48; /** @@ -3576,6 +3640,16 @@ public interface pdp4engReqGDPRPackage extends EPackage { */ EReference getLawfulByVitalInterest_VitalInterest(); + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.LawfullBySafeGuard Lawfull By Safe Guard}'. + * + * + * @return the meta object for class 'Lawfull By Safe Guard'. + * @see org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.LawfullBySafeGuard + * @generated + */ + EClass getLawfullBySafeGuard(); + /** * Returns the meta object for enum '{@link org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.Linkability Linkability}'. * @@ -4471,6 +4545,16 @@ public interface pdp4engReqGDPRPackage extends EPackage { */ EReference LAWFUL_BY_VITAL_INTEREST__VITAL_INTEREST = eINSTANCE.getLawfulByVitalInterest_VitalInterest(); + /** + * The meta object literal for the '{@link org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.impl.LawfullBySafeGuardImpl Lawfull By Safe Guard}' class. + * + * + * @see org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.impl.LawfullBySafeGuardImpl + * @see org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.impl.pdp4engReqGDPRPackageImpl#getLawfullBySafeGuard() + * @generated + */ + EClass LAWFULL_BY_SAFE_GUARD = eINSTANCE.getLawfullBySafeGuard(); + /** * The meta object literal for the '{@link org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.Linkability Linkability}' enum. * diff --git a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/util/pdp4engReqGDPRAdapterFactory.java b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/util/pdp4engReqGDPRAdapterFactory.java index ce835f8..fb88b1b 100644 --- a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/util/pdp4engReqGDPRAdapterFactory.java +++ b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/util/pdp4engReqGDPRAdapterFactory.java @@ -261,6 +261,10 @@ public class pdp4engReqGDPRAdapterFactory extends AdapterFactoryImpl { return createLawfulByVitalInterestAdapter(); } @Override + public Adapter caseLawfullBySafeGuard(LawfullBySafeGuard object) { + return createLawfullBySafeGuardAdapter(); + } + @Override public Adapter caseProcess(org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process object) { return createProcessAdapter(); } @@ -908,6 +912,20 @@ public class pdp4engReqGDPRAdapterFactory extends AdapterFactoryImpl { return null; } + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.LawfullBySafeGuard Lawfull By Safe Guard}'. + * + * 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 org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.LawfullBySafeGuard + * @generated + */ + public Adapter createLawfullBySafeGuardAdapter() { + return null; + } + /** * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.Process Process}'. * diff --git a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/util/pdp4engReqGDPRSwitch.java b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/util/pdp4engReqGDPRSwitch.java index c272dde..48301be 100644 --- a/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/util/pdp4engReqGDPRSwitch.java +++ b/plugins/req/org.eclipse.papyrus.pdp4eng.req.profile/src-gen/org/eclipse/papyrus/pdp4eng/req/profile/pdp4engReqGDPR/util/pdp4engReqGDPRSwitch.java @@ -394,6 +394,15 @@ public class pdp4engReqGDPRSwitch extends Switch { if (result == null) result = defaultCase(theEObject); return result; } + case pdp4engReqGDPRPackage.LAWFULL_BY_SAFE_GUARD: { + LawfullBySafeGuard lawfullBySafeGuard = (LawfullBySafeGuard)theEObject; + T result = caseLawfullBySafeGuard(lawfullBySafeGuard); + if (result == null) result = caseLawful(lawfullBySafeGuard); + if (result == null) result = caseProcessPrinciple(lawfullBySafeGuard); + if (result == null) result = caseGDPRPrinciple(lawfullBySafeGuard); + if (result == null) result = defaultCase(theEObject); + return result; + } default: return defaultCase(theEObject); } } @@ -1058,6 +1067,21 @@ public class pdp4engReqGDPRSwitch extends Switch { return null; } + /** + * Returns the result of interpreting the object as an instance of 'Lawfull By Safe Guard'. + * + * 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 'Lawfull By Safe Guard'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLawfullBySafeGuard(LawfullBySafeGuard object) { + return null; + } + /** * Returns the result of interpreting the object as an instance of 'Process'. * -- cgit v1.2.3