public class EntityMeta extends Object implements Serializable
| 构造器和说明 |
|---|
EntityMeta() |
public String getLoadAllSql()
public void setLoadAllSql(String loadAllSql)
loadAllSql - the loadAllSql to setpublic String getTableName()
public void setTableName(String tableName)
tableName - the tableName to setpublic String getIdType()
public int getIdLength()
public PKStrategy getIdStrategy()
public void setIdStrategy(PKStrategy idStrategy)
idStrategy - the idStrategy to setpublic IdGenerator getIdGenerator()
public void setIdGenerator(IdGenerator idGenerator)
idGenerator - the idGenerator to setpublic void addFieldMeta(FieldMeta fieldMeta)
public String[] getIdArray()
public void setIdArray(String[] idArray)
idArray - the idArray to setpublic String[] getFieldsArray()
public String[] getFieldsNotPartitionKey()
public void setFieldsArray(String[] fieldsArray)
fieldsArray - the fieldArray to setpublic void setBizIdRelatedColumns(String[] bizIdRelatedColumns)
bizIdRelatedColumns - the bizIdRelatedColumns to setpublic String[] getBizIdRelatedColumns()
public int getFieldIndex(String fieldName)
public String getBizIdSignature()
public Integer[] getBizIdRelatedColIndex()
public Integer getIdIndex()
public String[] getRejectIdFieldArray()
public void setRejectIdFieldArray(String[] rejectIdFieldArray)
rejectIdFieldArray - the rejectIdFieldArray to setpublic String getSequence()
public void setSequence(String sequence)
public int getColumnJdbcType(String fieldName)
public List<TableCascadeModel> getCascadeModels()
public boolean addCascade(TableCascadeModel cascadeModel)
cascadeModel - public void setLoadSql(String loadSql)
loadSql - the loadSql to setpublic Integer[] getFieldsTypeArray()
public void setFieldsTypeArray(Integer[] fieldsTypeArray)
fieldsTypeArray - the fieldsTypeArray to setpublic String[] getFieldsDefaultValue()
public void setFieldsDefaultValue(String[] fieldsDefaultValue)
fieldsDefaultValue - the fieldsDefaultValue to setpublic void setFieldsMeta(HashMap<String,FieldMeta> fieldsMeta)
fieldsMeta - the fieldsMeta to setpublic Class[] getCascadeTypes()
public void setCascadeTypes(Class[] cascadeTypes)
cascadeTypes - the cascadeTypes to setpublic Boolean[] getFieldsNullable()
public void setFieldsNullable(Boolean[] fieldsNullable)
fieldsNullable - the fieldsNullable to setpublic String getPkConstraint()
public void setPkConstraint(String pkConstraint)
pkConstraint - the pkConstraint to setpublic ShardingConfig getShardingConfig()
public void setShardingConfig(ShardingConfig shardingConfig)
shardingConfig - the shardingModel to setpublic String getIdNameWhereSql()
public void setIdNameWhereSql(String idNameWhereSql)
idNameWhereSql - the idNameWhereSql to setpublic String getIdArgWhereSql()
public void setIdArgWhereSql(String idArgWhereSql)
idArgWhereSql - the idArgWhereSql to setpublic IdGenerator getBusinessIdGenerator()
public void setBusinessIdGenerator(IdGenerator businessIdGenerator)
businessIdGenerator - the businessIdGenerator to setpublic String getBusinessIdField()
public void setBusinessIdField(String businessIdField)
businessIdField - the businessIdField to setpublic Integer getBizIdLength()
public void setBizIdLength(Integer bizIdLength)
bizIdLength - the bizIdLength to setpublic Integer getBizIdSequenceSize()
public void setBizIdSequenceSize(Integer bizIdSequenceSize)
bizIdSequenceSize - the bizIdSequenceSize to setpublic void setBizIdSignature(String bizIdSignature)
bizIdSignature - the bizIdSignature to setpublic Class getEntityClass()
public void setEntityClass(Class entityClass)
entityClass - the entityClass to setpublic boolean isHasBizIdConfig()
public void setHasBizIdConfig(boolean hasBizIdConfig)
hasBizIdConfig - the hasBizIdConfig to setpublic boolean isBizIdEqPK()
public void setBizIdEqPK(boolean bizIdEqPK)
bizIdEqPK - the bizIdEqPK to setpublic String getAllColumnNames()
public void setAllColumnNames(String allColumnNames)
allColumnNames - the allColumnNames to setpublic String getSchema()
public void setSchema(String schema)
schema - the schema to setpublic List<FieldSecureConfig> getSecureFields()
public void addSecureField(FieldSecureConfig fieldSecureConfig)
public IgnoreCaseSet getSecureColumns()
public void setSecureColumns(IgnoreCaseSet secureColumns)
public DataVersionConfig getDataVersion()
public void setDataVersion(DataVersionConfig dataVersion)
public String getTenantField()
public void setTenantField(String tenantField)
Copyright © 2023. All rights reserved.