Class UnansweredQuestion
java.lang.Object
com.ubs.backend.classes.database.questions.UnansweredQuestion
Dataclass to store all Questions the Bot does not have an Answer for
- Since:
- 17.07.2021
- Author:
- Tim Irmler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe Question which couldn't be answeredprivate longThe ID of this UnansweredQuestion in the Database -
Constructor Summary
ConstructorsConstructorDescriptionno-args constructorUnansweredQuestion(String question)Default Constructor -
Method Summary
Modifier and TypeMethodDescriptionlongvoidsetQuestion(String question)voidsetUnansweredQuestionID(long unansweredQuestionID)toString()
-
Field Details
-
unansweredQuestionID
private long unansweredQuestionIDThe ID of this UnansweredQuestion in the Database- Since:
- 17.07.2021
-
question
The Question which couldn't be answered- Since:
- 17.07.2021
-
-
Constructor Details
-
UnansweredQuestion
public UnansweredQuestion()no-args constructor- Since:
- 17.07.2021
-
UnansweredQuestion
Default Constructor- Parameters:
question- the Question which couldn't be answered- Since:
- 17.07.2021
-
-
Method Details
-
toString
-
getUnansweredQuestionID
public long getUnansweredQuestionID()- Returns:
- Since:
- 17.07.2021
-
setUnansweredQuestionID
public void setUnansweredQuestionID(long unansweredQuestionID)- Parameters:
unansweredQuestionID- the new ID for this UnansweredQuestion- Since:
- 17.07.2021
-
getQuestion
- Returns:
- the Question which couldn't be answered
- Since:
- 17.07.2021
-
setQuestion
- Parameters:
question- the new Question for this UnansweredQuestion- Since:
- 17.07.2021
-