package org.apache.cayenne.modeler.pref;

/** Class _DBGeneratorDefaults 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 _DBGeneratorDefaults extends org.apache.cayenne.pref.PreferenceDetail {

    public static final String CREATE_FK_PROPERTY = "createFK";
    public static final String CREATE_PK_PROPERTY = "createPK";
    public static final String CREATE_TABLES_PROPERTY = "createTables";
    public static final String DROP_PK_PROPERTY = "dropPK";
    public static final String DROP_TABLES_PROPERTY = "dropTables";

    public static final String ID_PK_COLUMN = "id";

    public void setCreateFK(Boolean createFK) {
        writeProperty("createFK", createFK);
    }
    public Boolean getCreateFK() {
        return (Boolean)readProperty("createFK");
    }
    
    
    public void setCreatePK(Boolean createPK) {
        writeProperty("createPK", createPK);
    }
    public Boolean getCreatePK() {
        return (Boolean)readProperty("createPK");
    }
    
    
    public void setCreateTables(Boolean createTables) {
        writeProperty("createTables", createTables);
    }
    public Boolean getCreateTables() {
        return (Boolean)readProperty("createTables");
    }
    
    
    public void setDropPK(Boolean dropPK) {
        writeProperty("dropPK", dropPK);
    }
    public Boolean getDropPK() {
        return (Boolean)readProperty("dropPK");
    }
    
    
    public void setDropTables(Boolean dropTables) {
        writeProperty("dropTables", dropTables);
    }
    public Boolean getDropTables() {
        return (Boolean)readProperty("dropTables");
    }
    
    
}
