sk.stuba.fiit.foo07.genex.beans
Class Answer

java.lang.Object
  extended by sk.stuba.fiit.foo07.genex.beans.Answer

public class Answer
extends java.lang.Object

Author:
Martin

Constructor Summary
Answer()
           
Answer(java.lang.String text, java.lang.Boolean isCorrect, java.lang.Integer answerID, java.lang.Integer questionID)
           
 
Method Summary
 java.lang.Integer getAnswerID()
           
 java.lang.Boolean getIsCorrect()
           
 java.lang.Integer getQuestionID()
           
 java.lang.String getText()
           
 void setAnswerID(java.lang.Integer answerID)
           
 void setIsCorrect(java.lang.Boolean isCorrect)
           
 void setQuestionID(java.lang.Integer questionID)
           
 void setText(java.lang.String text)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Answer

public Answer()

Answer

public Answer(java.lang.String text,
              java.lang.Boolean isCorrect,
              java.lang.Integer answerID,
              java.lang.Integer questionID)
Method Detail

getText

public java.lang.String getText()
Returns:
the text

setText

public void setText(java.lang.String text)
Parameters:
text - the text to set

getIsCorrect

public java.lang.Boolean getIsCorrect()
Returns:
the isCorrect

setIsCorrect

public void setIsCorrect(java.lang.Boolean isCorrect)
Parameters:
isCorrect - the isCorrect to set

getAnswerID

public java.lang.Integer getAnswerID()
Returns:
the answerID

setAnswerID

public void setAnswerID(java.lang.Integer answerID)
Parameters:
answerID - the answerID to set

getQuestionID

public java.lang.Integer getQuestionID()
Returns:
the questionID

setQuestionID

public void setQuestionID(java.lang.Integer questionID)
Parameters:
questionID - the questionID to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008 Faculty of Informatics and Information Technologies, STU Bratislava. All Rights Reserved.