类 TranslateConfigModel
- java.lang.Object
-
- org.sagacity.sqltoy.translate.model.TranslateConfigModel
-
- 所有已实现的接口:
Serializable
public class TranslateConfigModel extends Object implements Serializable
- 版本:
- v1.0,Date:2013-4-8
- 作者:
- zhongxuchen
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 TranslateConfigModel()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetCache()StringgetDataSource()intgetDiskSize()intgetHeap()IntegergetI18nIndex(String local)intgetKeepAlive()intgetKeyIndex()StringgetMethod()intgetOffHeap()StringgetPassword()String[]getProperties()StringgetService()StringgetSql()StringgetType()StringgetUrl()StringgetUsername()booleanhasI18n(Integer index)voidputI18n(String key, Integer index)voidsetCache(String cache)voidsetDataSource(String dataSource)voidsetDiskSize(int diskSize)voidsetHeap(int heap)voidsetKeepAlive(int keepAlive)voidsetKeyIndex(int keyIndex)voidsetMethod(String method)voidsetOffHeap(int offHeap)voidsetPassword(String password)voidsetProperties(String[] properties)voidsetService(String service)voidsetSql(String sql)voidsetType(String type)voidsetUrl(String url)voidsetUsername(String username)
-
-
-
方法详细资料
-
getKeepAlive
public int getKeepAlive()
- 返回:
- the keepAlive
-
setKeepAlive
public void setKeepAlive(int keepAlive)
- 参数:
keepAlive- the keepAlive to set
-
getHeap
public int getHeap()
- 返回:
- the heap
-
setHeap
public void setHeap(int heap)
- 参数:
heap- the heap to set
-
getOffHeap
public int getOffHeap()
- 返回:
- the offHeap
-
setOffHeap
public void setOffHeap(int offHeap)
- 参数:
offHeap- the offHeap to set
-
getCache
public String getCache()
- 返回:
- the cache
-
setCache
public void setCache(String cache)
- 参数:
cache- the cache to set
-
getSql
public String getSql()
- 返回:
- the sql
-
setSql
public void setSql(String sql)
- 参数:
sql- the sql to set
-
getService
public String getService()
- 返回:
- the service
-
setService
public void setService(String service)
- 参数:
service- the service to set
-
getMethod
public String getMethod()
- 返回:
- the method
-
setMethod
public void setMethod(String method)
- 参数:
method- the method to set
-
getKeyIndex
public int getKeyIndex()
- 返回:
- the keyIndex
-
setKeyIndex
public void setKeyIndex(int keyIndex)
- 参数:
keyIndex- the keyIndex to set
-
getDataSource
public String getDataSource()
- 返回:
- the dataSource
-
setDataSource
public void setDataSource(String dataSource)
- 参数:
dataSource- the dataSource to set
-
getType
public String getType()
- 返回:
- the type
-
setType
public void setType(String type)
- 参数:
type- the type to set
-
getUrl
public String getUrl()
- 返回:
- the url
-
setUrl
public void setUrl(String url)
- 参数:
url- the url to set
-
getUsername
public String getUsername()
- 返回:
- the username
-
setUsername
public void setUsername(String username)
- 参数:
username- the username to set
-
getPassword
public String getPassword()
- 返回:
- the password
-
setPassword
public void setPassword(String password)
- 参数:
password- the password to set
-
getDiskSize
public int getDiskSize()
- 返回:
- the diskSize
-
setDiskSize
public void setDiskSize(int diskSize)
- 参数:
diskSize- the diskSize to set
-
getProperties
public String[] getProperties()
-
setProperties
public void setProperties(String[] properties)
-
hasI18n
public boolean hasI18n(Integer index)
-
-