blob: e52e64456ef1a3171f3e268d7d9ed8733502bff9 [file] [log] [blame]
/**
* Copyright (c) 2020 CEA LIST.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html\n\nContributors:
* Arnault Lapitre (CEA LIST) arnault.lapitre@cea.fr
* - Initial API and Implementation
*/
package org.eclipse.efm.ecore.formalml.infrastructure;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Channel</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.efm.ecore.formalml.infrastructure.Channel#getDirection <em>Direction</em>}</li>
* <li>{@link org.eclipse.efm.ecore.formalml.infrastructure.Channel#getMachine <em>Machine</em>}</li>
* <li>{@link org.eclipse.efm.ecore.formalml.infrastructure.Channel#getPort <em>Port</em>}</li>
* <li>{@link org.eclipse.efm.ecore.formalml.infrastructure.Channel#getSignal <em>Signal</em>}</li>
* </ul>
*
* @see org.eclipse.efm.ecore.formalml.infrastructure.InfrastructurePackage#getChannel()
* @model
* @generated
*/
public interface Channel extends PropertyDefinition {
/**
* Returns the value of the '<em><b>Direction</b></em>' attribute.
* The default value is <code>"inout"</code>.
* The literals are from the enumeration {@link org.eclipse.efm.ecore.formalml.infrastructure.ChannelDirection}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Direction</em>' attribute.
* @see org.eclipse.efm.ecore.formalml.infrastructure.ChannelDirection
* @see #setDirection(ChannelDirection)
* @see org.eclipse.efm.ecore.formalml.infrastructure.InfrastructurePackage#getChannel_Direction()
* @model default="inout"
* @generated
*/
ChannelDirection getDirection();
/**
* Sets the value of the '{@link org.eclipse.efm.ecore.formalml.infrastructure.Channel#getDirection <em>Direction</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Direction</em>' attribute.
* @see org.eclipse.efm.ecore.formalml.infrastructure.ChannelDirection
* @see #getDirection()
* @generated
*/
void setDirection(ChannelDirection value);
/**
* Returns the value of the '<em><b>Machine</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Machine</em>' reference.
* @see #setMachine(Machine)
* @see org.eclipse.efm.ecore.formalml.infrastructure.InfrastructurePackage#getChannel_Machine()
* @model
* @generated
*/
Machine getMachine();
/**
* Sets the value of the '{@link org.eclipse.efm.ecore.formalml.infrastructure.Channel#getMachine <em>Machine</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Machine</em>' reference.
* @see #getMachine()
* @generated
*/
void setMachine(Machine value);
/**
* Returns the value of the '<em><b>Port</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.efm.ecore.formalml.infrastructure.Port}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Port</em>' containment reference list.
* @see org.eclipse.efm.ecore.formalml.infrastructure.InfrastructurePackage#getChannel_Port()
* @model containment="true"
* @generated
*/
EList<Port> getPort();
/**
* Returns the value of the '<em><b>Signal</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.efm.ecore.formalml.infrastructure.Signal}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Signal</em>' containment reference list.
* @see org.eclipse.efm.ecore.formalml.infrastructure.InfrastructurePackage#getChannel_Signal()
* @model containment="true"
* @generated
*/
EList<Signal> getSignal();
} // Channel