|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IStorageSchemaUpdater
| Method Summary | |
|---|---|
int |
getStorageSchemaVersion()
Getter for property 'storageSchemaVersion'. |
boolean |
onCreateColumn(String tableName,
String fieldName,
Class fieldType)
Create column in table |
boolean |
onDeleteColumn(String tableName,
String fieldName)
Delete column from table |
boolean |
onDeleteTable(String tableName)
Delete table from database |
boolean |
onRenameColumn(String tableName,
String fieldName,
String newFieldName)
Rename table column |
boolean |
onRenameTable(String tableName,
String newTableName)
Rename table |
boolean |
setStorageSchemaVersion(int storageSchemaVersion)
Set database schema version |
| Method Detail |
|---|
int getStorageSchemaVersion()
boolean onDeleteColumn(String tableName,
String fieldName)
throws AnnotationException
tableName - table namefieldName - column name
AnnotationException
boolean onRenameColumn(String tableName,
String fieldName,
String newFieldName)
throws AnnotationException
tableName - table namefieldName - column namenewFieldName - new column name
AnnotationException
boolean onCreateColumn(String tableName,
String fieldName,
Class fieldType)
throws AnnotationException
tableName - table namefieldName - column namefieldType - column type
AnnotationException
boolean onDeleteTable(String tableName)
throws AnnotationException
tableName - table name for delete
AnnotationException
boolean onRenameTable(String tableName,
String newTableName)
throws AnnotationException
tableName - table namenewTableName - new table name
AnnotationException
boolean setStorageSchemaVersion(int storageSchemaVersion)
throws AnnotationException
storageSchemaVersion - database schema version
AnnotationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||