public abstract class BaseTableScriptCreator extends Object implements TableScriptInterface
| 构造器和说明 | 
|---|
| BaseTableScriptCreator() | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| abstract String | alterField(PropertyVO propertyVO) | 
| abstract String | createIndexKey(PropertyVO propertyVO) | 
| abstract String | createPrimaryKey(PropertyVO propertyVO) | 
| String | createUnique(EntityVO entityVO) | 
| abstract String | dropIndexKey(PropertyVO propertyVO) | 
| abstract String | dropPrimaryKey(String tableName) | 
| String | dropUnique(EntityVO entityVO) | 
| abstract boolean | exist(String tableName) | 
| abstract boolean | exist(String tableName,
     String fieldName) | 
| abstract List<EntityVO> | getEntities() | 
| abstract EntityVO | getEntity(String tableName)获取真实数据字段列表 | 
| abstract String | getMappingType(PropertyVO propertyVO) | 
| PropertyVO | getProperty(String tableName,
           String fieldName)获取数据字表字段 | 
| abstract int | getTableFieldLength(String tableName,
                   String fieldName)获取数据库字段长度 | 
| abstract String | getTableFieldType(String tableName,
                 String fieldName)获取数据库字段类型 | 
| boolean | isEqualsProperty(PropertyVO propertyVO)判断字段类型、长度是否一致 | 
| boolean | isEqualsProperty(PropertyVO xmlProperty,
                PropertyVO fieldPropertyVO) | 
| abstract boolean | isExistIndexKey(PropertyVO propertyVO) | 
| abstract boolean | isExistPrimaryKey(String tableName) | 
| String | saveTable(EntityVO entityVO) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateField, createTable, dropField, droptable, getEntityNames, getPropertiespublic abstract boolean exist(String tableName, String fieldName) throws SQLException
exist 在接口中 TableScriptInterfaceSQLExceptionpublic abstract boolean exist(String tableName) throws SQLException
exist 在接口中 TableScriptInterfaceSQLExceptionpublic abstract String getMappingType(PropertyVO propertyVO) throws SQLException
getMappingType 在接口中 TableScriptInterfaceSQLExceptionpublic abstract boolean isExistPrimaryKey(String tableName) throws SQLException
isExistPrimaryKey 在接口中 TableScriptInterfaceSQLExceptionpublic abstract String dropPrimaryKey(String tableName)
dropPrimaryKey 在接口中 TableScriptInterfacepublic abstract String createPrimaryKey(PropertyVO propertyVO)
createPrimaryKey 在接口中 TableScriptInterfacepublic abstract String dropIndexKey(PropertyVO propertyVO) throws SQLException
SQLExceptionpublic abstract String createIndexKey(PropertyVO propertyVO) throws SQLException
SQLExceptionpublic abstract boolean isExistIndexKey(PropertyVO propertyVO) throws SQLException
SQLExceptionpublic abstract String getTableFieldType(String tableName, String fieldName) throws SQLException
TableScriptInterfacegetTableFieldType 在接口中 TableScriptInterfaceSQLExceptionpublic abstract EntityVO getEntity(String tableName) throws SQLException
TableScriptInterfacegetEntity 在接口中 TableScriptInterfaceSQLExceptionpublic abstract int getTableFieldLength(String tableName, String fieldName) throws SQLException
TableScriptInterfacegetTableFieldLength 在接口中 TableScriptInterfaceSQLExceptionpublic PropertyVO getProperty(String tableName, String fieldName) throws SQLException
TableScriptInterfacegetProperty 在接口中 TableScriptInterfaceSQLExceptionpublic boolean isEqualsProperty(PropertyVO propertyVO) throws SQLException
TableScriptInterfaceisEqualsProperty 在接口中 TableScriptInterfaceSQLExceptionpublic boolean isEqualsProperty(PropertyVO xmlProperty, PropertyVO fieldPropertyVO) throws SQLException
isEqualsProperty 在接口中 TableScriptInterfaceSQLExceptionpublic String createUnique(EntityVO entityVO)
createUnique 在接口中 TableScriptInterfacepublic String dropUnique(EntityVO entityVO)
dropUnique 在接口中 TableScriptInterfacepublic abstract String alterField(PropertyVO propertyVO) throws SQLException
alterField 在接口中 TableScriptInterfaceSQLExceptionpublic String saveTable(EntityVO entityVO) throws SQLException
saveTable 在接口中 TableScriptInterfaceSQLExceptionpublic abstract List<EntityVO> getEntities() throws SQLException
getEntities 在接口中 TableScriptInterfaceSQLExceptionCopyright © 2025. All rights reserved.