Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/Feature.java')
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/Feature.java103
1 files changed, 49 insertions, 54 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/Feature.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/Feature.java
index 4cac05d9144..73ffa8511e5 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/Feature.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/featuremodeling/Feature.java
@@ -15,23 +15,19 @@
*****************************************************************************/
package org.eclipse.papyrus.eastadl.structure.featuremodeling;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype;
+import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatype;
/**
* <!-- begin-user-doc --> A representation of the model object '<em><b>Feature</b></em>'. <!--
* end-user-doc -->
- *
+ *
* <!-- begin-model-doc -->
- * A Feature represents a characteristic or trait of some object of consideration. The actual object of consideration depends on the particular
- * purpose of the feature's containing feature model.
+ * A Feature represents a characteristic or trait of some object of consideration. The actual object of consideration depends on the particular purpose of the feature's containing feature model.
*
- * Example 1: The core technical feature model on vehicle level defines the technical properties of the complete-system, i.e. vehicle. So its object
- * of consideration is the vehicle as a whole and therefore its features represent characteristics or traits of the vehicle as a whole.
+ * Example 1: The core technical feature model on vehicle level defines the technical properties of the complete-system, i.e. vehicle. So its object of consideration is the vehicle as a whole and therefore its features represent characteristics or traits of the vehicle as a whole.
*
- * Example 2: The public feature model of some function F in the FDA defines the features of this particular software function. So its object of
- * consideration is function F and therefore its features represent characteristics or traits of this function F.
+ * Example 2: The public feature model of some function F in the FDA defines the features of this particular software function. So its object of consideration is function F and therefore its features represent characteristics or traits of this function F.
*
*
* Semantics:
@@ -41,19 +37,19 @@ import org.eclipse.papyrus.eastadl.infrastructure.datatypes.EADatatypePrototype;
* Extension:
* Class
* <!-- end-model-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getBase_Class <em>Base Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getCardinality <em>Cardinality</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getRequiredBindingTime <em>Required Binding Time</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getActualBindingTime <em>Actual Binding Time</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getFeatureParameter <em>Feature Parameter</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getChildNode <em>Child Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getBase_Class <em>Base Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getCardinality <em>Cardinality</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getRequiredBindingTime <em>Required Binding Time</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getActualBindingTime <em>Actual Binding Time</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getFeatureParameter <em>Feature Parameter</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getChildNode <em>Child Node</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeature()
* @model
* @generated
@@ -64,10 +60,10 @@ public interface Feature extends FeatureTreeNode {
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Class</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Base Class</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 Class</em>' reference.
* @see #setBase_Class(org.eclipse.uml2.uml.Class)
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeature_Base_Class()
@@ -80,9 +76,7 @@ public interface Feature extends FeatureTreeNode {
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getBase_Class <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Class</em>' reference.
+ * @param value the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
@@ -92,7 +86,8 @@ public interface Feature extends FeatureTreeNode {
* Returns the value of the '<em><b>Actual Binding Time</b></em>' reference. <!-- begin-user-doc
* -->
* <p>
- * If the meaning of the '<em>Actual Binding Time</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Actual Binding Time</em>' reference isn't clear, there really
+ * should be more of a description here...
* </p>
* <!-- end-user-doc --> <!-- begin-model-doc --> The actual binding time, independent of the
* required binding time. <!-- end-model-doc -->
@@ -108,7 +103,8 @@ public interface Feature extends FeatureTreeNode {
/**
* Returns the value of the '<em><b>Cardinality</b></em>' attribute. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Cardinality</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Cardinality</em>' attribute isn't clear, there really should be
+ * more of a description here...
* </p>
* <!-- end-user-doc --> <!-- begin-model-doc --> The Cardinality describes for a feature its
* cardinality. In the context of a feature group it describes the variability behavior of the
@@ -130,49 +126,56 @@ public interface Feature extends FeatureTreeNode {
String getCardinality();
/**
- * Returns the value of the '<em><b>Child Node</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.featuremodeling.FeatureTreeNode}.
+ * Returns the value of the '<em><b>Child Node</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Child Node</em>' containment reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Child Node</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
- * @return the value of the '<em>Child Node</em>' reference list.
+ * @return the value of the '<em>Child Node</em>' reference.
+ * @see #setChildNode(FeatureTreeNode)
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeature_ChildNode()
- * @model ordered="false"
+ * @model transient="true" volatile="true" derived="true" ordered="false"
* @generated
*/
- EList<FeatureTreeNode> getChildNode();
+ FeatureTreeNode getChildNode();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getChildNode <em>Child Node</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Child Node</em>' reference.
+ * @see #getChildNode()
+ * @generated
+ */
+ void setChildNode(FeatureTreeNode value);
/**
* Returns the value of the '<em><b>Feature Parameter</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Feature Parameter</em>' containment reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Feature Parameter</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Feature Parameter</em>' reference.
- * @see #setFeatureParameter(EADatatypePrototype)
+ * @see #setFeatureParameter(EADatatype)
* @see org.eclipse.papyrus.eastadl.structure.featuremodeling.FeaturemodelingPackage#getFeature_FeatureParameter()
* @model ordered="false"
* @generated
*/
- EADatatypePrototype getFeatureParameter();
+ EADatatype getFeatureParameter();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getFeatureParameter <em>Feature Parameter</em>}'
- * reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getFeatureParameter <em>Feature Parameter</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Feature Parameter</em>' reference.
+ * @param value the new value of the '<em>Feature Parameter</em>' reference.
* @see #getFeatureParameter()
* @generated
*/
- void setFeatureParameter(EADatatypePrototype value);
+ void setFeatureParameter(EADatatype value);
/**
* Returns the value of the '<em><b>Required Binding Time</b></em>' reference. <!--
@@ -190,12 +193,9 @@ public interface Feature extends FeatureTreeNode {
BindingTime getRequiredBindingTime();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getActualBindingTime <em>Actual Binding Time</em>}'
- * reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getActualBindingTime <em>Actual Binding Time</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Actual Binding Time</em>' reference.
+ * @param value the new value of the '<em>Actual Binding Time</em>' reference.
* @see #getActualBindingTime()
* @generated
*/
@@ -204,21 +204,16 @@ public interface Feature extends FeatureTreeNode {
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getCardinality <em>Cardinality</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Cardinality</em>' attribute.
+ * @param value the new value of the '<em>Cardinality</em>' attribute.
* @see #getCardinality()
* @generated
*/
void setCardinality(String value);
/**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getRequiredBindingTime
- * <em>Required Binding Time</em>}' reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.featuremodeling.Feature#getRequiredBindingTime <em>Required Binding Time</em>}' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Required Binding Time</em>' reference.
+ * @param value the new value of the '<em>Required Binding Time</em>' reference.
* @see #getRequiredBindingTime()
* @generated
*/

Back to the top