java.lang.Object
fr.univtours.examplanner.entities.WithIDEntity
fr.univtours.examplanner.entities.Exam
-
Constructor Summary
ConstructorDescriptionExam
(@Nullable String id, @NotNull String name, @NotNull List<fr.univtours.examplanner.entities.dtos.GroupDTO> groups, @NotNull List<fr.univtours.examplanner.entities.dtos.ManagerDTO> managers, @NotNull fr.univtours.examplanner.entities.dtos.SubjectDTO subject, float duration, @NotNull List<Exam> previousExams) Examen -
Method Summary
Modifier and TypeMethodDescriptionvoid
addGroup
(@NotNull fr.univtours.examplanner.entities.dtos.GroupDTO group) void
void
addManager
(@NotNull fr.univtours.examplanner.entities.dtos.ManagerDTO manager) void
addManager
(@NotNull List<fr.univtours.examplanner.entities.dtos.ManagerDTO> managers) void
addPreviousExam
(@NotNull Exam exam) void
addPreviousExam
(@NotNull List<Exam> exams) boolean
float
@NotNull List<fr.univtours.examplanner.entities.dtos.GroupDTO>
@NotNull List<fr.univtours.examplanner.entities.dtos.ManagerDTO>
@NotNull String
getName()
@NotNull fr.univtours.examplanner.entities.dtos.SubjectDTO
int
hashCode()
void
removeGroup
(@NotNull fr.univtours.examplanner.entities.dtos.GroupDTO group) void
removeGroup
(@NotNull List<fr.univtours.examplanner.entities.dtos.GroupDTO> groups) void
removeManager
(@NotNull fr.univtours.examplanner.entities.dtos.ManagerDTO manager) void
removeManager
(@NotNull List<fr.univtours.examplanner.entities.dtos.ManagerDTO> managers) void
removePreviousExam
(@NotNull Exam exam) void
removePreviousExam
(@NotNull List<Exam> exams) void
setDuration
(float duration) void
void
setSubject
(@NotNull fr.univtours.examplanner.entities.dtos.SubjectDTO subject) toString()
Methods inherited from class fr.univtours.examplanner.entities.WithIDEntity
getId, setId
-
Constructor Details
-
Exam
public Exam(@Nullable @Nullable String id, @NotNull @NotNull String name, @NotNull @NotNull List<fr.univtours.examplanner.entities.dtos.GroupDTO> groups, @NotNull @NotNull List<fr.univtours.examplanner.entities.dtos.ManagerDTO> managers, @NotNull @NotNull fr.univtours.examplanner.entities.dtos.SubjectDTO subject, float duration, @NotNull @NotNull List<Exam> previousExams) Examen- Parameters:
id
- Identifiant de l'examen dans la base de donnée, si null l'examen n'est pas encore enregistréname
- Nom de l'examengroups
- Groupes d'étudiants participant à l'examenmanagers
- Surveillants de l'examensubject
- Sujet de l'examenduration
- Durée de l'examen en heurespreviousExams
- Précédence de l'examen
-
-
Method Details
-
getName
-
setName
-
getGroups
-
addGroup
public void addGroup(@NotNull @NotNull fr.univtours.examplanner.entities.dtos.GroupDTO group) -
addGroup
public void addGroup(@NotNull @NotNull List<fr.univtours.examplanner.entities.dtos.GroupDTO> groups) -
removeGroup
public void removeGroup(@NotNull @NotNull fr.univtours.examplanner.entities.dtos.GroupDTO group) -
removeGroup
public void removeGroup(@NotNull @NotNull List<fr.univtours.examplanner.entities.dtos.GroupDTO> groups) -
getManagers
-
addManager
public void addManager(@NotNull @NotNull fr.univtours.examplanner.entities.dtos.ManagerDTO manager) -
addManager
public void addManager(@NotNull @NotNull List<fr.univtours.examplanner.entities.dtos.ManagerDTO> managers) -
removeManager
public void removeManager(@NotNull @NotNull fr.univtours.examplanner.entities.dtos.ManagerDTO manager) -
removeManager
public void removeManager(@NotNull @NotNull List<fr.univtours.examplanner.entities.dtos.ManagerDTO> managers) -
getSubject
@NotNull public @NotNull fr.univtours.examplanner.entities.dtos.SubjectDTO getSubject() -
setSubject
public void setSubject(@NotNull @NotNull fr.univtours.examplanner.entities.dtos.SubjectDTO subject) -
getDuration
public float getDuration() -
setDuration
public void setDuration(float duration) -
getPreviousExams
-
addPreviousExam
-
addPreviousExam
-
removePreviousExam
-
removePreviousExam
-
equals
-
hashCode
public int hashCode() -
toString
-