View Javadoc

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