/**
 */
package ua.ansymo.hintco;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Variant Diagram</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * </p>
 * <ul>
 *   <li>{@link ua.ansymo.hintco.VariantDiagram#getChildren <em>Children</em>}</li>
 *   <li>{@link ua.ansymo.hintco.VariantDiagram#getAlternative <em>Alternative</em>}</li>
 *   <li>{@link ua.ansymo.hintco.VariantDiagram#getName <em>Name</em>}</li>
 * </ul>
 *
 * @see ua.ansymo.hintco.HintcoPackage#getVariantDiagram()
 * @model
 * @generated
 */
public interface VariantDiagram extends IDed {
	/**
	 * Returns the value of the '<em><b>Children</b></em>' reference list.
	 * The list contents are of type {@link ua.ansymo.hintco.VariantDiagram}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Children</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>Children</em>' reference list.
	 * @see ua.ansymo.hintco.HintcoPackage#getVariantDiagram_Children()
	 * @model
	 * @generated
	 */
	EList<VariantDiagram> getChildren();

	/**
	 * Returns the value of the '<em><b>Alternative</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Alternative</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Alternative</em>' reference.
	 * @see #setAlternative(Alternative)
	 * @see ua.ansymo.hintco.HintcoPackage#getVariantDiagram_Alternative()
	 * @model
	 * @generated
	 */
	Alternative getAlternative();

	/**
	 * Sets the value of the '{@link ua.ansymo.hintco.VariantDiagram#getAlternative <em>Alternative</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Alternative</em>' reference.
	 * @see #getAlternative()
	 * @generated
	 */
	void setAlternative(Alternative value);

	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see ua.ansymo.hintco.HintcoPackage#getVariantDiagram_Name()
	 * @model unique="false" transient="true" changeable="false" volatile="true" derived="true"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel get='&lt;%java.lang.String%&gt; _xblockexpression = null;\n{\n\t&lt;%java.lang.String%&gt; _identifier = this.getIdentifier();\n\tfinal &lt;%java.lang.String%&gt; prefix = (_identifier + \"_\");\n\t&lt;%java.lang.String%&gt; _xifexpression = null;\n\t&lt;%ua.ansymo.hintco.Alternative%&gt; _alternative = this.getAlternative();\n\tboolean _tripleNotEquals = (_alternative != null);\n\tif (_tripleNotEquals)\n\t{\n\t\t&lt;%java.lang.String%&gt; _xifexpression_1 = null;\n\t\t&lt;%ua.ansymo.hintco.Alternative%&gt; _alternative_1 = this.getAlternative();\n\t\tif ((_alternative_1 instanceof &lt;%ua.ansymo.hintco.RootCandidateScenario%&gt;))\n\t\t{\n\t\t\t&lt;%ua.ansymo.hintco.Alternative%&gt; _alternative_2 = this.getAlternative();\n\t\t\t&lt;%java.lang.String%&gt; _name = ((&lt;%ua.ansymo.hintco.RootCandidateScenario%&gt;) _alternative_2).getName();\n\t\t\t_xifexpression_1 = ((prefix + \"sce \") + _name);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t&lt;%java.lang.String%&gt; _xifexpression_2 = null;\n\t\t\t&lt;%ua.ansymo.hintco.Alternative%&gt; _alternative_3 = this.getAlternative();\n\t\t\tif ((_alternative_3 instanceof &lt;%ua.ansymo.hintco.XorPortAdaptation%&gt;))\n\t\t\t{\n\t\t\t\t&lt;%ua.ansymo.hintco.Alternative%&gt; _alternative_4 = this.getAlternative();\n\t\t\t\t&lt;%java.lang.String%&gt; _name_1 = ((&lt;%ua.ansymo.hintco.XorPortAdaptation%&gt;) _alternative_4).getName();\n\t\t\t\t_xifexpression_2 = ((prefix + \"xor \") + _name_1);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t&lt;%java.lang.String%&gt; _xifexpression_3 = null;\n\t\t\t\t&lt;%ua.ansymo.hintco.Alternative%&gt; _alternative_5 = this.getAlternative();\n\t\t\t\tif ((_alternative_5 instanceof &lt;%ua.ansymo.hintco.XorUnitAdaptation%&gt;))\n\t\t\t\t{\n\t\t\t\t\t&lt;%ua.ansymo.hintco.Alternative%&gt; _alternative_6 = this.getAlternative();\n\t\t\t\t\t&lt;%java.lang.String%&gt; _name_2 = ((&lt;%ua.ansymo.hintco.XorUnitAdaptation%&gt;) _alternative_6).getName();\n\t\t\t\t\t_xifexpression_3 = ((prefix + \"xor \") + _name_2);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\t&lt;%java.lang.String%&gt; _xifexpression_4 = null;\n\t\t\t\t\t&lt;%ua.ansymo.hintco.Alternative%&gt; _alternative_7 = this.getAlternative();\n\t\t\t\t\tif ((_alternative_7 instanceof &lt;%ua.ansymo.hintco.ExtrapolationAdaptation%&gt;))\n\t\t\t\t\t{\n\t\t\t\t\t\t&lt;%ua.ansymo.hintco.Alternative%&gt; _alternative_8 = this.getAlternative();\n\t\t\t\t\t\t&lt;%java.lang.String%&gt; _name_3 = ((&lt;%ua.ansymo.hintco.ExtrapolationAdaptation%&gt;) _alternative_8).getName();\n\t\t\t\t\t\t_xifexpression_4 = ((prefix + \"extra \") + _name_3);\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\t&lt;%java.lang.String%&gt; _xifexpression_5 = null;\n\t\t\t\t\t\t&lt;%ua.ansymo.hintco.Alternative%&gt; _alternative_9 = this.getAlternative();\n\t\t\t\t\t\tif ((_alternative_9 instanceof &lt;%ua.ansymo.hintco.InterpolationAdaptation%&gt;))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t&lt;%ua.ansymo.hintco.Alternative%&gt; _alternative_10 = this.getAlternative();\n\t\t\t\t\t\t\t&lt;%java.lang.String%&gt; _name_4 = ((&lt;%ua.ansymo.hintco.InterpolationAdaptation%&gt;) _alternative_10).getName();\n\t\t\t\t\t\t\t_xifexpression_5 = ((prefix + \"intra \") + _name_4);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t_xifexpression_5 = (prefix + \"implement\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t_xifexpression_4 = _xifexpression_5;\n\t\t\t\t\t}\n\t\t\t\t\t_xifexpression_3 = _xifexpression_4;\n\t\t\t\t}\n\t\t\t\t_xifexpression_2 = _xifexpression_3;\n\t\t\t}\n\t\t\t_xifexpression_1 = _xifexpression_2;\n\t\t}\n\t\t_xifexpression = _xifexpression_1;\n\t}\n\telse\n\t{\n\t\t_xifexpression = (prefix + \"root\");\n\t}\n\t_xblockexpression = _xifexpression;\n}\nreturn _xblockexpression;'"
	 * @generated
	 */
	String getName();

} // VariantDiagram
