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


/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Port Instance</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * </p>
 * <ul>
 *   <li>{@link ua.ansymo.hintco.PortInstance#getAdaptation <em>Adaptation</em>}</li>
 *   <li>{@link ua.ansymo.hintco.PortInstance#getUnit <em>Unit</em>}</li>
 * </ul>
 *
 * @see ua.ansymo.hintco.HintcoPackage#getPortInstance()
 * @model abstract="true"
 * @generated
 */
public interface PortInstance extends PrecendenceNode, IDed {
	/**
	 * Returns the value of the '<em><b>Adaptation</b></em>' containment reference.
	 * It is bidirectional and its opposite is '{@link ua.ansymo.hintco.Adaptation#getPort <em>Port</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Adaptation</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Adaptation</em>' containment reference.
	 * @see #setAdaptation(Adaptation)
	 * @see ua.ansymo.hintco.HintcoPackage#getPortInstance_Adaptation()
	 * @see ua.ansymo.hintco.Adaptation#getPort
	 * @model opposite="port" containment="true"
	 * @generated
	 */
	Adaptation getAdaptation();

	/**
	 * Sets the value of the '{@link ua.ansymo.hintco.PortInstance#getAdaptation <em>Adaptation</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Adaptation</em>' containment reference.
	 * @see #getAdaptation()
	 * @generated
	 */
	void setAdaptation(Adaptation value);

	/**
	 * Returns the value of the '<em><b>Unit</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link ua.ansymo.hintco.CosimUnitInstance#getPorts <em>Ports</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(CosimUnitInstance)
	 * @see ua.ansymo.hintco.HintcoPackage#getPortInstance_Unit()
	 * @see ua.ansymo.hintco.CosimUnitInstance#getPorts
	 * @model opposite="ports" transient="false"
	 * @generated
	 */
	CosimUnitInstance getUnit();

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

} // PortInstance
