org.solovyev.android.db.AbstractSQLiteHelper Maven / Gradle / Ivy
package org.solovyev.android.db;
import android.content.Context;
import android.database.sqlite.SQLiteOpenHelper;
import org.jetbrains.annotations.NotNull;
/**
* User: serso
* Date: 6/3/12
* Time: 4:34 PM
*/
public abstract class AbstractSQLiteHelper {
protected static final int MAX_IN_COUNT = 999;
@NotNull
private final Context context;
@NotNull
private final SQLiteOpenHelper sqliteOpenHelper;
protected AbstractSQLiteHelper(@NotNull Context context, @NotNull SQLiteOpenHelper sqliteOpenHelper) {
this.context = context;
this.sqliteOpenHelper = sqliteOpenHelper;
}
@NotNull
protected Context getContext() {
return context;
}
@NotNull
protected SQLiteOpenHelper getSqliteOpenHelper() {
return sqliteOpenHelper;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy