| /** |
| * Copyright (c) 2019 CEA LIST. |
| * |
| * 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: |
| * Nicolas FAUVERGUE (CEA LIST) nicolas.fauvergue@cea.fr - Initial API and implementation |
| */ |
| package org.eclipse.papyrus.sysml16.requirements; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| import org.eclipse.emf.ecore.EClass; |
| import org.eclipse.emf.ecore.EObject; |
| |
| import org.eclipse.uml2.uml.NamedElement; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Abstract Requirement</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.papyrus.sysml16.requirements.AbstractRequirement#getBase_NamedElement <em>Base Named Element</em>}</li> |
| * <li>{@link org.eclipse.papyrus.sysml16.requirements.AbstractRequirement#getDerived <em>Derived</em>}</li> |
| * <li>{@link org.eclipse.papyrus.sysml16.requirements.AbstractRequirement#getDerivedFrom <em>Derived From</em>}</li> |
| * <li>{@link org.eclipse.papyrus.sysml16.requirements.AbstractRequirement#getId <em>Id</em>}</li> |
| * <li>{@link org.eclipse.papyrus.sysml16.requirements.AbstractRequirement#getMaster <em>Master</em>}</li> |
| * <li>{@link org.eclipse.papyrus.sysml16.requirements.AbstractRequirement#getRefinedBy <em>Refined By</em>}</li> |
| * <li>{@link org.eclipse.papyrus.sysml16.requirements.AbstractRequirement#getSatisfiedBy <em>Satisfied By</em>}</li> |
| * <li>{@link org.eclipse.papyrus.sysml16.requirements.AbstractRequirement#getText <em>Text</em>}</li> |
| * <li>{@link org.eclipse.papyrus.sysml16.requirements.AbstractRequirement#getTracedTo <em>Traced To</em>}</li> |
| * <li>{@link org.eclipse.papyrus.sysml16.requirements.AbstractRequirement#getVerifiedBy <em>Verified By</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.papyrus.sysml16.requirements.RequirementsPackage#getAbstractRequirement() |
| * @model abstract="true" |
| * @generated |
| */ |
| public interface AbstractRequirement 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.sysml16.requirements.RequirementsPackage#getAbstractRequirement_Base_NamedElement() |
| * @model ordered="false" |
| * @generated |
| */ |
| NamedElement getBase_NamedElement(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.sysml16.requirements.AbstractRequirement#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>Derived</b></em>' reference list. |
| * The list contents are of type {@link org.eclipse.papyrus.sysml16.requirements.AbstractRequirement}. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Derived from all requirements that are the client of a «deriveReqt» relationship for which this requirement is a supplier. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Derived</em>' reference list. |
| * @see org.eclipse.papyrus.sysml16.requirements.RequirementsPackage#getAbstractRequirement_Derived() |
| * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" |
| * @generated |
| */ |
| EList<AbstractRequirement> getDerived(); |
| |
| /** |
| * Returns the value of the '<em><b>Derived From</b></em>' reference list. |
| * The list contents are of type {@link org.eclipse.papyrus.sysml16.requirements.AbstractRequirement}. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Derived from all requirements that are the supplier of a «deriveReqt» relationship for which this requirement is a client. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Derived From</em>' reference list. |
| * @see org.eclipse.papyrus.sysml16.requirements.RequirementsPackage#getAbstractRequirement_DerivedFrom() |
| * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" |
| * @generated |
| */ |
| EList<AbstractRequirement> getDerivedFrom(); |
| |
| /** |
| * Returns the value of the '<em><b>Id</b></em>' attribute. |
| * The default value is <code>""</code>. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The unique id of the requirement. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Id</em>' attribute. |
| * @see #setId(String) |
| * @see org.eclipse.papyrus.sysml16.requirements.RequirementsPackage#getAbstractRequirement_Id() |
| * @model default="" dataType="org.eclipse.uml2.types.String" required="true" ordered="false" |
| * @generated |
| */ |
| String getId(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.sysml16.requirements.AbstractRequirement#getId <em>Id</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Id</em>' attribute. |
| * @see #getId() |
| * @generated |
| */ |
| void setId(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Master</b></em>' reference list. |
| * The list contents are of type {@link org.eclipse.papyrus.sysml16.requirements.AbstractRequirement}. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * This is a derived property that lists the master requirement for this slave requirement. The master attribute is derived from the supplier of the Copy dependency that has this requirement as the slave. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Master</em>' reference list. |
| * @see org.eclipse.papyrus.sysml16.requirements.RequirementsPackage#getAbstractRequirement_Master() |
| * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" |
| * @generated |
| */ |
| EList<AbstractRequirement> getMaster(); |
| |
| /** |
| * Returns the value of the '<em><b>Refined By</b></em>' reference list. |
| * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Derived from all elements that are the client of a «refine» relationship for which this requirement is a supplier. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Refined By</em>' reference list. |
| * @see org.eclipse.papyrus.sysml16.requirements.RequirementsPackage#getAbstractRequirement_RefinedBy() |
| * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" |
| * @generated |
| */ |
| EList<NamedElement> getRefinedBy(); |
| |
| /** |
| * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Refined By</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 #getRefinedBy() |
| * @generated |
| */ |
| NamedElement getRefinedBy(String name); |
| |
| /** |
| * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Refined By</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 #getRefinedBy() |
| * @generated |
| */ |
| NamedElement getRefinedBy(String name, boolean ignoreCase, EClass eClass); |
| |
| /** |
| * Returns the value of the '<em><b>Satisfied By</b></em>' reference list. |
| * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Derived from all elements that are the client of a «satisfy» relationship for which this requirement is a supplier. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Satisfied By</em>' reference list. |
| * @see org.eclipse.papyrus.sysml16.requirements.RequirementsPackage#getAbstractRequirement_SatisfiedBy() |
| * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" |
| * @generated |
| */ |
| EList<NamedElement> getSatisfiedBy(); |
| |
| /** |
| * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Satisfied By</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 #getSatisfiedBy() |
| * @generated |
| */ |
| NamedElement getSatisfiedBy(String name); |
| |
| /** |
| * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Satisfied By</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 #getSatisfiedBy() |
| * @generated |
| */ |
| NamedElement getSatisfiedBy(String name, boolean ignoreCase, EClass eClass); |
| |
| /** |
| * Returns the value of the '<em><b>Text</b></em>' attribute. |
| * The default value is <code>""</code>. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The textual representation or a reference to the textual representation of the requirement. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Text</em>' attribute. |
| * @see #setText(String) |
| * @see org.eclipse.papyrus.sysml16.requirements.RequirementsPackage#getAbstractRequirement_Text() |
| * @model default="" dataType="org.eclipse.uml2.types.String" required="true" ordered="false" |
| * @generated |
| */ |
| String getText(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.sysml16.requirements.AbstractRequirement#getText <em>Text</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Text</em>' attribute. |
| * @see #getText() |
| * @generated |
| */ |
| void setText(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Traced To</b></em>' reference list. |
| * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Derived from all elements that are the client of a «trace» relationship for which this requirement is a supplier. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Traced To</em>' reference list. |
| * @see org.eclipse.papyrus.sysml16.requirements.RequirementsPackage#getAbstractRequirement_TracedTo() |
| * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" |
| * @generated |
| */ |
| EList<NamedElement> getTracedTo(); |
| |
| /** |
| * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Traced To</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 #getTracedTo() |
| * @generated |
| */ |
| NamedElement getTracedTo(String name); |
| |
| /** |
| * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Traced To</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 #getTracedTo() |
| * @generated |
| */ |
| NamedElement getTracedTo(String name, boolean ignoreCase, EClass eClass); |
| |
| /** |
| * Returns the value of the '<em><b>Verified By</b></em>' reference list. |
| * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Derived from all elements that are the client of a «verify» relationship for which this requirement is a supplier. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Verified By</em>' reference list. |
| * @see org.eclipse.papyrus.sysml16.requirements.RequirementsPackage#getAbstractRequirement_VerifiedBy() |
| * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" |
| * @generated |
| */ |
| EList<NamedElement> getVerifiedBy(); |
| |
| /** |
| * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Verified By</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 #getVerifiedBy() |
| * @generated |
| */ |
| NamedElement getVerifiedBy(String name); |
| |
| /** |
| * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Verified By</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 #getVerifiedBy() |
| * @generated |
| */ |
| NamedElement getVerifiedBy(String name, boolean ignoreCase, EClass eClass); |
| |
| } // AbstractRequirement |