| /***************************************************************************** |
| * 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.InstanceSpecification; |
| |
| /** |
| * <!-- begin-user-doc --> A representation of the model object ' <em><b>Unit</b></em>'. <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.papyrus.sysml.blocks.Unit#getBase_InstanceSpecification <em>Base Instance Specification</em>}</li> |
| * <li>{@link org.eclipse.papyrus.sysml.blocks.Unit#getDimension <em>Dimension</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getUnit() |
| * @model |
| * @generated |
| */ |
| public interface Unit extends EObject { |
| |
| /** |
| * Returns the value of the '<em><b>Base Instance Specification</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Base Instance Specification</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 Instance Specification</em>' reference. |
| * @see #setBase_InstanceSpecification(InstanceSpecification) |
| * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getUnit_Base_InstanceSpecification() |
| * @model required="true" ordered="false" |
| * @generated |
| */ |
| InstanceSpecification getBase_InstanceSpecification(); |
| |
| /** |
| * 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#getUnit_Dimension() |
| * @model ordered="false" |
| * @generated |
| */ |
| Dimension getDimension(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.Unit#getBase_InstanceSpecification <em>Base Instance Specification</em>}' |
| * reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @param value |
| * the new value of the '<em>Base Instance Specification</em>' reference. |
| * @see #getBase_InstanceSpecification() |
| * @generated |
| */ |
| void setBase_InstanceSpecification(InstanceSpecification value); |
| |
| /** |
| * Sets the value of the ' {@link org.eclipse.papyrus.sysml.blocks.Unit#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); |
| |
| } // Unit |