net.sourceforge.pavlov.user
Class QuizCollectionData

java.lang.Object
  extended by net.sourceforge.pavlov.user.QuizCollectionData

public class QuizCollectionData
extends Object

Describe class QuizCollectionData here.


Field Summary
 double avgQuestionsPerQuiz
          Average number of questions asked per quiz.
 int numQuizzes
          Number of quizzes.
 int totalAsked
          Total number of questions asked.
 int totalRight
          Total number of correct responses.
 int totalWrong
          Total number of incorrect responses.
 
Constructor Summary
QuizCollectionData()
           
 
Method Summary
 double getAverageQuestionsPerQuiz()
          Get the AverageQuestionsPerQuiz value.
 int getNumberOfQuizzes()
          Get the NumberOfQuizzes value.
 int getTotalAsked()
          Get the TotalAsked value.
 int getTotalRight()
          Get the TotalRight value.
 int getTotalWrong()
          Get the TotalWrong value.
 void setAverageQuestionsPerQuiz(double newAverageQuestionsPerQuiz)
          Set the AverageQuestionsPerQuiz value.
 void setNumberOfQuizzes(int newNumberOfQuizzes)
          Set the NumberOfQuizzes value.
 void setTotalAsked(int newTotalAsked)
          Set the TotalAsked value.
 void setTotalRight(int newTotalRight)
          Set the TotalRight value.
 void setTotalWrong(int newTotalWrong)
          Set the TotalWrong value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numQuizzes

public int numQuizzes
Number of quizzes.


totalAsked

public int totalAsked
Total number of questions asked.


totalRight

public int totalRight
Total number of correct responses.


totalWrong

public int totalWrong
Total number of incorrect responses.


avgQuestionsPerQuiz

public double avgQuestionsPerQuiz
Average number of questions asked per quiz.

Constructor Detail

QuizCollectionData

public QuizCollectionData()
Method Detail

getNumberOfQuizzes

public int getNumberOfQuizzes()
Get the NumberOfQuizzes value.

Returns:
the NumberOfQuizzes value.

setNumberOfQuizzes

public void setNumberOfQuizzes(int newNumberOfQuizzes)
Set the NumberOfQuizzes value.

Parameters:
newNumberOfQuizzes - The new NumberOfQuizzes value.

getTotalAsked

public int getTotalAsked()
Get the TotalAsked value.

Returns:
the TotalAsked value.

setTotalAsked

public void setTotalAsked(int newTotalAsked)
Set the TotalAsked value.

Parameters:
newTotalAsked - The new TotalAsked value.

getTotalRight

public int getTotalRight()
Get the TotalRight value.

Returns:
the TotalRight value.

setTotalRight

public void setTotalRight(int newTotalRight)
Set the TotalRight value.

Parameters:
newTotalRight - The new TotalRight value.

getTotalWrong

public int getTotalWrong()
Get the TotalWrong value.

Returns:
the TotalWrong value.

setTotalWrong

public void setTotalWrong(int newTotalWrong)
Set the TotalWrong value.

Parameters:
newTotalWrong - The new TotalWrong value.

getAverageQuestionsPerQuiz

public double getAverageQuestionsPerQuiz()
Get the AverageQuestionsPerQuiz value.

Returns:
the AverageQuestionsPerQuiz value.

setAverageQuestionsPerQuiz

public void setAverageQuestionsPerQuiz(double newAverageQuestionsPerQuiz)
Set the AverageQuestionsPerQuiz value.

Parameters:
newAverageQuestionsPerQuiz - The new AverageQuestionsPerQuiz value.