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

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

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Cosim Unit Instance</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * </p>
 * <ul>
 *   <li>{@link ua.ansymo.hintco.CosimUnitInstance#getDeclaration <em>Declaration</em>}</li>
 *   <li>{@link ua.ansymo.hintco.CosimUnitInstance#getPorts <em>Ports</em>}</li>
 * </ul>
 *
 * @see ua.ansymo.hintco.HintcoPackage#getCosimUnitInstance()
 * @model
 * @generated
 */
public interface CosimUnitInstance extends IDed, PrecendenceNode {
	/**
	 * Returns the value of the '<em><b>Declaration</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Declaration</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Declaration</em>' reference.
	 * @see #setDeclaration(CosimUnitDeclaration)
	 * @see ua.ansymo.hintco.HintcoPackage#getCosimUnitInstance_Declaration()
	 * @model required="true"
	 * @generated
	 */
	CosimUnitDeclaration getDeclaration();

	/**
	 * Sets the value of the '{@link ua.ansymo.hintco.CosimUnitInstance#getDeclaration <em>Declaration</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Declaration</em>' reference.
	 * @see #getDeclaration()
	 * @generated
	 */
	void setDeclaration(CosimUnitDeclaration value);

	/**
	 * Returns the value of the '<em><b>Ports</b></em>' containment reference list.
	 * The list contents are of type {@link ua.ansymo.hintco.PortInstance}.
	 * It is bidirectional and its opposite is '{@link ua.ansymo.hintco.PortInstance#getUnit <em>Unit</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Ports</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>Ports</em>' containment reference list.
	 * @see ua.ansymo.hintco.HintcoPackage#getCosimUnitInstance_Ports()
	 * @see ua.ansymo.hintco.PortInstance#getUnit
	 * @model opposite="unit" containment="true"
	 * @generated
	 */
	EList<PortInstance> getPorts();

} // CosimUnitInstance
