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