| Modifier and Type | Method and Description |
|---|---|
void |
addColumn(String column) |
IEntity |
createEntity() |
void |
ensureColumnsExist(String[] newColumns) |
void |
flush() |
IEntity[] |
getAll() |
String[] |
getColumns() |
IDatabase |
getDatabase() |
String |
getName() |
protected boolean |
isColumnInTable(String column) |
boolean |
isModified() |
IEntity |
simpleQuery(String column,
String value) |
String |
toString() |
public Table(Database database, File file) throws DatabaseException
DatabaseExceptionpublic IEntity createEntity()
createEntity in interface ITablepublic void ensureColumnsExist(String[] newColumns)
ensureColumnsExist in interface ITablepublic IDatabase getDatabase()
getDatabase in interface ITablepublic String[] getColumns()
getColumns in interface ITablepublic IEntity simpleQuery(String column, String value)
simpleQuery in interface ITablepublic void flush()
throws DatabaseException
flush in interface ITableDatabaseExceptionpublic boolean isModified()
isModified in interface ITableprotected boolean isColumnInTable(String column)
Copyright © 2020. All rights reserved.