Package | Description |
---|---|
es.ugr.swad.swadroid.database |
Database management package.
|
es.ugr.swad.swadroid.model |
Contains classes for manipulate application model.
|
Modifier and Type | Method and Description |
---|---|
List<TestQuestion> |
DataBaseHelper.getRandomCourseQuestionsByTagAndAnswerType(long selectedCourseCode,
List<TestTag> tagsList,
List<String> answerTypesList,
int maxQuestions)
Gets the questions of specified course and tags
|
Modifier and Type | Method and Description |
---|---|
void |
DataBaseHelper.insertTestQuestion(TestQuestion q,
long selectedCourseCode)
Inserts a test question in database
|
void |
DataBaseHelper.updateTestQuestion(TestQuestion prev,
TestQuestion actual,
long selectedCourseCode)
Updates a test question in database
|
Modifier and Type | Method and Description |
---|---|
TestQuestion |
Test.getQuestionAndAnswers(int i)
Gets the question stored in position i and related answers
|
Modifier and Type | Method and Description |
---|---|
List<TestQuestion> |
Test.getQuestions()
Gets the questions list
|
Modifier and Type | Method and Description |
---|---|
void |
Test.setQuestions(List<TestQuestion> questions)
Sets the questions list
|