blob: 8b1d6141084b69a9397540de43375ed756f71f01 [file] [log] [blame]
/*****************************************************************************
* Copyright (c) 2009 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
*
* Contributors:
* Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.sysml.portandflows;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.uml2.uml.Image;
import org.eclipse.uml2.uml.Property;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Flow Property</b></em>'. <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.sysml.portandflows.FlowProperty#getBase_Property <em>Base Property</em>}</li>
* <li>{@link org.eclipse.papyrus.sysml.portandflows.FlowProperty#getDirection <em>Direction</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage#getFlowProperty()
* @model
* @generated
*/
public interface FlowProperty extends EObject {
/**
* Returns the value of the '<em><b>Base Property</b></em>' reference. <!--
* begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Property</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
*
* @return the value of the '<em>Base Property</em>' reference.
* @see #setBase_Property(Property)
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage#getFlowProperty_Base_Property()
* @model required="true" ordered="false"
* @generated
*/
Property getBase_Property();
/**
* 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.papyrus.sysml.portandflows.FlowDirection}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Direction</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
*
* @return the value of the '<em>Direction</em>' attribute.
* @see org.eclipse.papyrus.sysml.portandflows.FlowDirection
* @see #setDirection(FlowDirection)
* @see org.eclipse.papyrus.sysml.portandflows.PortandflowsPackage#getFlowProperty_Direction()
* @model default="inout" unique="false" required="true" ordered="false"
* @generated
*/
FlowDirection getDirection();
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @model kind="operation" required="true" ordered="false"
* @generated
*/
Image getIcon();
/**
* Sets the value of the '{@link org.eclipse.papyrus.sysml.portandflows.FlowProperty#getBase_Property <em>Base Property</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @param value
* the new value of the '<em>Base Property</em>' reference.
* @see #getBase_Property()
* @generated
*/
void setBase_Property(Property value);
/**
* Sets the value of the ' {@link org.eclipse.papyrus.sysml.portandflows.FlowProperty#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.papyrus.sysml.portandflows.FlowDirection
* @see #getDirection()
* @generated
*/
void setDirection(FlowDirection value);
} // FlowProperty