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