KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectstyle > cayenne > modeler > pref > _DataMapDefaults


1 package org.objectstyle.cayenne.modeler.pref;
2
3 /** Class _DataMapDefaults was generated by Cayenne.
4   * It is probably a good idea to avoid changing this class manually,
5   * since it may be overwritten next time code is regenerated.
6   * If you need to make any customizations, please use subclass.
7   */

8 public class _DataMapDefaults extends org.objectstyle.cayenne.pref.PreferenceDetail {
9
10     public static final String JavaDoc GENERATE_PAIRS_PROPERTY = "generatePairs";
11     public static final String JavaDoc OUTPUT_PATH_PROPERTY = "outputPath";
12     public static final String JavaDoc SUBCLASS_TEMPLATE_PROPERTY = "subclassTemplate";
13     public static final String JavaDoc SUPERCLASS_PACKAGE_SUFFIX_PROPERTY = "superclassPackageSuffix";
14     public static final String JavaDoc SUPERCLASS_TEMPLATE_PROPERTY = "superclassTemplate";
15
16     public static final String JavaDoc ID_PK_COLUMN = "id";
17
18     public void setGeneratePairs(Boolean JavaDoc generatePairs) {
19         writeProperty("generatePairs", generatePairs);
20     }
21     public Boolean JavaDoc getGeneratePairs() {
22         return (Boolean JavaDoc)readProperty("generatePairs");
23     }
24     
25     
26     public void setOutputPath(String JavaDoc outputPath) {
27         writeProperty("outputPath", outputPath);
28     }
29     public String JavaDoc getOutputPath() {
30         return (String JavaDoc)readProperty("outputPath");
31     }
32     
33     
34     public void setSubclassTemplate(String JavaDoc subclassTemplate) {
35         writeProperty("subclassTemplate", subclassTemplate);
36     }
37     public String JavaDoc getSubclassTemplate() {
38         return (String JavaDoc)readProperty("subclassTemplate");
39     }
40     
41     
42     public void setSuperclassPackageSuffix(String JavaDoc superclassPackageSuffix) {
43         writeProperty("superclassPackageSuffix", superclassPackageSuffix);
44     }
45     public String JavaDoc getSuperclassPackageSuffix() {
46         return (String JavaDoc)readProperty("superclassPackageSuffix");
47     }
48     
49     
50     public void setSuperclassTemplate(String JavaDoc superclassTemplate) {
51         writeProperty("superclassTemplate", superclassTemplate);
52     }
53     public String JavaDoc getSuperclassTemplate() {
54         return (String JavaDoc)readProperty("superclassTemplate");
55     }
56     
57     
58 }
59
Popular Tags