1 package org.objectstyle.cayenne.pref; 2 3 8 public class _DomainPreference extends org.objectstyle.cayenne.CayenneDataObject { 9 10 public static final String KEY_PROPERTY = "key"; 11 public static final String KEY_VALUE_PAIRS_PROPERTY = "keyValuePairs"; 12 public static final String DOMAIN_PROPERTY = "domain"; 13 14 public static final String ID_PK_COLUMN = "id"; 15 16 public void setKey(String key) { 17 writeProperty("key", key); 18 } 19 public String getKey() { 20 return (String )readProperty("key"); 21 } 22 23 24 public void setKeyValuePairs(String keyValuePairs) { 25 writeProperty("keyValuePairs", keyValuePairs); 26 } 27 public String getKeyValuePairs() { 28 return (String )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 |