BuildmLearn-Toolkit-Android  2.0.0
The Android version of the BuildmLearn Toolkit. BuildmLearn Toolkit is an easy-to-use program that helps the users make mobile apps without any knowledge of application development.
Public Member Functions | Private Attributes | List of all members
org.buildmlearn.toolkit.templates.QuizModel Class Reference

Model class for Quiz Template Editor data. More...

Inheritance diagram for org.buildmlearn.toolkit.templates.QuizModel:
Inheritance graph
[legend]
Collaboration diagram for org.buildmlearn.toolkit.templates.QuizModel:
Collaboration graph
[legend]

Public Member Functions

 QuizModel (String question, ArrayList< String > options, int correctAnswer)
 
String getQuestion ()
 
ArrayList< String > getOptions ()
 
int getCorrectAnswer ()
 
Element getXml (Document doc)
 
boolean isSelected ()
 
void setIsSelected (boolean isSelected)
 

Private Attributes

final String question
 
final ArrayList< String > options
 
final int correctAnswer
 
boolean isSelected
 

Detailed Description

Model class for Quiz Template Editor data.

Created by abhishek on 28/5/15.

Constructor & Destructor Documentation

org.buildmlearn.toolkit.templates.QuizModel.QuizModel ( String  question,
ArrayList< String >  options,
int  correctAnswer 
)

Member Function Documentation

int org.buildmlearn.toolkit.templates.QuizModel.getCorrectAnswer ( )
ArrayList<String> org.buildmlearn.toolkit.templates.QuizModel.getOptions ( )
String org.buildmlearn.toolkit.templates.QuizModel.getQuestion ( )
Element org.buildmlearn.toolkit.templates.QuizModel.getXml ( Document  doc)
boolean org.buildmlearn.toolkit.templates.QuizModel.isSelected ( )
void org.buildmlearn.toolkit.templates.QuizModel.setIsSelected ( boolean  isSelected)

Member Data Documentation

final int org.buildmlearn.toolkit.templates.QuizModel.correctAnswer
private
boolean org.buildmlearn.toolkit.templates.QuizModel.isSelected
private
final ArrayList<String> org.buildmlearn.toolkit.templates.QuizModel.options
private
final String org.buildmlearn.toolkit.templates.QuizModel.question
private

The documentation for this class was generated from the following file: