com.itnsa.gestion.bean

Class ReponseEvaluation

    • Constructor Detail

      • ReponseEvaluation

        public ReponseEvaluation()
        Constructeur par defaut
      • ReponseEvaluation

        public ReponseEvaluation(Double identSession,
                         String titreSession,
                         Date dateDebutSession,
                         Date dateFinSession,
                         String nomResponsableSession,
                         String prenomResponsableSession,
                         Boolean monoPeriode,
                         Double identParticipant,
                         String nomParticipant,
                         String prenomParticipant,
                         Double typeQuestionnaire,
                         Double identTheme,
                         Double numeroOrdreTheme,
                         String libelleTheme,
                         Double numeroPeriode,
                         Date dateDebutPeriode,
                         Date dateFinPeriode,
                         Double identQuestion,
                         String libelleQuestion,
                         String commentaireQuestion,
                         Double categorieQuestion,
                         Double type,
                         Double identIntervenant,
                         String nomIntervenant,
                         String prenomIntervenant,
                         Double identUniteIntervention,
                         String nomUniteIntervention,
                         Date dateDebutSeance,
                         Double poids,
                         Double numeroOrdrePoids,
                         Double poidsMaxQuestion)
        Parameters:
        {@link - ReponseEvaluation#identSession identSession} ident de la session
        {@link - ReponseEvaluation#titreSession titreSession} titre de la session
        {@link - ReponseEvaluation#dateDebutSession dateDebutSession} date de début de session
        {@link - ReponseEvaluation#dateFinSession dateFinSession} date de fin de session
        {@link - ReponseEvaluation#nomResponsableSession nomResponsableSession} nom du responsable de la session
        {@link - ReponseEvaluation#prenomResponsableSession prenomResponsableSession} prenom du responsable de la session
        {@link - monoPeriode renseigne si la session est mono periode ou pas
        {@link - ReponseEvaluation#identParticipant identParticipant} ident du participant ( stagiaire ou formateur )
        {@link - ReponseEvaluation#nomParticipant nomParticipant} nom du participant ( stagiaire ou formateur )
        {@link - ReponseEvaluation#prenomParticipant prenomParticipant} prenom du participant ( stagiaire ou formateur )
        {@link - ReponseEvaluation#typeQuestionnaire typeQuestionnaire} type de questionnaire ( TYPE_QUESTIONNAIRE_STAGIAIRE ou TYPE_QUESTIONNAIRE_FORMATEUR )
        {@link - ReponseEvaluation#identTheme identTheme} ident du theme pour la reponse à l'evaluation
        {@link - ReponseEvaluation#numeroOrdreTheme numeroOrdreTheme} numéro d'ordre du theme pour la reponse à l'evaluation
        {@link - ReponseEvaluation#libelleTheme libelleTheme} libellé du theme correspondant
        {@link - ReponseEvaluation#numeroPeriode numeroPeriode} numéro de periode correspondant
        {@link - ReponseEvaluation#dateDebutPeriode dateDebutPeriode} date de début de peride
        {@link - ReponseEvaluation#dateFinPeriode dateFinPeriode} date de fin de periode
        {@link - ReponseEvaluation#identQuestion identQuestion} identifiant de la question correspondante
        {@link - ReponseEvaluation#libelleQuestion libelleQuestion} libellé de la question correspondante
        {@link - ReponseEvaluation#commentaireQuestion commentaireQuestion} commentaire de la question correspondante
        {@link - ReponseEvaluation#categorieQuestion categorieQuestion} catégorie de la question
        {@link - ReponseEvaluation#type type} type de la question
        {@link - ReponseEvaluation#identIntervenant identIntervenant} identifiant de l'intervenant sinon null
        {@link - ReponseEvaluation#nomIntervenant nomIntervenant} nom de l'intervenant sinon null
        {@link - ReponseEvaluation#prenomIntervenant prenomIntervenant} prenom de l'intervenant sinon null
        {@link - ReponseEvaluation#identUniteIntervenant identUniteIntervenant} identifiant de l'unité d'intervention sinon null
        {@link - ReponseEvaluation#nomUniteIntervenant nomUniteIntervenant} nom de l'unité d'intervention sinon null
        {@link - dateDebutSeance date de debut de l'unité d'intervention
        {@link - ReponseEvaluation#poids poids} poids correspondant à la notation du participant pour cette reponse
        {@link - ReponseEvaluation#numeroOrdrePoids numeroOrdrePoids} numéro d'ordre poids correspondante
        {@link - ReponseEvaluation#poidsMaxQuestion poidsMaxQuestion} poids maximum possible pour pouvoir ramener le poids sur 100 et calculer les moyennes
    • Method Detail

      • calculNbParticipantFiche

        public static List<ReponseEvaluation> calculNbParticipantFiche(List<ReponseEvaluation> maListeSelection)
        Calcul le nombre de Participants Formateurs et Stagiaires de la liste selectionnee pour attribuer à nbFormateurTotal et nbStagiaireTotal
        Parameters:
        maListeSelection -
        Returns:
      • calculNbParticipantFiche

        public static List<ReponseEvaluation> calculNbParticipantFiche(List<ReponseEvaluation> maListeSelection,
                                                       boolean total)
        Calcul le nombre de Participants Formateurs et Stagiaires de la liste selectionnee total = true : pour attribuer à nbFormateurTotal et nbStagiaireTotal sinon attribut la valeur à nbFormateurSelectionne et nbStagiaireSelectionne
        Parameters:
        maListeSelection -
        total -
        Returns:
      • calculNbParticipantFiche

        public static List<ReponseEvaluation> calculNbParticipantFiche(List<ReponseEvaluation> maListeSelection,
                                                       Double statusParticipant)
        Calcul le nombre de participants stagiaire ou formateur dans la liste selectionnee pour attribuer à *Total
        Parameters:
        maListeSelection -
        statusParticipant -
        Returns:
      • calculNbParticipantFiche

        public static List<ReponseEvaluation> calculNbParticipantFiche(List<ReponseEvaluation> maListeSelection,
                                                       Double statusParticipant,
                                                       boolean total)
        Calcul le nombre de participants stagiaire ou formateur dans la liste selectionnee total = true : pour attribuer à LISTETotal sinon attribut la valeur à LISTESelectionne
        Parameters:
        maListeSelection -
        statusParticipant -
        total -
        Returns:
      • calculMinNomParPeriodeQuestion

        public static List<ReponseEvaluation> calculMinNomParPeriodeQuestion(List<ReponseEvaluation> maListeSelection)
        calcul les noms les plus petits nom par question periode
        Parameters:
        maListeSelection -
        Returns:
      • calculMinPeriodeParQuestion

        public static List<ReponseEvaluation> calculMinPeriodeParQuestion(List<ReponseEvaluation> maListeSelection)
        Calcul la periode minimum pour une liste de selections
        Parameters:
        maListeSelection -
        Returns:
      • calculMoyenneGeneralePeriode

        public static List<ReponseEvaluation> calculMoyenneGeneralePeriode(List<ReponseEvaluation> maListeSelection)
        Calcul la moyenne générale pour chaque periode d'une session
        Parameters:
        maListeSelection -
        Returns:
      • calculMoyenneGeneraleSession

        public static List<ReponseEvaluation> calculMoyenneGeneraleSession(List<ReponseEvaluation> maListeSelection)
        Calcul la moyenne générale par Session on tient en compte seulement les questions de type QCRMU mais on met la moyenne générale sur toutes les lignes
        calcul de :
        • moyennes des notes générales (1/3)
        • moyenne des notes Themes (1/3)
        • moyenne des notes intervenant (1/3)
        Puis calcul de moyenneGeneraleSession à partir des trois valeurs
        Parameters:
        maListeSelection -
        Returns:
      • calculMoyenneGeneraleEnsembleSessions

        public static List<ReponseEvaluation> calculMoyenneGeneraleEnsembleSessions(List<ReponseEvaluation> maListeSelection)
        Calcul de moyenneGeneraleEnsembleSessions à partir des moyenneGeneraleSession
        Parameters:
        maListeSelection -
        Returns:
        See Also:
        ReponseEvaluation
      • getLibelleTheme

        public String getLibelleTheme()
      • setLibelleTheme

        public void setLibelleTheme(String theme)
      • getNumeroPeriode

        public Double getNumeroPeriode()
      • setNumeroPeriode

        public void setNumeroPeriode(Double periode)
      • getPoids

        public Double getPoids()
      • setPoids

        public void setPoids(Double note)
      • setCategorieQuestion

        public void setCategorieQuestion(Double categorieQuestion)
      • getCategorieQuestion

        public Double getCategorieQuestion()
      • setType

        public void setType(Double type)
      • getType

        public Double getType()
      • setLibelleQuestion

        public void setLibelleQuestion(String libelleQuestion)
      • getLibelleQuestion

        public String getLibelleQuestion()
      • setCommentaireQuestion

        public void setCommentaireQuestion(String commentaireQuestion)
      • getCommentaireQuestion

        public String getCommentaireQuestion()
      • setNomIntervenant

        public void setNomIntervenant(String nomIntervenant)
      • getNomIntervenant

        public String getNomIntervenant()
      • setIdentQuestion

        public void setIdentQuestion(Double identQuestion)
      • getIdentQuestion

        public Double getIdentQuestion()
      • getMoyenneNote

        public Double getMoyenneNote()
      • setMoyenneNote

        public void setMoyenneNote(Double moyenneNote)
      • setNumeroOrdreTheme

        public void setNumeroOrdreTheme(Double numTheme)
      • getNumeroOrdreTheme

        public Double getNumeroOrdreTheme()
      • setNomUniteIntervention

        public void setNomUniteIntervention(String nomUniteIntervention)
      • getNomUniteIntervention

        public String getNomUniteIntervention()
      • setMoyenneIntervenantQuestion

        public void setMoyenneIntervenantQuestion(Double moyenneIntervenantQuestion)
      • getMoyenneIntervenantQuestion

        public Double getMoyenneIntervenantQuestion()
      • setMoyenneUniteQuestion

        public void setMoyenneUniteQuestion(Double moyenneUniteQuestion)
      • getMoyenneUniteQuestion

        public Double getMoyenneUniteQuestion()
      • getMinPeriodeQuestion

        public Double getMinPeriodeQuestion()
      • setMinPeriodeQuestion

        public void setMinPeriodeQuestion(Double minPeriodeQuestion)
      • setMinNomParPeriodeQuestion

        public void setMinNomParPeriodeQuestion(String minNomParPeriodeQuestion)
      • getMinNomParPeriodeQuestion

        public String getMinNomParPeriodeQuestion()
      • setMoyenneNoteMaxEnsembleSessions

        public void setMoyenneNoteMaxEnsembleSessions(Double noteMax)
      • getMoyenneNoteMaxEnsembleSessions

        public Double getMoyenneNoteMaxEnsembleSessions()
      • setMoyenneNoteMinEnsembleSessions

        public void setMoyenneNoteMinEnsembleSessions(Double noteMin)
      • getMoyenneNoteMinEnsembleSessions

        public Double getMoyenneNoteMinEnsembleSessions()
      • calculMinEnsembleSession

        public static List<ReponseEvaluation> calculMinEnsembleSession(List<ReponseEvaluation> maListeEnsembleSessions,
                                                       Double identSessionChoisie)
        Calcul a partir des min de session
        Cas limite :
        Si la session choisie contient une question que les autres sessions n'ont pas, la valeur minEnsembleSession pour la question de cette session choisie ne sera pas renseignee
        Parameters:
        maListeEnsembleSessions -
        identSessionChoisie -
        Returns:
        See Also:
        ReponseEvaluation
      • calculMaxEnsembleSession

        public static List<ReponseEvaluation> calculMaxEnsembleSession(List<ReponseEvaluation> maListeEnsembleSessions,
                                                       Double identSessionChoisie)
        Calcul a partir des max de sessions excuant les valeurs de la session choisie
        Cas limite :
        Si une question n'apparait que dans la session choisie mais pas dans les autres, MaxEnsembleSession de cette question ne sera pas renseignee
        Parameters:
        maListeEnsembleSessions -
        identSessionChoisie -
        Returns:
        See Also:
        ReponseEvaluation
      • calculMoyEnsembleSession

        public static List<ReponseEvaluation> calculMoyEnsembleSession(List<ReponseEvaluation> maListeEnsembleSessions,
                                                       Double identSessionChoisie)
        Calcul à partir des moyennes de session excluant les valeurs de la session choisie
        Cas limite :
        Lorsque la sesssion choisie contient une question qui n' est pas contenue dans les autres sessions, la valeur de moyEnsembleSession ne sera pas renseignee
        Parameters:
        maListeEnsembleSessions -
        identSessionChoisie -
        Returns:
        See Also:
        ReponseEvaluation
      • setIdentSession

        public void setIdentSession(Double numSession)
      • getIdentSession

        public Double getIdentSession()
      • setNbFormateursTotal

        public void setNbFormateursTotal(int nbIntervenantTotal)
      • getNbFormateursTotal

        public int getNbFormateursTotal()
      • setNbFormateursSelectionne

        public void setNbFormateursSelectionne(int nbIntervenantsSelectionne)
      • getNbFormateursSelectionne

        public int getNbFormateursSelectionne()
      • setNbStagiairesTotal

        public void setNbStagiairesTotal(int nbStagiairesTotal)
      • getNbStagiairesTotal

        public int getNbStagiairesTotal()
      • setNbStagiairesSelectionne

        public void setNbStagiairesSelectionne(int nbStagiairesSelectionne)
      • getNbStagiairesSelectionne

        public int getNbStagiairesSelectionne()
      • setDateDebutSession

        public void setDateDebutSession(Date dateDebut)
      • getDateDebutSession

        public Date getDateDebutSession()
      • setDateFinSession

        public void setDateFinSession(Date dateFin)
      • getDateFinSession

        public Date getDateFinSession()
      • setTitreSession

        public void setTitreSession(String titreSession)
      • getTitreSession

        public String getTitreSession()
      • setNomResponsableSession

        public void setNomResponsableSession(String nomResponsableSession)
      • getNomResponsableSession

        public String getNomResponsableSession()
      • setPrenomResponsableSession

        public void setPrenomResponsableSession(String prenomResponsableSession)
      • getPrenomResponsableSession

        public String getPrenomResponsableSession()
      • setNomParticipant

        public void setNomParticipant(String nomParticipant)
      • getNomParticipant

        public String getNomParticipant()
      • setPrenomParticipant

        public void setPrenomParticipant(String prenomParticipant)
      • getPrenomParticipant

        public String getPrenomParticipant()
      • setTypeQuestionnaire

        public void setTypeQuestionnaire(Double statusParticipant)
      • getTypeQuestionnaireStagiaire

        public Double getTypeQuestionnaireStagiaire()
      • setIdentParticipant

        public void setIdentParticipant(Double identPersonne)
      • getIdentParticipant

        public Double getIdentParticipant()
      • setDateDebutPeriode

        public void setDateDebutPeriode(Date dateDebutPeriode)
      • getDateDebutPeriode

        public Date getDateDebutPeriode()
      • setDateFinPeriode

        public void setDateFinPeriode(Date dateFinPeriode)
      • getDateFinPeriode

        public Date getDateFinPeriode()
      • setPrenomIntervenant

        public void setPrenomIntervenant(String prenomIntervenant)
      • getPrenomIntervenant

        public String getPrenomIntervenant()
      • setIdentTheme

        public void setIdentTheme(Double identTheme)
      • getIdentTheme

        public Double getIdentTheme()
      • setIdentUniteIntervention

        public void setIdentUniteIntervention(Double identUniteIntervention)
      • getIdentUniteIntervention

        public Double getIdentUniteIntervention()
      • setIdentIntervenant

        public void setIdentIntervenant(Double identIntervenant)
      • getIdentIntervenant

        public Double getIdentIntervenant()
      • setMoyenneGeneraleSession

        public void setMoyenneGeneraleSession(Double moyenneGeneraleSession)
      • getMoyenneGeneraleSession

        public Double getMoyenneGeneraleSession()
      • setMoyenneSessions

        public void setMoyenneSessions(Double moyenneSessions)
      • getMoyenneSessions

        public Double getMoyenneSessions()
      • setMoyenneNoteParQuestionEnsembleSessions

        public void setMoyenneNoteParQuestionEnsembleSessions(Double moyenneNoteEnsembleSessions)
      • getMoyenneNoteParQuestionEnsembleSessions

        public Double getMoyenneNoteParQuestionEnsembleSessions()
      • setPoidsMaxQuestion

        public void setPoidsMaxQuestion(Double poidsMax)
      • getPoidsMaxQuestion

        public Double getPoidsMaxQuestion()
      • setNumeroOrdrePoids

        public void setNumeroOrdrePoids(Double numeroOrdrePoids)
      • getNumeroOrdrePoids

        public Double getNumeroOrdrePoids()
      • setMoyenneGeneralePeriode

        public void setMoyenneGeneralePeriode(Double moyenneGeneralePeriode)
      • getMoyenneGeneralePeriode

        public Double getMoyenneGeneralePeriode()
      • setDateDebutSeance

        public void setDateDebutSeance(Date dateDebutSeance)
      • getDateDebutSeance

        public Date getDateDebutSeance()
      • setMonoPeriode

        public void setMonoPeriode(Boolean monoPeriode)
      • getMonoPeriode

        public Boolean getMonoPeriode()
      • getTypeSession

        public String getTypeSession()
        Returns:
        the typeSession
      • setTypeSession

        public void setTypeSession(String typeSession)
        Parameters:
        typeSession - the typeSession to set
      • getClientSession

        public String getClientSession()
        Returns:
        the clientSession
      • setClientSession

        public void setClientSession(String clientSession)
        Parameters:
        clientSession - the clientSession to set
      • getDivSession

        public String getDivSession()
        Returns:
        the divSession
      • setDivSession

        public void setDivSession(String divSession)
        Parameters:
        divSession - the divSession to set
      • getLangue

        public String getLangue()
        Returns:
        the langue
      • setLangue

        public void setLangue(String langue)
        Parameters:
        langue - the langue to set
      • getNbPeriodesEval

        public Double getNbPeriodesEval()
        Returns:
        the nbPeriodesEval
      • setNbPeriodesEval

        public void setNbPeriodesEval(Double nbPeriodesEval)
        Parameters:
        nbPeriodesEval - the nbPeriodesEval to set
      • getDescriptionPopulation

        public String getDescriptionPopulation()
        Returns:
        the descriptionPopulation
      • setDescriptionPopulation

        public void setDescriptionPopulation(String descriptionPopulation)
        Parameters:
        descriptionPopulation - the descriptionPopulation to set
      • getNumOrdreQuestDansTheme

        public Double getNumOrdreQuestDansTheme()
        Returns:
        the numOrdreQuestDansTheme
      • setNumOrdreQuestDansTheme

        public void setNumOrdreQuestDansTheme(Double numOrdreQuestDansTheme)
        Parameters:
        numOrdreQuestDansTheme - the numOrdreQuestDansTheme to set
      • getSommePoidsPeriode

        public Double getSommePoidsPeriode()
      • setSommePoidsPeriode

        public void setSommePoidsPeriode(Double sommePoidsPeriode)
      • getSommePoidsMaxPeriode

        public Double getSommePoidsMaxPeriode()
      • setSommePoidsMaxPeriode

        public void setSommePoidsMaxPeriode(Double sommePoidsMaxPeriode)
      • getNbNotesPeriode

        public Double getNbNotesPeriode()
      • setNbNotesPeriode

        public void setNbNotesPeriode(Double nbNotesPeriode)
      • getPoidsMaxQuestionPondere

        public Double getPoidsMaxQuestionPondere()
      • setPoidsMaxQuestionPondere

        public void setPoidsMaxQuestionPondere(Double poidsMaxQuestionPondere)
      • getPoidsPondere

        public Double getPoidsPondere()
      • setPoidsPondere

        public void setPoidsPondere(Double poidsPondere)
      • getIdentParticipantSiSelectionne

        public Double getIdentParticipantSiSelectionne()
      • setIdentParticipantSiSelectionne

        public void setIdentParticipantSiSelectionne(Double identParticipantSiSelectionne)
      • getSommePoidsParticipant

        public Double getSommePoidsParticipant()
      • setSommePoidsParticipant

        public void setSommePoidsParticipant(Double sommePoidsParticipant)
      • getSommePoidsMaxParticipant

        public Double getSommePoidsMaxParticipant()
      • setSommePoidsMaxParticipant

        public void setSommePoidsMaxParticipant(Double sommePoidsMaxParticipant)
      • getLibellePeriode

        public String getLibellePeriode()
      • setLibellePeriode

        public void setLibellePeriode(String libellePeriode)
      • getNbReponsesPourCetteQuestion

        public Integer getNbReponsesPourCetteQuestion()
      • setNbReponsesPourCetteQuestion

        public void setNbReponsesPourCetteQuestion(Integer nbReponsesPossiblesPourCetteQuestion)

Copyright © 2016. All rights reserved.