View Javadoc

1   //
2   // Attention: generated code (by Metafacade.vsl) - do not modify!
3   //
4   package org.andromda.metafacades.uml;
5   
6   /***
7    * <p>
8    * Represents an enumeration.
9    * </p>
10   *
11   * Metafacade interface to be used by AndroMDA cartridges.
12   */
13  public interface EnumerationFacade
14      extends org.andromda.metafacades.uml.ClassifierFacade
15  {
16  
17      /***
18       * Indicates the metafacade type (used for metafacade mappings).
19       *
20       * @return always <code>true</code>
21       */
22      public boolean isEnumerationFacadeMetaType();
23  
24     /***
25      * <p>
26      * The 'from' operation name.  This is the name of the operation
27      * that takes the actual literal value and allows a new enumeration
28      * to be constructed.
29      * </p>
30      */
31      public java.lang.String getFromOperationName();
32  
33     /***
34      * <p>
35      * The 'from' operation signature.  This is the signature that
36      * takes the actual literal value and allows a new enumeration to
37      * be constructed.
38      * </p>
39      */
40      public java.lang.String getFromOperationSignature();
41  
42     /***
43      * <p>
44      * The type of the enumeration's literals.
45      * </p>
46      */
47      public org.andromda.metafacades.uml.ClassifierFacade getLiteralType();
48  
49     /***
50      * <p>
51      * This enumeration's literals.
52      * </p>
53      */
54      public java.util.Collection getLiterals();
55  
56     /***
57      * <p>
58      * The enumeration member variables.
59      * </p>
60      */
61      public java.util.Collection getMemberVariables();
62  
63     /***
64      * <p>
65      * Indicates whether the enumeration must be generated using a Java
66      * 5 type-safe enum or a traditional enumeration-pattern class.
67      * </p>
68      */
69      public boolean isTypeSafe();
70  
71  }