cn.vonce.sql.config.SqlBeanConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vonce-sqlbean-core Show documentation
Show all versions of vonce-sqlbean-core Show documentation
This is the core project of Sqlbean.
The newest version!
package cn.vonce.sql.config;
import cn.vonce.sql.processor.DefaultUniqueIdProcessor;
import cn.vonce.sql.processor.UniqueIdProcessor;
import java.io.Serializable;
/**
* SqlBean配置
*
* @author Jovi
* @version 1.0
* @email [email protected]
* @date 2018年6月12日下午2:48:12
*/
public class SqlBeanConfig implements Serializable {
public SqlBeanConfig() {
}
private Boolean toUpperCase;
private UniqueIdProcessor uniqueIdProcessor;
private Boolean autoCreate;
public Boolean getToUpperCase() {
return toUpperCase;
}
public void setToUpperCase(Boolean toUpperCase) {
if (this.toUpperCase == null) {
this.toUpperCase = toUpperCase;
}
}
public UniqueIdProcessor getUniqueIdProcessor() {
if (uniqueIdProcessor == null) {
uniqueIdProcessor = new DefaultUniqueIdProcessor();
}
return uniqueIdProcessor;
}
public void setUniqueIdProcessor(UniqueIdProcessor uniqueIdProcessor) {
if (this.uniqueIdProcessor == null) {
this.uniqueIdProcessor = uniqueIdProcessor;
}
}
public boolean getAutoCreate() {
if (autoCreate == null) {
autoCreate = true;
}
return autoCreate;
}
public void setAutoCreate(boolean autoCreate) {
if (this.autoCreate == null) {
this.autoCreate = autoCreate;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy