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.ComprehensionModel Class Reference

Model class for Comprehension Template Editor data Created by Anupam (opticod) on 26/5/16. More...

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

Public Member Functions

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

Private Attributes

String question
 
ArrayList< String > options
 
int correctAnswer
 
boolean isSelected
 

Detailed Description

Model class for Comprehension Template Editor data

Created by Anupam (opticod) on 26/5/16.

Constructor & Destructor Documentation

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

Member Function Documentation

int org.buildmlearn.toolkit.templates.ComprehensionModel.getCorrectAnswer ( )
ArrayList<String> org.buildmlearn.toolkit.templates.ComprehensionModel.getOptions ( )
String org.buildmlearn.toolkit.templates.ComprehensionModel.getQuestion ( )
Element org.buildmlearn.toolkit.templates.ComprehensionModel.getXml ( Document  doc)
boolean org.buildmlearn.toolkit.templates.ComprehensionModel.isSelected ( )
void org.buildmlearn.toolkit.templates.ComprehensionModel.setCorrectAnswer ( int  correctAnswer)
void org.buildmlearn.toolkit.templates.ComprehensionModel.setIsSelected ( boolean  isSelected)
void org.buildmlearn.toolkit.templates.ComprehensionModel.setOptions ( ArrayList< String >  options)
void org.buildmlearn.toolkit.templates.ComprehensionModel.setQuestion ( String  question)

Member Data Documentation

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

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