Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.apache.cayenne.pref;

Class _DomainPreference was generated by Cayenne. It is probably a good idea to avoid changing this class manually, since it may be overwritten next time code is regenerated. If you need to make any customizations, please use subclass.
 
 public class _DomainPreference extends org.apache.cayenne.CayenneDataObject {
 
    public static final String KEY_PROPERTY = "key";
    public static final String KEY_VALUE_PAIRS_PROPERTY = "keyValuePairs";
    public static final String DOMAIN_PROPERTY = "domain";
    public static final String ID_PK_COLUMN = "id";
    public void setKey(String key) {
        writeProperty("key"key);
    }
    public String getKey() {
        return (String)readProperty("key");
    }
    
    
    public void setKeyValuePairs(String keyValuePairs) {
        writeProperty("keyValuePairs"keyValuePairs);
    }
    public String getKeyValuePairs() {
        return (String)readProperty("keyValuePairs");
    }
    
    
    public void setDomain(Domain domain) {
        setToOneTarget("domain"domaintrue);
    }
    public Domain getDomain() {
        return (Domain)readProperty("domain");
    } 
    
    
New to GrepCode? Check out our FAQ X