Classe QT
This commit is contained in:
parent
eddf5f1c0d
commit
24ea00f0a0
28
NGCC/src/config/Question.java
Normal file
28
NGCC/src/config/Question.java
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
package config;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
public class Question {
|
||||||
|
private String titre;
|
||||||
|
private boolean multiple=false;
|
||||||
|
private ArrayList<Reponse> reponses = new ArrayList<Reponse>();
|
||||||
|
|
||||||
|
public ArrayList<Reponse> getReponses() {
|
||||||
|
return reponses;
|
||||||
|
}
|
||||||
|
public void setReponses(ArrayList<Reponse> reponses) {
|
||||||
|
this.reponses = reponses;
|
||||||
|
}
|
||||||
|
public String getTitre() {
|
||||||
|
return titre;
|
||||||
|
}
|
||||||
|
public void setTitre(String titre) {
|
||||||
|
this.titre = titre;
|
||||||
|
}
|
||||||
|
public boolean isMultiple() {
|
||||||
|
return multiple;
|
||||||
|
}
|
||||||
|
public void setMultiple(boolean multiple) {
|
||||||
|
this.multiple = multiple;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user