View Javadoc

1   //
2   // Attention: generated code (by Metafacade.vsl) - do not modify!
3   //
4   package org.andromda.metafacades.uml;
5   
6   /***
7    * 
8    *
9    * Metafacade interface to be used by AndroMDA cartridges.
10   */
11  public interface EnumerationLiteralFacade
12      extends org.andromda.metafacades.uml.ModelElementFacade
13  {
14  
15      /***
16       * Indicates the metafacade type (used for metafacade mappings).
17       *
18       * @return always <code>true</code>
19       */
20      public boolean isEnumerationLiteralFacadeMetaType();
21  
22     /***
23      * <p>
24      * Gets the name of the enumeration literal (if the "modelName"
25      * flag is true, then the actual name of the literal in the model
26      * is returned - otherwise the name that has any masking applied).
27      * </p>
28      */
29      public java.lang.String getName(boolean modelName);
30  
31     /***
32      * <p>
33      * Returns the value of this enumeration literal, by default the
34      * value is the same as the name.
35      * </p>
36      */
37      public java.lang.String getValue();
38  
39     /***
40      * <p>
41      * Gets the value of the enumeration literal  (if the "modelValue"
42      * flag is true, then the actual value of the literal in the model
43      * is returned - otherwise the value that has any masking applied
44      * is returned).
45      * </p>
46      */
47      public java.lang.String getValue(boolean modelValue);
48  
49  }