001// license-header java merge-point
002//
003// Attention: generated code (by Metafacade.vsl) - do not modify!
004//
005package org.andromda.metafacades.uml;
006
007/**
008 * An action is a named element that is the fundamental unit of executable functionality. The
009 * execution of an action represents some transformation or processing in the modeled system, be it
010 * a computer system or otherwise. An action represents a single step within an activity, that is,
011 * one that is not further decomposed within the activity. An action has pre- and post-conditions.
012 *
013 * Metafacade interface to be used by AndroMDA cartridges.
014 */
015public interface ActionFacade
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 isActionFacadeMetaType();
024
025    /**
026     * If this action is located on an action state, this will represent that state.
027     * @return ActionStateFacade
028     */
029    public ActionStateFacade getActionState();
030
031    /**
032     * If this action is located on a transition, this represents that transition.
033     * @return TransitionFacade
034     */
035    public TransitionFacade getTransition();
036}