KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectstyle > cayenne > pref > _DomainPreference


1 package org.objectstyle.cayenne.pref;
2
3 /** Class _DomainPreference 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 _DomainPreference extends org.objectstyle.cayenne.CayenneDataObject {
9
10     public static final String JavaDoc KEY_PROPERTY = "key";
11     public static final String JavaDoc KEY_VALUE_PAIRS_PROPERTY = "keyValuePairs";
12     public static final String JavaDoc DOMAIN_PROPERTY = "domain";
13
14     public static final String JavaDoc ID_PK_COLUMN = "id";
15
16     public void setKey(String JavaDoc key) {
17         writeProperty("key", key);
18     }
19     public String JavaDoc getKey() {
20         return (String JavaDoc)readProperty("key");
21     }
22     
23     
24     public void setKeyValuePairs(String JavaDoc keyValuePairs) {
25         writeProperty("keyValuePairs", keyValuePairs);
26     }
27     public String JavaDoc getKeyValuePairs() {
28         return (String JavaDoc)readProperty("keyValuePairs");
29     }
30     
31     
32     public void setDomain(Domain domain) {
33         setToOneTarget("domain", domain, true);
34     }
35
36     public Domain getDomain() {
37         return (Domain)readProperty("domain");
38     }
39     
40     
41 }
42
Popular Tags