1 package org.andromda.core.configuration;
2
3 /**
4 * Contains namespace properties used witin the AndroMDA core.
5 *
6 * @author Chad Brandon
7 */
8 public interface NamespaceProperties
9 {
10 /**
11 * The location of an <strong>optional </strong> merge mappings file (merge mappings are mappings that allow the
12 * replacement of patterns in generated files during model processing time).
13 */
14 public static final String MERGE_MAPPINGS_URI = "mergeMappingsUri";
15
16 /**
17 * Defines the location of merge templates. Merge templates are templates that can either be <em>merged</em> into
18 * existing cartridge output, or replace cartridge templates all together. This must be the directory where the
19 * merge files can be found.
20 */
21 public static final String MERGE_LOCATION = "mergeLocation";
22
23 /**
24 * The URI to the mappings file containing the AndroMDA profile. This property provides the ability to override the
25 * default profile values (i.e. stereotype names, etc).
26 */
27 public static final String PROFILE_MAPPINGS_URI = "profileMappingsUri";
28
29 /**
30 * If true, all resources are overwritten (even if overwrite is set to <code>false</code>
31 * within an andromda-cartridge.xml). If false, no resources are overwritten.
32 * It is useful to set to <code>true</code> when during pure modeling until you're ready
33 * to implement.
34 */
35 public static final String OVERWRITE = "overwrite";
36 }