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


/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Unit Adaptation</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * </p>
 * <ul>
 *   <li>{@link ua.ansymo.hintco.UnitAdaptation#getUnit <em>Unit</em>}</li>
 *   <li>{@link ua.ansymo.hintco.UnitAdaptation#getParent <em>Parent</em>}</li>
 * </ul>
 *
 * @see ua.ansymo.hintco.HintcoPackage#getUnitAdaptation()
 * @model abstract="true"
 * @generated
 */
public interface UnitAdaptation extends Adaptation {
	/**
	 * Returns the value of the '<em><b>Unit</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link ua.ansymo.hintco.UnitInstance#getAdaptation <em>Adaptation</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Unit</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Unit</em>' container reference.
	 * @see #setUnit(UnitInstance)
	 * @see ua.ansymo.hintco.HintcoPackage#getUnitAdaptation_Unit()
	 * @see ua.ansymo.hintco.UnitInstance#getAdaptation
	 * @model opposite="adaptation" transient="false"
	 * @generated
	 */
	UnitInstance getUnit();

	/**
	 * Sets the value of the '{@link ua.ansymo.hintco.UnitAdaptation#getUnit <em>Unit</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Unit</em>' container reference.
	 * @see #getUnit()
	 * @generated
	 */
	void setUnit(UnitInstance value);

	/**
	 * Returns the value of the '<em><b>Parent</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link ua.ansymo.hintco.DecompositionUnitAdaptation#getChildren <em>Children</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Parent</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Parent</em>' container reference.
	 * @see #setParent(DecompositionUnitAdaptation)
	 * @see ua.ansymo.hintco.HintcoPackage#getUnitAdaptation_Parent()
	 * @see ua.ansymo.hintco.DecompositionUnitAdaptation#getChildren
	 * @model opposite="children" transient="false"
	 * @generated
	 */
	DecompositionUnitAdaptation getParent();

	/**
	 * Sets the value of the '{@link ua.ansymo.hintco.UnitAdaptation#getParent <em>Parent</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Parent</em>' container reference.
	 * @see #getParent()
	 * @generated
	 */
	void setParent(DecompositionUnitAdaptation value);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model unique="false"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel body='&lt;%ua.ansymo.hintco.UnitInstance%&gt; _unit = this.getUnit();\nboolean _tripleNotEquals = (_unit != null);\nif (_tripleNotEquals)\n{\n\treturn this.getUnit();\n}\n&lt;%ua.ansymo.hintco.DecompositionUnitAdaptation%&gt; _parent = this.getParent();\nboolean _tripleEquals = (_parent == null);\nif (_tripleEquals)\n{\n\treturn null;\n}\nreturn this.getParent().adapted();'"
	 * @generated
	 */
	UnitInstance adapted();

} // UnitAdaptation
