| /***************************************************************************** |
| * 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.blocks; |
| |
| import org.eclipse.emf.ecore.EObject; |
| import org.eclipse.uml2.uml.DataType; |
| |
| /** |
| * <!-- begin-user-doc --> A representation of the model object ' <em><b>Value Type</b></em>'. <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.papyrus.sysml.blocks.ValueType#getBase_DataType <em>Base Data Type</em>}</li> |
| * <li>{@link org.eclipse.papyrus.sysml.blocks.ValueType#getUnit <em>Unit</em>}</li> |
| * <li>{@link org.eclipse.papyrus.sysml.blocks.ValueType#getDimension <em>Dimension</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getValueType() |
| * @model |
| * @generated |
| */ |
| public interface ValueType extends EObject { |
| |
| /** |
| * Returns the value of the '<em><b>Base Data Type</b></em>' reference. <!-- |
| * begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Base Data Type</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 Data Type</em>' reference. |
| * @see #setBase_DataType(DataType) |
| * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getValueType_Base_DataType() |
| * @model required="true" ordered="false" |
| * @generated |
| */ |
| DataType getBase_DataType(); |
| |
| /** |
| * Returns the value of the '<em><b>Dimension</b></em>' reference. <!-- |
| * begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Dimension</em>' reference isn't clear, there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * |
| * @return the value of the '<em>Dimension</em>' reference. |
| * @see #setDimension(Dimension) |
| * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getValueType_Dimension() |
| * @model ordered="false" |
| * @generated |
| */ |
| Dimension getDimension(); |
| |
| /** |
| * Returns the value of the '<em><b>Unit</b></em>' reference. <!-- |
| * begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Unit</em>' reference isn't clear, there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * |
| * @return the value of the '<em>Unit</em>' reference. |
| * @see #setUnit(Unit) |
| * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getValueType_Unit() |
| * @model ordered="false" |
| * @generated |
| */ |
| Unit getUnit(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.ValueType#getBase_DataType <em>Base Data Type</em>}' reference. |
| * <!-- begin-user-doc --> <!-- |
| * end-user-doc --> |
| * |
| * @param value |
| * the new value of the '<em>Base Data Type</em>' reference. |
| * @see #getBase_DataType() |
| * @generated |
| */ |
| void setBase_DataType(DataType value); |
| |
| /** |
| * Sets the value of the ' {@link org.eclipse.papyrus.sysml.blocks.ValueType#getDimension |
| * <em>Dimension</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc |
| * --> |
| * |
| * @param value |
| * the new value of the '<em>Dimension</em>' reference. |
| * @see #getDimension() |
| * @generated |
| */ |
| void setDimension(Dimension value); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.ValueType#getUnit <em>Unit</em>}' reference. |
| * <!-- begin-user-doc --> <!-- end-user-doc --> |
| * |
| * @param value |
| * the new value of the '<em>Unit</em>' reference. |
| * @see #getUnit() |
| * @generated |
| */ |
| void setUnit(Unit value); |
| |
| } // ValueType |