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


/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Port Adaptation</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * </p>
 * <ul>
 *   <li>{@link ua.ansymo.hintco.PortAdaptation#getPort <em>Port</em>}</li>
 *   <li>{@link ua.ansymo.hintco.PortAdaptation#getParent <em>Parent</em>}</li>
 * </ul>
 *
 * @see ua.ansymo.hintco.HintcoPackage#getPortAdaptation()
 * @model abstract="true"
 * @generated
 */
public interface PortAdaptation extends Adaptation {
	/**
	 * Returns the value of the '<em><b>Port</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link ua.ansymo.hintco.PortInstance#getAdaptation <em>Adaptation</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Port</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>Port</em>' container reference.
	 * @see #setPort(PortInstance)
	 * @see ua.ansymo.hintco.HintcoPackage#getPortAdaptation_Port()
	 * @see ua.ansymo.hintco.PortInstance#getAdaptation
	 * @model opposite="adaptation" transient="false"
	 * @generated
	 */
	PortInstance getPort();

	/**
	 * Sets the value of the '{@link ua.ansymo.hintco.PortAdaptation#getPort <em>Port</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Port</em>' container reference.
	 * @see #getPort()
	 * @generated
	 */
	void setPort(PortInstance value);

	/**
	 * Returns the value of the '<em><b>Parent</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link ua.ansymo.hintco.DecompositionPortAdaptation#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(DecompositionPortAdaptation)
	 * @see ua.ansymo.hintco.HintcoPackage#getPortAdaptation_Parent()
	 * @see ua.ansymo.hintco.DecompositionPortAdaptation#getChildren
	 * @model opposite="children" transient="false"
	 * @generated
	 */
	DecompositionPortAdaptation getParent();

	/**
	 * Sets the value of the '{@link ua.ansymo.hintco.PortAdaptation#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(DecompositionPortAdaptation value);

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

} // PortAdaptation
