@@ -0,0 +1,1753 @@
+//TODO: Copyright info%0Apackage com.gmail.emerssso.srbase.database;%0A%0Aimport android.database.sqlite.SQLiteDatabase;%0Aimport android.util.Log;%0A%0A// TODO: Auto-generated Javadoc%0A/**%0A * The Class SRTable.%0A * %0A * @autho Conner Kasten%0A */%0Apublic class SRTable %7B%0A%09%0A%09/** The Constant TABLE_SR. */%0A%09public static final String TABLE_SR = %22SR%22;%0A%09%0A%09/** The Constant COLUMN_ID. */%0A%09public static final String COLUMN_ID = %22_id%22;%0A%09%0A%09/** The Constant COLUMN_SR_NUMBER. */%0A%09public static final String COLUMN_SR_NUMBER = %22SR_number%22;%0A%09%0A%09/** The Constant COLUMN_CUSTOMER_NAME. */%0A%09public static final String COLUMN_CUSTOMER_NAME = %22customer%22;%0A%09%0A%09/** The Constant COLUMN_MODEL_NUMBER. */%0A%09public static final String COLUMN_MODEL_NUMBER = %22model_number%22;%0A%09%0A%09/** The Constant COLUMN_SERIAL_NUMBER. */%0A%09public static final String COLUMN_SERIAL_NUMBER = %22serial_number%22;%0A%09%0A%09/** The Constant COLUMN_DESCRIPTION. */%0A%09public static final String COLUMN_DESCRIPTION = %22description%22;%0A%09%0A%09private static final String DATABASE_CREATE = %22create table %22%0A%09%09%09+ TABLE_SR + %22(%22 + COLUMN_ID %0A%09%09%09+ %22 integer primary key autoincrement, %22%0A%09%09%09+ COLUMN_SR_NUMBER + %22 text not null, %22%0A%09%09%09+ COLUMN_CUSTOMER_NAME + %22 text not null, %22%0A%09%09%09+ COLUMN_MODEL_NUMBER + %22 text not null, %22%0A%09%09%09+ COLUMN_SERIAL_NUMBER + %22 text not null, %22%0A%09%09%09+ COLUMN_DESCRIPTION + %22 text not null);%22;%0A%09%0A%09public static void onCreate(SQLiteDatabase database) %7B%0A%09    database.execSQL(DATABASE_CREATE);%0A%09%7D%0A%09%0A%09public static void onUpgrade(SQLiteDatabase database, int oldVersion,%0A%09%09%09int newVersion) %7B%0A%09%09Log.w(SRTable.class.getName(), %22Upgrading database from version %22%0A%09%09%09%09+ oldVersion + %22 to %22 + newVersion%0A%09%09%09%09+ %22, which will destroy all old data%22);%0A%09%09database.execSQL(%22DROP TABLE IF EXISTS %22 + TABLE_SR);%0A%09%09onCreate(database);%0A%09%7D%0A%0A%7D%0A

Add SRTable class