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 * Represents an operation on the server called by an action. Optionally may defer operations to the 11 * controller. 12 * 13 * Metafacade interface to be used by AndroMDA cartridges. 14 */ 15 public interface FrontEndActionState 16 extends ActionStateFacade 17 { 18 /** 19 * Indicates the metafacade type (used for metafacade mappings). 20 * 21 * @return boolean always <code>true</code> 22 */ 23 public boolean isFrontEndActionStateMetaType(); 24 25 /** 26 * The method name representing this action state. 27 * @return String 28 */ 29 public String getActionMethodName(); 30 31 /** 32 * The actions that pass through this action state. 33 * @return List<FrontEndAction> 34 */ 35 public List<FrontEndAction> getContainerActions(); 36 37 /** 38 * All calls deferred to the controller by this action state. 39 * @return List<OperationFacade> 40 */ 41 public List<OperationFacade> getControllerCalls(); 42 43 /** 44 * All exceptions modelled on this action state. 45 * @return List<FrontEndExceptionHandler> 46 */ 47 public List<FrontEndExceptionHandler> getExceptions(); 48 49 /** 50 * The next transition, there can be only one transition going out of an action state, otherwise 51 * decision points should be used (triggers are not supported at the server-side). 52 * @return FrontEndForward 53 */ 54 public FrontEndForward getForward(); 55 56 /** 57 * All calls deferred to the services by this action state. 58 * @return List<OperationFacade> 59 */ 60 public List<OperationFacade> getServiceCalls(); 61 62 /** 63 * True if this element is contained in a FrontEndUseCase. 64 * @return boolean 65 */ 66 public boolean isContainedInFrontEndUseCase(); 67 68 /** 69 * Indicates whether or not this front end action state is server side. Pages, for example, are 70 * also action states but they return control to the client. 71 * @return boolean 72 */ 73 public boolean isServerSide(); 74 }