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