I want to store constructors or references to constructors in an SQL table to look up a class name and be able to access a constructor and instantiate from there. In C I would just store a pointer to a static function; how do I do it in Java? Any ideas?
// Creating Tables
@Override
public void onCreate(SQLiteDatabase db) {
String CREATE_CONTACTS_TABLE = "CREATE TABLE " + TABLE_CONTACTS + "("
+ KEY_ID + " INTEGER PRIMARY KEY," + KEY_NAME + " TEXT,"
+ KEY_CONSTRUCTOR + " ///SOMETHING THAT CAN DESCRIBE A CONSTRUCTOR///" + ")";
db.execSQL(CREATE_CONTACTS_TABLE);
}