| /** |
| * Copyright (c) 2019 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: |
| * Nicolas FAUVERGUE (CEA LIST) nicolas.fauvergue@cea.fr - Initial API and implementation |
| */ |
| package org.eclipse.papyrus.sysml16.activities; |
| |
| import org.eclipse.emf.ecore.EObject; |
| |
| import org.eclipse.uml2.uml.Parameter; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Optional</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * |
| * When the «optional» stereotype is applied to parameters, the lower multiplicity must be equal to zero. This means the parameter is not required to have a value for the activity or any behavior to begin or end execution. Otherwise, the lower multiplicity must be greater than zero, which is called “required.” |
| * |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.papyrus.sysml16.activities.Optional#getBase_Parameter <em>Base Parameter</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.papyrus.sysml16.activities.ActivitiesPackage#getOptional() |
| * @model |
| * @generated |
| */ |
| public interface Optional extends EObject { |
| /** |
| * Returns the value of the '<em><b>Base Parameter</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Base Parameter</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 Parameter</em>' reference. |
| * @see #setBase_Parameter(Parameter) |
| * @see org.eclipse.papyrus.sysml16.activities.ActivitiesPackage#getOptional_Base_Parameter() |
| * @model ordered="false" |
| * @generated |
| */ |
| Parameter getBase_Parameter(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.sysml16.activities.Optional#getBase_Parameter <em>Base Parameter</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Base Parameter</em>' reference. |
| * @see #getBase_Parameter() |
| * @generated |
| */ |
| void setBase_Parameter(Parameter value); |
| |
| } // Optional |