| /** |
| * ******************************************************************************* |
| * Copyright (c) 2015-2020 Robert Bosch GmbH and others. |
| * |
| * This program and the accompanying materials are made |
| * available under the terms of the Eclipse Public License 2.0 |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Generated using Eclipse EMF |
| * |
| * ******************************************************************************* |
| */ |
| package org.eclipse.app4mc.amalthea.model; |
| |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Probability Switch Entry</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * A switch entry for a ProbabilitySwitch |
| * It describes a path of the switch and it's probability |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.app4mc.amalthea.model.ProbabilitySwitchEntry#getProbability <em>Probability</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getProbabilitySwitchEntry() |
| * @model |
| * @generated |
| */ |
| public interface ProbabilitySwitchEntry extends BaseObject, IActivityGraphItemContainer { |
| /** |
| * Returns the value of the '<em><b>Probability</b></em>' attribute. |
| * The default value is <code>"0.0"</code>. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Probability</em>' attribute. |
| * @see #setProbability(double) |
| * @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getProbabilitySwitchEntry_Probability() |
| * @model default="0.0" unique="false" |
| * @generated |
| */ |
| double getProbability(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.ProbabilitySwitchEntry#getProbability <em>Probability</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Probability</em>' attribute. |
| * @see #getProbability() |
| * @generated |
| */ |
| void setProbability(double value); |
| |
| } // ProbabilitySwitchEntry |