| /** |
| * Copyright (c) 2018 CEA |
| * |
| * 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: |
| * Jérémie Tatibouet (CEA) jeremie.tatibouet@cea.fr - Initial API and implementation |
| * Benoit Maggi (CEA) benoit.maggi@cea.fr - Initial API and implementation |
| * Shuai Li (CEA) shuai.li@cea.fr - Integration of sensiNact and Web of Things Thing Description |
| * |
| */ |
| package org.eclipse.papyrus.iotml.wot; |
| |
| import org.eclipse.uml2.uml.Operation; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Action Affordance</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.papyrus.iotml.wot.ActionAffordance#getBase_Operation <em>Base Operation</em>}</li> |
| * <li>{@link org.eclipse.papyrus.iotml.wot.ActionAffordance#getInput <em>Input</em>}</li> |
| * <li>{@link org.eclipse.papyrus.iotml.wot.ActionAffordance#getOutput <em>Output</em>}</li> |
| * <li>{@link org.eclipse.papyrus.iotml.wot.ActionAffordance#isSafe <em>Safe</em>}</li> |
| * <li>{@link org.eclipse.papyrus.iotml.wot.ActionAffordance#isIdempotent <em>Idempotent</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.papyrus.iotml.wot.WoTPackage#getActionAffordance() |
| * @model |
| * @generated |
| */ |
| public interface ActionAffordance extends InteractionAffordance { |
| /** |
| * Returns the value of the '<em><b>Input</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Input</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Input</em>' reference. |
| * @see #setInput(DataSchema) |
| * @see org.eclipse.papyrus.iotml.wot.WoTPackage#getActionAffordance_Input() |
| * @model transient="true" volatile="true" derived="true" ordered="false" |
| * @generated |
| */ |
| DataSchema getInput(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.iotml.wot.ActionAffordance#getInput <em>Input</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Input</em>' reference. |
| * @see #getInput() |
| * @generated |
| */ |
| void setInput(DataSchema value); |
| |
| /** |
| * Returns the value of the '<em><b>Output</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Output</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Output</em>' reference. |
| * @see #setOutput(DataSchema) |
| * @see org.eclipse.papyrus.iotml.wot.WoTPackage#getActionAffordance_Output() |
| * @model transient="true" volatile="true" derived="true" ordered="false" |
| * @generated |
| */ |
| DataSchema getOutput(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.iotml.wot.ActionAffordance#getOutput <em>Output</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Output</em>' reference. |
| * @see #getOutput() |
| * @generated |
| */ |
| void setOutput(DataSchema value); |
| |
| /** |
| * Returns the value of the '<em><b>Safe</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Safe</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Safe</em>' attribute. |
| * @see #setSafe(boolean) |
| * @see org.eclipse.papyrus.iotml.wot.WoTPackage#getActionAffordance_Safe() |
| * @model dataType="org.eclipse.uml2.types.Boolean" required="true" ordered="false" |
| * @generated |
| */ |
| boolean isSafe(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.iotml.wot.ActionAffordance#isSafe <em>Safe</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Safe</em>' attribute. |
| * @see #isSafe() |
| * @generated |
| */ |
| void setSafe(boolean value); |
| |
| /** |
| * Returns the value of the '<em><b>Idempotent</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Idempotent</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Idempotent</em>' attribute. |
| * @see #setIdempotent(boolean) |
| * @see org.eclipse.papyrus.iotml.wot.WoTPackage#getActionAffordance_Idempotent() |
| * @model dataType="org.eclipse.uml2.types.Boolean" required="true" ordered="false" |
| * @generated |
| */ |
| boolean isIdempotent(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.iotml.wot.ActionAffordance#isIdempotent <em>Idempotent</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Idempotent</em>' attribute. |
| * @see #isIdempotent() |
| * @generated |
| */ |
| void setIdempotent(boolean value); |
| |
| /** |
| * Returns the value of the '<em><b>Base Operation</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Base Operation</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 Operation</em>' reference. |
| * @see #setBase_Operation(Operation) |
| * @see org.eclipse.papyrus.iotml.wot.WoTPackage#getActionAffordance_Base_Operation() |
| * @model ordered="false" |
| * @generated |
| */ |
| Operation getBase_Operation(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.iotml.wot.ActionAffordance#getBase_Operation <em>Base Operation</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Base Operation</em>' reference. |
| * @see #getBase_Operation() |
| * @generated |
| */ |
| void setBase_Operation(Operation value); |
| |
| } // ActionAffordance |