XmlSchemaProfile.java
package org.andromda.cartridges.xmlschema;
import org.andromda.core.profile.Profile;
import org.andromda.metafacades.uml.UMLProfile;
/**
* <p>
* The XML Schema cartridge profile. Contains the profile information (tagged values, and stereotypes) for the XML
* Schema cartridge. </p>
*/
public final class XmlSchemaProfile
extends UMLProfile
{
/**
* The Profile instance from which we retrieve the mapped profile names.
*/
private static final Profile profile = Profile.instance();
/* ----------------- Stereotypes -------------------- */
/**
* <p>
* Represents a complex element type. </p>
*/
public static final String STEREOTYPE_XML_SCHEMA_TYPE = profile.get("XML_SCHEMA_TYPE");
/* ---------------- Tagged Values ------------------- */
/**
* <p>
* Defines whether or not an attribute should be represented as an XML Schema attribute during generation time, if
* its either false, or not defined, then it will be assumed that the UML attribute should be represented as an XML
* Schema element instead. </p>
*/
public static final String STEREOTYPE_XML_ATTRIBUTE = profile.get("XML_ATTRIBUTE");
/**
* Shouldn't be instantiated.
*/
private XmlSchemaProfile()
{
// should not be instantiated
}
}