Skip to content

Instantly share code, notes, and snippets.

@jezinka
Created Mar 20, 2017
Embed
What would you like to do?
package com.projects.jezinka.conaobiad.model;
public abstract class BaseTable {
String TABLE_NAME;
String SQL_CREATE_ENTRIES;
public String getDeleteEntriesQuery() {
return "delete from " + this.TABLE_NAME;
}
public String getDropTableQuery() {
return "drop table if exists " + this.TABLE_NAME;
}
public String getCreateEntriesQuery() {
return this.SQL_CREATE_ENTRIES;
}
public String getTableName() {
return this.TABLE_NAME;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment