| /** |
| * Copyright (c) 2016 CEA LIST. |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * CEA LIST - Initial API and implementation |
| */ |
| package org.eclipse.papyrus.moka.fmi.modeldescription; |
| |
| import org.eclipse.emf.ecore.EObject; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Item Type</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.papyrus.moka.fmi.modeldescription.ItemType#getDescription <em>Description</em>}</li> |
| * <li>{@link org.eclipse.papyrus.moka.fmi.modeldescription.ItemType#getName <em>Name</em>}</li> |
| * <li>{@link org.eclipse.papyrus.moka.fmi.modeldescription.ItemType#getValue <em>Value</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.papyrus.moka.fmi.modeldescription.FmiPackage#getItemType() |
| * @model extendedMetaData="name='Item_._type' kind='empty'" |
| * @generated |
| */ |
| public interface ItemType extends EObject { |
| /** |
| * Returns the value of the '<em><b>Description</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Description</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Description</em>' attribute. |
| * @see #setDescription(String) |
| * @see org.eclipse.papyrus.moka.fmi.modeldescription.FmiPackage#getItemType_Description() |
| * @model dataType="org.eclipse.emf.ecore.xml.type.String" |
| * extendedMetaData="kind='attribute' name='description' namespace='##targetNamespace'" |
| * @generated |
| */ |
| String getDescription(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.moka.fmi.modeldescription.ItemType#getDescription <em>Description</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Description</em>' attribute. |
| * @see #getDescription() |
| * @generated |
| */ |
| void setDescription(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Name</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Name</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Name</em>' attribute. |
| * @see #setName(String) |
| * @see org.eclipse.papyrus.moka.fmi.modeldescription.FmiPackage#getItemType_Name() |
| * @model dataType="org.eclipse.emf.ecore.xml.type.NormalizedString" required="true" |
| * extendedMetaData="kind='attribute' name='name' namespace='##targetNamespace'" |
| * @generated |
| */ |
| String getName(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.moka.fmi.modeldescription.ItemType#getName <em>Name</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Name</em>' attribute. |
| * @see #getName() |
| * @generated |
| */ |
| void setName(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Value</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Must be a unique number in the same enumeration |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Value</em>' attribute. |
| * @see #isSetValue() |
| * @see #unsetValue() |
| * @see #setValue(int) |
| * @see org.eclipse.papyrus.moka.fmi.modeldescription.FmiPackage#getItemType_Value() |
| * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Int" required="true" |
| * extendedMetaData="kind='attribute' name='value' namespace='##targetNamespace'" |
| * @generated |
| */ |
| int getValue(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.moka.fmi.modeldescription.ItemType#getValue <em>Value</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Value</em>' attribute. |
| * @see #isSetValue() |
| * @see #unsetValue() |
| * @see #getValue() |
| * @generated |
| */ |
| void setValue(int value); |
| |
| /** |
| * Unsets the value of the '{@link org.eclipse.papyrus.moka.fmi.modeldescription.ItemType#getValue <em>Value</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #isSetValue() |
| * @see #getValue() |
| * @see #setValue(int) |
| * @generated |
| */ |
| void unsetValue(); |
| |
| /** |
| * Returns whether the value of the '{@link org.eclipse.papyrus.moka.fmi.modeldescription.ItemType#getValue <em>Value</em>}' attribute is set. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return whether the value of the '<em>Value</em>' attribute is set. |
| * @see #unsetValue() |
| * @see #getValue() |
| * @see #setValue(int) |
| * @generated |
| */ |
| boolean isSetValue(); |
| |
| } // ItemType |