001package org.andromda.cartridges.xmlschema;
002
003import org.andromda.core.profile.Profile;
004import org.andromda.metafacades.uml.UMLProfile;
005
006/**
007 * <p>
008 * The XML Schema cartridge profile. Contains the profile information (tagged values, and stereotypes) for the XML
009 * Schema cartridge. </p>
010 */
011public final class XmlSchemaProfile
012    extends UMLProfile
013{
014    /**
015     * The Profile instance from which we retrieve the mapped profile names.
016     */
017    private static final Profile profile = Profile.instance();
018
019    /* ----------------- Stereotypes -------------------- */
020
021    /**
022     * <p>
023     * Represents a complex element type. </p>
024     */
025    public static final String STEREOTYPE_XML_SCHEMA_TYPE = profile.get("XML_SCHEMA_TYPE");
026
027    /* ---------------- Tagged Values ------------------- */
028
029    /**
030     * <p>
031     * Defines whether or not an attribute should be represented as an XML Schema attribute during generation time, if
032     * its either false, or not defined, then it will be assumed that the UML attribute should be represented as an XML
033     * Schema element instead. </p>
034     */
035    public static final String STEREOTYPE_XML_ATTRIBUTE = profile.get("XML_ATTRIBUTE");
036
037    /**
038     * Shouldn't be instantiated.
039     */
040    private XmlSchemaProfile()
041    {
042        // should not be instantiated
043    }
044}