KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.objectstyle.cayenne.modeler.pref;
2
3 /** Class _DBGeneratorDefaults 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 _DBGeneratorDefaults extends org.objectstyle.cayenne.pref.PreferenceDetail {
9
10     public static final String JavaDoc CREATE_FK_PROPERTY = "createFK";
11     public static final String JavaDoc CREATE_PK_PROPERTY = "createPK";
12     public static final String JavaDoc CREATE_TABLES_PROPERTY = "createTables";
13     public static final String JavaDoc DROP_PK_PROPERTY = "dropPK";
14     public static final String JavaDoc DROP_TABLES_PROPERTY = "dropTables";
15
16     public static final String JavaDoc ID_PK_COLUMN = "id";
17
18     public void setCreateFK(Boolean JavaDoc createFK) {
19         writeProperty("createFK", createFK);
20     }
21     public Boolean JavaDoc getCreateFK() {
22         return (Boolean JavaDoc)readProperty("createFK");
23     }
24     
25     
26     public void setCreatePK(Boolean JavaDoc createPK) {
27         writeProperty("createPK", createPK);
28     }
29     public Boolean JavaDoc getCreatePK() {
30         return (Boolean JavaDoc)readProperty("createPK");
31     }
32     
33     
34     public void setCreateTables(Boolean JavaDoc createTables) {
35         writeProperty("createTables", createTables);
36     }
37     public Boolean JavaDoc getCreateTables() {
38         return (Boolean JavaDoc)readProperty("createTables");
39     }
40     
41     
42     public void setDropPK(Boolean JavaDoc dropPK) {
43         writeProperty("dropPK", dropPK);
44     }
45     public Boolean JavaDoc getDropPK() {
46         return (Boolean JavaDoc)readProperty("dropPK");
47     }
48     
49     
50     public void setDropTables(Boolean JavaDoc dropTables) {
51         writeProperty("dropTables", dropTables);
52     }
53     public Boolean JavaDoc getDropTables() {
54         return (Boolean JavaDoc)readProperty("dropTables");
55     }
56     
57     
58 }
59
Popular Tags