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.List;
008
009/**
010 * A front-end event is represented by some kind of even on some kind of front-end (hyperlink,
011 * submit button, etc).
012 *
013 * Metafacade interface to be used by AndroMDA cartridges.
014 */
015public interface FrontEndEvent
016    extends EventFacade
017{
018    /**
019     * Indicates the metafacade type (used for metafacade mappings).
020     *
021     * @return boolean always <code>true</code>
022     */
023    public boolean isFrontEndEventMetaType();
024
025    /**
026     * The action which triggers the "front-end" event.
027     * @return FrontEndAction
028     */
029    public FrontEndAction getAction();
030
031    /**
032     * The call to the controller for this front-end event (if any).
033     * @return FrontEndControllerOperation
034     */
035    public FrontEndControllerOperation getControllerCall();
036
037    /**
038     * Gets all controller operation calls for the front-end event.
039     * @return List<FrontEndControllerOperation>
040     */
041    public List<FrontEndControllerOperation> getControllerCalls();
042
043    /**
044     * Indicates whether or not this front end event is contained within a FrontEndUseCase.
045     * @return boolean
046     */
047    public boolean isContainedInFrontEndUseCase();
048}