blob: fbbc1e382884a78f076f21f8cf377fb192621443 [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>Port</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.efm.ecore.formalml.infrastructure.Port#getDirection <em>Direction</em>}</li>
* <li>{@link org.eclipse.efm.ecore.formalml.infrastructure.Port#getSignal <em>Signal</em>}</li>
* <li>{@link org.eclipse.efm.ecore.formalml.infrastructure.Port#getParameterSet <em>Parameter Set</em>}</li>
* </ul>
*
* @see org.eclipse.efm.ecore.formalml.infrastructure.InfrastructurePackage#getPort()
* @model
* @generated
*/
public interface Port 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#getPort_Direction()
* @model default="inout"
* @generated
*/
ChannelDirection getDirection();
/**
* Sets the value of the '{@link org.eclipse.efm.ecore.formalml.infrastructure.Port#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>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#getPort_Signal()
* @model containment="true"
* @generated
*/
EList<Signal> getSignal();
/**
* Returns the value of the '<em><b>Parameter Set</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Parameter Set</em>' containment reference.
* @see #setParameterSet(ParameterSet)
* @see org.eclipse.efm.ecore.formalml.infrastructure.InfrastructurePackage#getPort_ParameterSet()
* @model containment="true"
* @generated
*/
ParameterSet getParameterSet();
/**
* Sets the value of the '{@link org.eclipse.efm.ecore.formalml.infrastructure.Port#getParameterSet <em>Parameter Set</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Parameter Set</em>' containment reference.
* @see #getParameterSet()
* @generated
*/
void setParameterSet(ParameterSet value);
} // Port