1 // license-header java merge-point 2 // 3 // Attention: generated code (by Metafacade.vsl) - do not modify! 4 // 5 package org.andromda.metafacades.uml; 6 7 import java.util.List; 8 9 /** 10 * A front-end event is represented by some kind of even on some kind of front-end (hyperlink, 11 * submit button, etc). 12 * 13 * Metafacade interface to be used by AndroMDA cartridges. 14 */ 15 public interface FrontEndEvent 16 extends EventFacade 17 { 18 /** 19 * Indicates the metafacade type (used for metafacade mappings). 20 * 21 * @return boolean always <code>true</code> 22 */ 23 public boolean isFrontEndEventMetaType(); 24 25 /** 26 * The action which triggers the "front-end" event. 27 * @return FrontEndAction 28 */ 29 public FrontEndAction getAction(); 30 31 /** 32 * The call to the controller for this front-end event (if any). 33 * @return FrontEndControllerOperation 34 */ 35 public FrontEndControllerOperation getControllerCall(); 36 37 /** 38 * Gets all controller operation calls for the front-end event. 39 * @return List<FrontEndControllerOperation> 40 */ 41 public List<FrontEndControllerOperation> getControllerCalls(); 42 43 /** 44 * Indicates whether or not this front end event is contained within a FrontEndUseCase. 45 * @return boolean 46 */ 47 public boolean isContainedInFrontEndUseCase(); 48 }