001package org.andromda.cartridges.meta;
002
003import org.andromda.core.profile.Profile;
004import org.andromda.metafacades.uml.UMLProfile;
005
006/**
007 * The Meta profile. Contains the profile information (tagged values, and stereotypes) for the Meta cartridge.
008 *
009 * @author <a href="http://www.mbohlen.de">Matthias Bohlen </a>
010 * @author Chad Brandon
011 */
012public class MetaProfile
013    extends UMLProfile
014{
015    /**
016     * The Profile instance from which we retrieve the mapped profile names.
017     */
018    private static final Profile profile = Profile.instance();
019
020    /* ----------------- Stereotypes -------------------- */
021
022    /**
023     * From standard UML, only used, not defined in this profile!
024     */
025    public static final String STEREOTYPE_METACLASS = profile.get("METACLASS");
026
027    /**
028     * Defines the <code>metafacade</code> stereotype. A metafacade is a facade around a {@link #STEREOTYPE_METACLASS}.
029     */
030    public static final String STEREOTYPE_METAFACADE = profile.get("METAFACADE");
031
032    /* ---------------- Tagged Values ------------------ */
033
034    /**
035     * Defines the precedence for generalizations when using multiple inheritance.
036     */
037    public static final String TAGGEDVALUE_GENERALIZATION_PRECEDENCE = profile.get("GENERALIZATION_PRECEDENCE");
038}