View Javadoc
1   package org.andromda.cartridges.meta;
2   
3   import org.andromda.core.profile.Profile;
4   import org.andromda.metafacades.uml.UMLProfile;
5   
6   /**
7    * The Meta profile. Contains the profile information (tagged values, and stereotypes) for the Meta cartridge.
8    *
9    * @author <a href="http://www.mbohlen.de">Matthias Bohlen </a>
10   * @author Chad Brandon
11   */
12  public class MetaProfile
13      extends UMLProfile
14  {
15      /**
16       * The Profile instance from which we retrieve the mapped profile names.
17       */
18      private static final Profile profile = Profile.instance();
19  
20      /* ----------------- Stereotypes -------------------- */
21  
22      /**
23       * From standard UML, only used, not defined in this profile!
24       */
25      public static final String STEREOTYPE_METACLASS = profile.get("METACLASS");
26  
27      /**
28       * Defines the <code>metafacade</code> stereotype. A metafacade is a facade around a {@link #STEREOTYPE_METACLASS}.
29       */
30      public static final String STEREOTYPE_METAFACADE = profile.get("METAFACADE");
31  
32      /* ---------------- Tagged Values ------------------ */
33  
34      /**
35       * Defines the precedence for generalizations when using multiple inheritance.
36       */
37      public static final String TAGGEDVALUE_GENERALIZATION_PRECEDENCE = profile.get("GENERALIZATION_PRECEDENCE");
38  }