Class Question

    • Constructor Detail

      • Question

        public Question​(QuestionPK pk,
                        String fatherId,
                        String label,
                        String description,
                        String clue,
                        String image,
                        String style,
                        int type)
        Question constructor
        Parameters:
        pk -
        fatherId -
        label -
        description -
        clue -
        image -
        style -
        type -
      • Question

        public Question​(QuestionPK pk,
                        String fatherId,
                        String label,
                        String description,
                        String clue,
                        String image,
                        boolean isQCM,
                        int type,
                        boolean open)
        Parameters:
        pk -
        fatherId -
        label -
        description -
        clue -
        image -
        isQCM -
        type -
        open -
      • Question

        public Question​(QuestionPK pk,
                        String fatherId,
                        String label,
                        String description,
                        String clue,
                        String image,
                        int type,
                        String style,
                        int cluePenalty,
                        int maxTime,
                        int displayOrder,
                        int nbPointsMin,
                        int nbPointsMax)
        Parameters:
        pk -
        fatherId -
        label -
        description -
        clue -
        image -
        type -
        style -
        cluePenalty -
        maxTime -
        displayOrder -
        nbPointsMin -
        nbPointsMax -
      • Question

        public Question​(QuestionPK pk,
                        String fatherId,
                        String label,
                        String description,
                        String clue,
                        String image,
                        boolean isQCM,
                        int type,
                        boolean open,
                        int cluePenalty,
                        int maxTime,
                        int displayOrder,
                        int nbPointsMin,
                        int nbPointsMax)
      • Question

        public Question​(QuestionPK pk,
                        String fatherId,
                        String label,
                        String description,
                        String clue,
                        String image,
                        boolean isQCM,
                        int type,
                        boolean open,
                        int cluePenalty,
                        int maxTime,
                        int displayOrder,
                        int nbPointsMin,
                        int nbPointsMax,
                        String style)
    • Method Detail

      • setFatherId

        public void setFatherId​(String fatherId)
      • setLabel

        public void setLabel​(String label)
      • setDescription

        public void setDescription​(String description)
      • setClue

        public void setClue​(String clue)
      • setImage

        public void setImage​(String image)
      • setQCM

        public void setQCM​(boolean isQCM)
      • setType

        public void setType​(int type)
      • setOpen

        public void setOpen​(boolean open)
      • setCluePenalty

        public void setCluePenalty​(int cluePenalty)
      • setMaxTime

        public void setMaxTime​(int maxTime)
      • setDisplayOrder

        public void setDisplayOrder​(int displayOrder)
      • setNbPointsMin

        public void setNbPointsMin​(int nbPointsMin)
      • setNbPointsMax

        public void setNbPointsMax​(int nbPointsMax)
      • setStyle

        public void setStyle​(String style)
      • getFatherId

        public String getFatherId()
      • getLabel

        public String getLabel()
      • getDescription

        public String getDescription()
      • getClue

        public String getClue()
      • getImage

        public String getImage()
      • getType

        public int getType()
      • getCluePenalty

        public int getCluePenalty()
      • getMaxTime

        public int getMaxTime()
      • getDisplayOrder

        public int getDisplayOrder()
      • getNbPointsMin

        public int getNbPointsMin()
      • getNbPointsMax

        public int getNbPointsMax()
      • getAverageScore

        public float getAverageScore()
      • getStyle

        public String getStyle()
      • isQCM

        public boolean isQCM()
      • isOpen

        public boolean isOpen()
      • isOpenStyle

        public boolean isOpenStyle()