public class Configuration extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_LIMIT |
static int |
DEFAULT_MAX_START |
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
KeyGenerator |
getDefaultKeyGenerator() |
KeyGenerator |
getKeyGenerator(String tableName,
String keyName) |
int |
getLimitMaxValue() |
Class |
getPojoClass(String tableName) |
int |
getStartMaxValue() |
boolean |
isAutoGeneratedKeys(String tableName) |
boolean |
isCanCount() |
boolean |
isDefaultAutoKeyGenerator() |
boolean |
needCheckLimitValue() |
boolean |
needCheckStartValue() |
void |
putTableConfig(ConfigurationBuilder.TableConfig tableConfig) |
void |
setCanCount(boolean canCount) |
void |
setDefaultAutoKeyGenerator(boolean defaultAutoKeyGenerator) |
void |
setDefaultKeyGenerator(KeyGenerator defaultKeyGenerator) |
void |
setLimitMaxValue(int limitMaxValue) |
void |
setStartMaxValue(int startMaxValue) |
public static final int DEFAULT_MAX_START
public static final int DEFAULT_MAX_LIMIT
public KeyGenerator getDefaultKeyGenerator()
public void setDefaultKeyGenerator(KeyGenerator defaultKeyGenerator)
public boolean isDefaultAutoKeyGenerator()
public void setDefaultAutoKeyGenerator(boolean defaultAutoKeyGenerator)
public void putTableConfig(ConfigurationBuilder.TableConfig tableConfig)
public boolean isAutoGeneratedKeys(String tableName)
public KeyGenerator getKeyGenerator(String tableName, String keyName)
public boolean isCanCount()
public void setCanCount(boolean canCount)
public int getStartMaxValue()
public void setStartMaxValue(int startMaxValue)
public int getLimitMaxValue()
public void setLimitMaxValue(int limitMaxValue)
public boolean needCheckStartValue()
public boolean needCheckLimitValue()
Copyright © 2006–2018 TinyGroup. All rights reserved.