类 EntityMeta
- java.lang.Object
-
- org.sagacity.sqltoy.config.model.EntityMeta
-
- 所有已实现的接口:
Serializable
public class EntityMeta extends Object implements Serializable
- 版本:
- v1.0,Date:2012-6-1
- 作者:
- zhongxuchen
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 EntityMeta()
-
方法概要
-
-
-
方法详细资料
-
getLoadAllSql
public String getLoadAllSql()
- 返回:
- the loadAllSql
-
setLoadAllSql
public void setLoadAllSql(String loadAllSql)
- 参数:
loadAllSql- the loadAllSql to set
-
getTableName
public String getTableName()
- 返回:
- the tableName
-
setTableName
public void setTableName(String tableName)
- 参数:
tableName- the tableName to set
-
getIdType
public String getIdType()
-
getIdLength
public int getIdLength()
-
getIdStrategy
public PKStrategy getIdStrategy()
- 返回:
- the idStrategy
-
setIdStrategy
public void setIdStrategy(PKStrategy idStrategy)
- 参数:
idStrategy- the idStrategy to set
-
getIdGenerator
public IdGenerator getIdGenerator()
- 返回:
- the idGenerator
-
setIdGenerator
public void setIdGenerator(IdGenerator idGenerator)
- 参数:
idGenerator- the idGenerator to set
-
addFieldMeta
public void addFieldMeta(FieldMeta fieldMeta)
-
getIdArray
public String[] getIdArray()
- 返回:
- the idArray
-
setIdArray
public void setIdArray(String[] idArray)
- 参数:
idArray- the idArray to set
-
getFieldsArray
public String[] getFieldsArray()
- 返回:
- the fieldArray
-
getFieldsNotPartitionKey
public String[] getFieldsNotPartitionKey()
-
setFieldsArray
public void setFieldsArray(String[] fieldsArray)
- 参数:
fieldsArray- the fieldArray to set
-
setBizIdRelatedColumns
public void setBizIdRelatedColumns(String[] bizIdRelatedColumns)
- 参数:
bizIdRelatedColumns- the bizIdRelatedColumns to set
-
getBizIdRelatedColumns
public String[] getBizIdRelatedColumns()
- 返回:
- the bizIdRelatedColumn
-
getFieldIndex
public int getFieldIndex(String fieldName)
-
getBizIdSignature
public String getBizIdSignature()
- 返回:
- the bizIdSignature
-
getBizIdRelatedColIndex
public Integer[] getBizIdRelatedColIndex()
- 返回:
- the bizIdRelatedColIndexs
-
getIdIndex
public Integer getIdIndex()
-
getRejectIdFieldArray
public String[] getRejectIdFieldArray()
- 返回:
- the rejectIdFieldArray
-
setRejectIdFieldArray
public void setRejectIdFieldArray(String[] rejectIdFieldArray)
- 参数:
rejectIdFieldArray- the rejectIdFieldArray to set
-
getSequence
public String getSequence()
-
setSequence
public void setSequence(String sequence)
-
getColumnJdbcType
public int getColumnJdbcType(String fieldName)
-
getCascadeModels
public List<TableCascadeModel> getCascadeModels()
- 返回:
- the oneToManys
-
addCascade
public boolean addCascade(TableCascadeModel cascadeModel)
- 参数:
cascadeModel-
-
setLoadSql
public void setLoadSql(String loadSql)
- 参数:
loadSql- the loadSql to set
-
getFieldsTypeArray
public Integer[] getFieldsTypeArray()
- 返回:
- the fieldsTypeArray
-
setFieldsTypeArray
public void setFieldsTypeArray(Integer[] fieldsTypeArray)
- 参数:
fieldsTypeArray- the fieldsTypeArray to set
-
getFieldsDefaultValue
public String[] getFieldsDefaultValue()
- 返回:
- the fieldsDefaultValue
-
setFieldsDefaultValue
public void setFieldsDefaultValue(String[] fieldsDefaultValue)
- 参数:
fieldsDefaultValue- the fieldsDefaultValue to set
-
setFieldsMeta
public void setFieldsMeta(HashMap<String,FieldMeta> fieldsMeta)
- 参数:
fieldsMeta- the fieldsMeta to set
-
getCascadeTypes
public Class[] getCascadeTypes()
- 返回:
- the cascadeTypes
-
setCascadeTypes
public void setCascadeTypes(Class[] cascadeTypes)
- 参数:
cascadeTypes- the cascadeTypes to set
-
getFieldsNullable
public Boolean[] getFieldsNullable()
- 返回:
- the fieldsNullable
-
setFieldsNullable
public void setFieldsNullable(Boolean[] fieldsNullable)
- 参数:
fieldsNullable- the fieldsNullable to set
-
getPkConstraint
public String getPkConstraint()
- 返回:
- the pkConstraint
-
setPkConstraint
public void setPkConstraint(String pkConstraint)
- 参数:
pkConstraint- the pkConstraint to set
-
getShardingConfig
public ShardingConfig getShardingConfig()
- 返回:
- the shardingModel
-
setShardingConfig
public void setShardingConfig(ShardingConfig shardingConfig)
- 参数:
shardingConfig- the shardingModel to set
-
getIdNameWhereSql
public String getIdNameWhereSql()
- 返回:
- the idNameWhereSql
-
setIdNameWhereSql
public void setIdNameWhereSql(String idNameWhereSql)
- 参数:
idNameWhereSql- the idNameWhereSql to set
-
getIdArgWhereSql
public String getIdArgWhereSql()
- 返回:
- the idArgWhereSql
-
setIdArgWhereSql
public void setIdArgWhereSql(String idArgWhereSql)
- 参数:
idArgWhereSql- the idArgWhereSql to set
-
getBusinessIdGenerator
public IdGenerator getBusinessIdGenerator()
- 返回:
- the businessIdGenerator
-
setBusinessIdGenerator
public void setBusinessIdGenerator(IdGenerator businessIdGenerator)
- 参数:
businessIdGenerator- the businessIdGenerator to set
-
getBusinessIdField
public String getBusinessIdField()
- 返回:
- the businessIdField
-
setBusinessIdField
public void setBusinessIdField(String businessIdField)
- 参数:
businessIdField- the businessIdField to set
-
getBizIdLength
public Integer getBizIdLength()
- 返回:
- the bizIdLength
-
setBizIdLength
public void setBizIdLength(Integer bizIdLength)
- 参数:
bizIdLength- the bizIdLength to set
-
getBizIdSequenceSize
public Integer getBizIdSequenceSize()
- 返回:
- the bizIdSequenceSize
-
setBizIdSequenceSize
public void setBizIdSequenceSize(Integer bizIdSequenceSize)
- 参数:
bizIdSequenceSize- the bizIdSequenceSize to set
-
setBizIdSignature
public void setBizIdSignature(String bizIdSignature)
- 参数:
bizIdSignature- the bizIdSignature to set
-
getEntityClass
public Class getEntityClass()
- 返回:
- the entityClass
-
setEntityClass
public void setEntityClass(Class entityClass)
- 参数:
entityClass- the entityClass to set
-
isHasBizIdConfig
public boolean isHasBizIdConfig()
- 返回:
- the hasBizIdConfig
-
setHasBizIdConfig
public void setHasBizIdConfig(boolean hasBizIdConfig)
- 参数:
hasBizIdConfig- the hasBizIdConfig to set
-
isBizIdEqPK
public boolean isBizIdEqPK()
- 返回:
- the bizIdEqPK
-
setBizIdEqPK
public void setBizIdEqPK(boolean bizIdEqPK)
- 参数:
bizIdEqPK- the bizIdEqPK to set
-
getAllColumnNames
public String getAllColumnNames()
- 返回:
- the allColumnNames
-
setAllColumnNames
public void setAllColumnNames(String allColumnNames)
- 参数:
allColumnNames- the allColumnNames to set
-
getSchema
public String getSchema()
- 返回:
- the schema
-
setSchema
public void setSchema(String schema)
- 参数:
schema- the schema to set
-
getSecureFields
public List<FieldSecureConfig> getSecureFields()
-
addSecureField
public void addSecureField(FieldSecureConfig fieldSecureConfig)
-
getSecureColumns
public IgnoreCaseSet getSecureColumns()
-
setSecureColumns
public void setSecureColumns(IgnoreCaseSet secureColumns)
-
getDataVersion
public DataVersionConfig getDataVersion()
-
setDataVersion
public void setDataVersion(DataVersionConfig dataVersion)
-
getTenantField
public String getTenantField()
-
setTenantField
public void setTenantField(String tenantField)
-
-