Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/requirements/requirements/Requirement.java')
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/requirements/requirements/Requirement.java114
1 files changed, 114 insertions, 0 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/requirements/requirements/Requirement.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/requirements/requirements/Requirement.java
new file mode 100644
index 00000000000..725a1fe6cad
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/requirements/requirements/Requirement.java
@@ -0,0 +1,114 @@
+/**
+ */
+package org.eclipse.papyrus.eastadl.requirements.requirements;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.behavior.Mode;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.TraceableSpecification;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Requirement</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * The Requirement represents a capability or condition that must (or should) be satisfied. A Requirement can also specify an informal constraint, e.g. "The development of the component X must be according to the standard Y", or "The realization of this function as a software component must adhere to the scope and external interface as specified by this function". It will be used to unite the common properties of specific requirement types. A Requirement may either be directly associated to a Context (by inheriting from TraceableSpecification or it may be included in a RequirementContainer, which represents a larger unit or module of specification information.
+ *
+ * The traceability between Requirement entities, and other specification or design entities, will be ensured by the relationship dependencies described in the Infrastructure part of this specification.
+ *
+ * Semantics:
+ * The Requirement metaclass applies to the EAElement that is associated to the Requirement through the Satisfy relation.
+ *
+ * Notation:
+ * Requirement is shown as a solid rectangle with Req top right and its name.
+ *
+ * Changes:
+ * Renamed from Requirement, name clash with SysML
+ * ToDo:
+ * Check the attributes specified in EAST.
+ *
+ * Extension:
+ * To specialize SysML::Requirement, which extends Class
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.eastadl.requirements.requirements.Requirement#getFormalism <em>Formalism</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.requirements.requirements.Requirement#getUrl <em>Url</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.requirements.requirements.Requirement#getMode <em>Mode</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage#getRequirement()
+ * @model
+ * @generated
+ */
+public interface Requirement extends org.eclipse.papyrus.sysml.requirements.Requirement, TraceableSpecification {
+ /**
+ * Returns the value of the '<em><b>Formalism</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Specifies the language used for the requirement statement.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Formalism</em>' attribute.
+ * @see #setFormalism(String)
+ * @see org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage#getRequirement_Formalism()
+ * @model dataType="org.eclipse.uml2.types.String" ordered="false"
+ * @generated
+ */
+ String getFormalism();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.requirements.requirements.Requirement#getFormalism <em>Formalism</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Formalism</em>' attribute.
+ * @see #getFormalism()
+ * @generated
+ */
+ void setFormalism(String value);
+
+ /**
+ * Returns the value of the '<em><b>Url</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Reference to possible external file containing the requirement statement.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Url</em>' attribute.
+ * @see #setUrl(String)
+ * @see org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage#getRequirement_Url()
+ * @model unique="false" dataType="org.eclipse.uml2.types.String" ordered="false"
+ * @generated
+ */
+ String getUrl();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.requirements.requirements.Requirement#getUrl <em>Url</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Url</em>' attribute.
+ * @see #getUrl()
+ * @generated
+ */
+ void setUrl(String value);
+
+ /**
+ * Returns the value of the '<em><b>Mode</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.behavior.Mode}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mode</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>Mode</em>' reference list.
+ * @see org.eclipse.papyrus.eastadl.requirements.requirements.RequirementsPackage#getRequirement_Mode()
+ * @model ordered="false"
+ * @generated
+ */
+ EList<Mode> getMode();
+
+} // Requirement

Back to the top