Class AnsweredQuestionResult

java.lang.Object
com.ubs.backend.classes.database.questions.AnsweredQuestionResult

@Entity public class AnsweredQuestionResult extends Object
Since:
17.07.2021
Author:
Tim Irmler
  • Field Details

    • resultID

      private long resultID
      The ID of the answeredQuestionResult in the DB
      Since:
      17.07.2021
    • answeredQuestion

      private AnsweredQuestion answeredQuestion
      The answered question with this result
      Since:
      17.07.2021
      See Also:
      AnsweredQuestion
    • result

      private Result result
      the result with this answered question
      Since:
      17.07.2021
      See Also:
      Result
    • typeTag

      private TypeTag typeTag
      the typetag with this answered question
      Since:
      21.07.2021
      See Also:
      TypeTag
  • Constructor Details

    • AnsweredQuestionResult

      public AnsweredQuestionResult()
      default no args constructor
      Since:
      17.07.2021
    • AnsweredQuestionResult

      public AnsweredQuestionResult(long resultID, AnsweredQuestion answeredQuestion, ResultParent result)
      Parameters:
      resultID -
      answeredQuestion -
      result -
      Since:
      17.07.2021
    • AnsweredQuestionResult

      public AnsweredQuestionResult(AnsweredQuestion answeredQuestion, ResultParent result)
      Parameters:
      answeredQuestion -
      result -
      Since:
      17.07.2021
  • Method Details

    • getResultID

      public long getResultID()
      Returns:
      Since:
      17.07.2021
    • setResultID

      public void setResultID(long resultID)
      Parameters:
      resultID -
      Since:
      17.07.2021
    • getAnsweredQuestion

      public AnsweredQuestion getAnsweredQuestion()
      Returns:
      Since:
      17.07.2021
    • setAnsweredQuestion

      public void setAnsweredQuestion(AnsweredQuestion answeredQuestion)
      Parameters:
      answeredQuestion -
      Since:
      17.07.2021
    • getResult

      public Result getResult()
      Returns:
      Since:
      17.07.2021
    • setResult

      public void setResult(Result result)
      Parameters:
      result -
      Since:
      17.07.2021
    • getTypeTag

      public TypeTag getTypeTag()
      Returns:
      Since:
      21.07.2021
    • setTypeTag

      public void setTypeTag(TypeTag typeTag)
      Parameters:
      typeTag -
      Since:
      21.07.2021
    • setResultParent

      public void setResultParent(ResultParent resultParent)
      Parameters:
      resultParent -
      Since:
      01.08.2021
    • toString

      public String toString()
      Overrides:
      toString in class Object