blob: 959fc0382fed94d139e0f8acb8223337f2c1529e [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>Component Event</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* Describes the event of a component
* eventType: The type of event
* entity: The component that fires the event (optional)
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.app4mc.amalthea.model.ComponentEvent#getEventType <em>Event Type</em>}</li>
* <li>{@link org.eclipse.app4mc.amalthea.model.ComponentEvent#getEntity <em>Entity</em>}</li>
* </ul>
*
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getComponentEvent()
* @model
* @generated
*/
public interface ComponentEvent extends EntityEvent {
/**
* Returns the value of the '<em><b>Event Type</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.app4mc.amalthea.model.ComponentEventType}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Event Type</em>' attribute.
* @see org.eclipse.app4mc.amalthea.model.ComponentEventType
* @see #setEventType(ComponentEventType)
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getComponentEvent_EventType()
* @model unique="false"
* @generated
*/
ComponentEventType getEventType();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.ComponentEvent#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.ComponentEventType
* @see #getEventType()
* @generated
*/
void setEventType(ComponentEventType 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(Component)
* @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getComponentEvent_Entity()
* @model
* @generated
*/
Component getEntity();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.ComponentEvent#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(Component value);
} // ComponentEvent