View Javadoc
1   // license-header java merge-point
2   //
3   // Attention: generated code (by Metafacade.vsl) - do not modify!
4   //
5   package org.andromda.cartridges.jsf.metafacades;
6   
7   import java.util.Map;
8   import org.andromda.metafacades.uml.FrontEndForward;
9   
10  /**
11   * Represents a forward within a JSF activity graph.
12   *
13   * Metafacade interface to be used by AndroMDA cartridges.
14   */
15  public interface JSFForward
16      extends FrontEndForward
17  {
18      /**
19       * Indicates the metafacade type (used for metafacade mappings).
20       *
21       * @return boolean always <code>true</code>
22       */
23      public boolean isJSFForwardMetaType();
24  
25      /**
26       * The name that corresponds to the from-outcome in an navigational rule.
27       * @return String
28       */
29      public String getFromOutcome();
30  
31      /**
32       * The path to which this forward points.
33       * @return String
34       */
35      public String getPath();
36  
37      /**
38       * Messages used to indicate successful execution.
39       * @return Map
40       */
41      public Map getSuccessMessages();
42  
43      /**
44       * Any messages used to indicate a warning.
45       * @return Map
46       */
47      public Map getWarningMessages();
48  
49      /**
50       * Indicates whether or not a final state is the target of this forward.
51       * @return boolean
52       */
53      public boolean isFinalStateTarget();
54  
55      /**
56       * Indicates whether or not any success messags are present.
57       * @return boolean
58       */
59      public boolean isSuccessMessagesPresent();
60  
61      /**
62       * Whether or not any warning messages are present.
63       * @return boolean
64       */
65      public boolean isWarningMessagesPresent();
66  }