blob: 5144b199f42f408abbebf3652d4b5919a005a9af [file] [log] [blame]
/**
* 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;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.DataSubject;
import org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData;
import org.eclipse.uml2.uml.NamedElement;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Privacy Requirement</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.PrivacyRequirement#getBase_NamedElement <em>Base Named Element</em>}</li>
* <li>{@link org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.PrivacyRequirement#getDataSubject <em>Data Subject</em>}</li>
* <li>{@link org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.PrivacyRequirement#getCounterstakeholders <em>Counterstakeholders</em>}</li>
* <li>{@link org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.PrivacyRequirement#getPersonalData <em>Personal Data</em>}</li>
* </ul>
*
* @see org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.pdp4engReqGDPRPackage#getPrivacyRequirement()
* @model
* @generated
*/
public interface PrivacyRequirement extends EObject {
/**
* Returns the value of the '<em><b>Base Named Element</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Named Element</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Base Named Element</em>' reference.
* @see #setBase_NamedElement(NamedElement)
* @see org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.pdp4engReqGDPRPackage#getPrivacyRequirement_Base_NamedElement()
* @model ordered="false"
* @generated
*/
NamedElement getBase_NamedElement();
/**
* Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.PrivacyRequirement#getBase_NamedElement <em>Base Named Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base Named Element</em>' reference.
* @see #getBase_NamedElement()
* @generated
*/
void setBase_NamedElement(NamedElement value);
/**
* Returns the value of the '<em><b>Data Subject</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Data Subject</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Data Subject</em>' reference.
* @see #setDataSubject(DataSubject)
* @see org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.pdp4engReqGDPRPackage#getPrivacyRequirement_DataSubject()
* @model required="true" ordered="false"
* @generated
*/
DataSubject getDataSubject();
/**
* Sets the value of the '{@link org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.PrivacyRequirement#getDataSubject <em>Data Subject</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Data Subject</em>' reference.
* @see #getDataSubject()
* @generated
*/
void setDataSubject(DataSubject value);
/**
* Returns the value of the '<em><b>Counterstakeholders</b></em>' reference list.
* The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Counterstakeholders</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Counterstakeholders</em>' reference list.
* @see org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.pdp4engReqGDPRPackage#getPrivacyRequirement_Counterstakeholders()
* @model ordered="false"
* @generated
*/
EList<NamedElement> getCounterstakeholders();
/**
* Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Counterstakeholders</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>.
* @see #getCounterstakeholders()
* @generated
*/
NamedElement getCounterstakeholders(String name);
/**
* Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Counterstakeholders</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons.
* @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>.
* @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>.
* @see #getCounterstakeholders()
* @generated
*/
NamedElement getCounterstakeholders(String name, boolean ignoreCase, EClass eClass);
/**
* Returns the value of the '<em><b>Personal Data</b></em>' reference list.
* The list contents are of type {@link org.eclipse.papyrus.pdp4eng.common.profile.pdp4engCommonGDPR.PersonalData}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Personal Data</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Personal Data</em>' reference list.
* @see org.eclipse.papyrus.pdp4eng.req.profile.pdp4engReqGDPR.pdp4engReqGDPRPackage#getPrivacyRequirement_PersonalData()
* @model ordered="false"
* @generated
*/
EList<PersonalData> getPersonalData();
} // PrivacyRequirement