1 package org.andromda.cartridges.xmlschema;
2
3 import org.andromda.core.profile.Profile;
4 import org.andromda.metafacades.uml.UMLProfile;
5
6 /**
7 * <p>
8 * The XML Schema cartridge profile. Contains the profile information (tagged values, and stereotypes) for the XML
9 * Schema cartridge. </p>
10 */
11 public final class XmlSchemaProfile
12 extends UMLProfile
13 {
14 /**
15 * The Profile instance from which we retrieve the mapped profile names.
16 */
17 private static final Profile profile = Profile.instance();
18
19 /* ----------------- Stereotypes -------------------- */
20
21 /**
22 * <p>
23 * Represents a complex element type. </p>
24 */
25 public static final String STEREOTYPE_XML_SCHEMA_TYPE = profile.get("XML_SCHEMA_TYPE");
26
27 /* ---------------- Tagged Values ------------------- */
28
29 /**
30 * <p>
31 * Defines whether or not an attribute should be represented as an XML Schema attribute during generation time, if
32 * its either false, or not defined, then it will be assumed that the UML attribute should be represented as an XML
33 * Schema element instead. </p>
34 */
35 public static final String STEREOTYPE_XML_ATTRIBUTE = profile.get("XML_ATTRIBUTE");
36
37 /**
38 * Shouldn't be instantiated.
39 */
40 private XmlSchemaProfile()
41 {
42 // should not be instantiated
43 }
44 }