| /** |
| */ |
| package comps; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| import org.eclipse.emf.ecore.EObject; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Component</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link comps.Component#getName <em>Name</em>}</li> |
| * <li>{@link comps.Component#getInPorts <em>In Ports</em>}</li> |
| * <li>{@link comps.Component#getOutPorts <em>Out Ports</em>}</li> |
| * <li>{@link comps.Component#getComponents <em>Components</em>}</li> |
| * <li>{@link comps.Component#getConnectors <em>Connectors</em>}</li> |
| * <li>{@link comps.Component#getAction <em>Action</em>}</li> |
| * </ul> |
| * |
| * @see comps.CompsPackage#getComponent() |
| * @model |
| * @generated |
| */ |
| public interface Component extends EObject { |
| /** |
| * 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 #setName(String) |
| * @see comps.CompsPackage#getComponent_Name() |
| * @model |
| * @generated |
| */ |
| String getName(); |
| |
| /** |
| * Sets the value of the '{@link comps.Component#getName <em>Name</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Name</em>' attribute. |
| * @see #getName() |
| * @generated |
| */ |
| void setName(String value); |
| |
| /** |
| * Returns the value of the '<em><b>In Ports</b></em>' containment reference list. |
| * The list contents are of type {@link comps.Port}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>In 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>In Ports</em>' containment reference list. |
| * @see comps.CompsPackage#getComponent_InPorts() |
| * @model containment="true" |
| * @generated |
| */ |
| EList<Port> getInPorts(); |
| |
| /** |
| * Returns the value of the '<em><b>Out Ports</b></em>' containment reference list. |
| * The list contents are of type {@link comps.Port}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Out 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>Out Ports</em>' containment reference list. |
| * @see comps.CompsPackage#getComponent_OutPorts() |
| * @model containment="true" |
| * @generated |
| */ |
| EList<Port> getOutPorts(); |
| |
| /** |
| * Returns the value of the '<em><b>Components</b></em>' containment reference list. |
| * The list contents are of type {@link comps.Component}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Components</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>Components</em>' containment reference list. |
| * @see comps.CompsPackage#getComponent_Components() |
| * @model containment="true" |
| * @generated |
| */ |
| EList<Component> getComponents(); |
| |
| /** |
| * Returns the value of the '<em><b>Connectors</b></em>' containment reference list. |
| * The list contents are of type {@link comps.Connector}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Connectors</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>Connectors</em>' containment reference list. |
| * @see comps.CompsPackage#getComponent_Connectors() |
| * @model containment="true" |
| * @generated |
| */ |
| EList<Connector> getConnectors(); |
| |
| /** |
| * Returns the value of the '<em><b>Action</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Action</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Action</em>' attribute. |
| * @see #setAction(String) |
| * @see comps.CompsPackage#getComponent_Action() |
| * @model |
| * @generated |
| */ |
| String getAction(); |
| |
| /** |
| * Sets the value of the '{@link comps.Component#getAction <em>Action</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Action</em>' attribute. |
| * @see #getAction() |
| * @generated |
| */ |
| void setAction(String value); |
| |
| } // Component |