|
|
@@ -1,7 +1,7 @@
|
|
|
package fr.jaquin.bdlg.planner.persistence;
|
|
|
|
|
|
-import java.util.HashSet;
|
|
|
-import java.util.Set;
|
|
|
+import java.util.ArrayList;
|
|
|
+import java.util.List;
|
|
|
import javax.persistence.CascadeType;
|
|
|
import javax.persistence.Column;
|
|
|
import javax.persistence.Entity;
|
|
|
@@ -34,8 +34,8 @@ public class QuestionnaireQuestion {
|
|
|
|
|
|
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, mappedBy = "question",
|
|
|
orphanRemoval = true)
|
|
|
- private Set<QuestionnaireQuestionCompetence> competenceList =
|
|
|
- new HashSet<QuestionnaireQuestionCompetence>();
|
|
|
+ private List<QuestionnaireQuestionCompetence> competenceList =
|
|
|
+ new ArrayList<QuestionnaireQuestionCompetence>();
|
|
|
|
|
|
public QuestionnaireQuestion() {}
|
|
|
|
|
|
@@ -124,11 +124,11 @@ public class QuestionnaireQuestion {
|
|
|
this._order = _order;
|
|
|
}
|
|
|
|
|
|
- public Set<QuestionnaireQuestionCompetence> getCompetenceList() {
|
|
|
- return this.competenceList;
|
|
|
+ public List<QuestionnaireQuestionCompetence> getCompetenceList() {
|
|
|
+ return competenceList;
|
|
|
}
|
|
|
|
|
|
- public void setCompetenceList(Set<QuestionnaireQuestionCompetence> competenceList) {
|
|
|
+ public void setCompetenceList(List<QuestionnaireQuestionCompetence> competenceList) {
|
|
|
this.competenceList = competenceList;
|
|
|
}
|
|
|
|