Class PromptDTO


  • public class PromptDTO
    extends Object
    Prompt for an answer.
    • Constructor Detail

      • PromptDTO

        public PromptDTO()
    • Method Detail

      • displayOrder

        public Integer displayOrder()
        Get the displayOrder value.
        Returns:
        the displayOrder value
      • withDisplayOrder

        public PromptDTO withDisplayOrder​(Integer displayOrder)
        Set the displayOrder value.
        Parameters:
        displayOrder - the displayOrder value to set
        Returns:
        the PromptDTO object itself.
      • qnaId

        public Integer qnaId()
        Get the qnaId value.
        Returns:
        the qnaId value
      • withQnaId

        public PromptDTO withQnaId​(Integer qnaId)
        Set the qnaId value.
        Parameters:
        qnaId - the qnaId value to set
        Returns:
        the PromptDTO object itself.
      • qna

        public PromptDTOQna qna()
        Get the qna value.
        Returns:
        the qna value
      • withQna

        public PromptDTO withQna​(PromptDTOQna qna)
        Set the qna value.
        Parameters:
        qna - the qna value to set
        Returns:
        the PromptDTO object itself.
      • displayText

        public String displayText()
        Get the displayText value.
        Returns:
        the displayText value
      • withDisplayText

        public PromptDTO withDisplayText​(String displayText)
        Set the displayText value.
        Parameters:
        displayText - the displayText value to set
        Returns:
        the PromptDTO object itself.