Class QueryContextDTO

  • Direct Known Subclasses:
    QueryDTOContext

    public class QueryContextDTO
    extends Object
    Context object with previous QnA's information.
    • Constructor Detail

      • QueryContextDTO

        public QueryContextDTO()
    • Method Detail

      • previousQnaId

        public Integer previousQnaId()
        Get the previousQnaId value.
        Returns:
        the previousQnaId value
      • withPreviousQnaId

        public QueryContextDTO withPreviousQnaId​(Integer previousQnaId)
        Set the previousQnaId value.
        Parameters:
        previousQnaId - the previousQnaId value to set
        Returns:
        the QueryContextDTO object itself.
      • previousUserQuery

        public String previousUserQuery()
        Get the previousUserQuery value.
        Returns:
        the previousUserQuery value
      • withPreviousUserQuery

        public QueryContextDTO withPreviousUserQuery​(String previousUserQuery)
        Set the previousUserQuery value.
        Parameters:
        previousUserQuery - the previousUserQuery value to set
        Returns:
        the QueryContextDTO object itself.