blob: 97e42681838ba3a8126d89b6ebb0a1aa66a1af92 [file] [log] [blame]
/**
* *******************************************************************************
* Copyright (c) 2015-2021 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>Runnable Event</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* Describes the event of a runnable
* eventType: The type of event
* entity: The runnable that fires the event (optional)
* process: The process that executes the runnable (optional)
* processingUnit: The processing unit that executes the runnable (executes the process that calls the runnable) (optional)
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.app4mc.amalthea.model.RunnableEvent#getEventType <em>Event Type</em>}</li>
* <li>{@link org.eclipse.app4mc.amalthea.model.RunnableEvent#getEntity <em>Entity</em>}</li>
* <li>{@link org.eclipse.app4mc.amalthea.model.RunnableEvent#getProcess <em>Process</em>}</li>
* <li>{@link org.eclipse.app4mc.amalthea.model.RunnableEvent#getProcessingUnit <em>Processing Unit</em>}</li>
* </ul>
*
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getRunnableEvent()
* @model
* @generated
*/
public interface RunnableEvent extends TriggerEvent {
/**
* Returns the value of the '<em><b>Event Type</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.app4mc.amalthea.model.RunnableEventType}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Event Type</em>' attribute.
* @see org.eclipse.app4mc.amalthea.model.RunnableEventType
* @see #setEventType(RunnableEventType)
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getRunnableEvent_EventType()
* @model unique="false"
* @generated
*/
RunnableEventType getEventType();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.RunnableEvent#getEventType <em>Event Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Event Type</em>' attribute.
* @see org.eclipse.app4mc.amalthea.model.RunnableEventType
* @see #getEventType()
* @generated
*/
void setEventType(RunnableEventType value);
/**
* Returns the value of the '<em><b>Entity</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Entity</em>' reference.
* @see #setEntity(org.eclipse.app4mc.amalthea.model.Runnable)
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getRunnableEvent_Entity()
* @model
* @generated
*/
org.eclipse.app4mc.amalthea.model.Runnable getEntity();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.RunnableEvent#getEntity <em>Entity</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Entity</em>' reference.
* @see #getEntity()
* @generated
*/
void setEntity(org.eclipse.app4mc.amalthea.model.Runnable value);
/**
* Returns the value of the '<em><b>Process</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Process</em>' reference.
* @see #setProcess(org.eclipse.app4mc.amalthea.model.Process)
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getRunnableEvent_Process()
* @model
* @generated
*/
org.eclipse.app4mc.amalthea.model.Process getProcess();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.RunnableEvent#getProcess <em>Process</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Process</em>' reference.
* @see #getProcess()
* @generated
*/
void setProcess(org.eclipse.app4mc.amalthea.model.Process value);
/**
* Returns the value of the '<em><b>Processing Unit</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Processing Unit</em>' reference.
* @see #setProcessingUnit(ProcessingUnit)
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getRunnableEvent_ProcessingUnit()
* @model
* @generated
*/
ProcessingUnit getProcessingUnit();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.RunnableEvent#getProcessingUnit <em>Processing Unit</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Processing Unit</em>' reference.
* @see #getProcessingUnit()
* @generated
*/
void setProcessingUnit(ProcessingUnit value);
} // RunnableEvent