Minor fixes. Added missing Javadoc comments

git-svn-id: https://forja.rediris.es/svn/cusl6-swadroid/trunk@40 5bc14d19-1e4b-4ba2-aa50-860af135f48c
This commit is contained in:
Juan Miguel Boyero Corral 2011-11-22 22:02:39 +00:00
parent 86d624c405
commit c57cb0da6b
3 changed files with 35 additions and 20 deletions

View File

@ -29,7 +29,7 @@ public class Test extends Model {
/** /**
* List of questions and related answers * List of questions and related answers
*/ */
List<Pair<TestQuestion, List<TestAnswer>>> questionsAndAnswers; private List<Pair<TestQuestion, List<TestAnswer>>> questionsAndAnswers;
/** /**
* Constructor * Constructor

View File

@ -23,23 +23,32 @@ package es.ugr.swad.swadroid.model;
* @author Juan Miguel Boyero Corral <juanmi1982@gmail.com> * @author Juan Miguel Boyero Corral <juanmi1982@gmail.com>
*/ */
public class TestConfig extends Model { public class TestConfig extends Model {
int def;
int max;
int min;
/** /**
* Minimum time between two tests * Default value for number of questions in test
*/ */
int mintimenxttstperqst; private int def;
/**
* Maximum value for number of questions in test
*/
private int max;
/**
* Minimum value for number of questions in test
*/
private int min;
/**
* Minimum time (in seconds) by question between two tests
*/
private int mintimenxttstperqst;
/** /**
* Feedback type received by student * Feedback type received by student
*/ */
String feedback; private String feedback;
/** /**
* @param id * @param id Course code
* @param def * @param def Default value for number of questions in test
* @param max * @param max Maximum value for number of questions in test
* @param min * @param min Minimum value for number of questions in test
* @param mintimenxttstperqst Minimum time between two tests * @param mintimenxttstperqst Minimum time between two tests
* @param feedback Feedback type received by student * @param feedback Feedback type received by student
*/ */
@ -54,42 +63,48 @@ public class TestConfig extends Model {
} }
/** /**
* @return the def * Gets default value for number of questions in test
* @return Default value for number of questions in test
*/ */
public int getDef() { public int getDef() {
return def; return def;
} }
/** /**
* @param def the def to set * Sets default value for number of questions in test
* @param def Default value for number of questions in test
*/ */
public void setDef(int def) { public void setDef(int def) {
this.def = def; this.def = def;
} }
/** /**
* @return the max * Gets maximum value for number of questions in test
* @return Maximum value for number of questions in test
*/ */
public int getMax() { public int getMax() {
return max; return max;
} }
/** /**
* @param max the max to set * Sets maximum value for number of questions in test
* @param max Maximum value for number of questions in test
*/ */
public void setMax(int max) { public void setMax(int max) {
this.max = max; this.max = max;
} }
/** /**
* @return the min * Gets minimum value for number of questions in test
* @return Minimum value for number of questions in test
*/ */
public int getMin() { public int getMin() {
return min; return min;
} }
/** /**
* @param min the min to set * Sets minimum value for number of questions in test
* @param min Minimum value for number of questions in test
*/ */
public void setMin(int min) { public void setMin(int min) {
this.min = min; this.min = min;

View File

@ -26,15 +26,15 @@ public class TestTag extends Model {
/** /**
* Course code * Course code
*/ */
int crsCod; private int crsCod;
/** /**
* Tag's text * Tag's text
*/ */
String tagTxt; private String tagTxt;
/** /**
* Flag for know if the tag is hidden * Flag for know if the tag is hidden
*/ */
boolean tagHidden; private boolean tagHidden;
/** /**
* Constructor * Constructor