001// license-header java merge-point 002// 003// Attention: generated code (by Metafacade.vsl) - do not modify! 004// 005package org.andromda.metafacades.uml; 006 007import java.util.Collection; 008 009/** 010 * A representation of the model object 'Activity'. The specification of parameterized behavior as 011 * the coordinated sequencing of subordinate units whose individual elements are actions. 012 * 013 * Metafacade interface to be used by AndroMDA cartridges. 014 */ 015public interface EventFacade 016 extends ModelElementFacade 017{ 018 /** 019 * Indicates the metafacade type (used for metafacade mappings). 020 * 021 * @return boolean always <code>true</code> 022 */ 023 public boolean isEventFacadeMetaType(); 024 025 /** 026 * The parameters to this event. 027 * @return Collection<ParameterFacade> 028 */ 029 public Collection<ParameterFacade> getParameters(); 030 031 /** 032 * If this event is located on an action state, this will represent that state. 033 * @return StateFacade 034 */ 035 public StateFacade getState(); 036 037 /** 038 * If this event is located on a transition, this represents that transition. 039 * @return TransitionFacade 040 */ 041 public TransitionFacade getTransition(); 042}