1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Projection_Planning/src/main/java/DB/Table.java

20 lines
506 B
Java

package DB;
public abstract class Table {
static protected String tableName;
static protected String check;
protected String checkValue;
protected <T> T get(Class<T> cl, String value) {
return DB.get(cl, tableName, value, check, checkValue);
}
protected boolean set(String value, String newValue) {
return DB.set(tableName, value, newValue, check, checkValue);
}
public boolean delete() {
return DB.delete(tableName, check, checkValue);
}
}