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 | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
org.buildmlearn.toolkit.quiztemplate.data.QuizModel Class Reference

Model used to save quiz entries in database for quiz template's simulator. More...

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

Public Member Functions

 QuizModel ()
 
int describeContents ()
 
void writeToParcel (Parcel dest, int flags)
 
String getQuestion ()
 
void setQuestion (String question)
 
ArrayList< String > getOptions ()
 
void setOptions (ArrayList< String > options)
 
int getCorrectAnswer ()
 
void setCorrectAnswer (int correctAnswer)
 

Static Public Attributes

static final Creator< QuizModelCREATOR
 

Private Member Functions

 QuizModel (Parcel in)
 

Private Attributes

String question
 
ArrayList< String > options
 
int correctAnswer
 

Detailed Description

Model used to save quiz entries in database for quiz template's simulator.

Created by Anupam (opticod) on 11/8/16.

Constructor & Destructor Documentation

org.buildmlearn.toolkit.quiztemplate.data.QuizModel.QuizModel ( Parcel  in)
private
org.buildmlearn.toolkit.quiztemplate.data.QuizModel.QuizModel ( )

Member Function Documentation

int org.buildmlearn.toolkit.quiztemplate.data.QuizModel.describeContents ( )
int org.buildmlearn.toolkit.quiztemplate.data.QuizModel.getCorrectAnswer ( )
ArrayList<String> org.buildmlearn.toolkit.quiztemplate.data.QuizModel.getOptions ( )
String org.buildmlearn.toolkit.quiztemplate.data.QuizModel.getQuestion ( )
void org.buildmlearn.toolkit.quiztemplate.data.QuizModel.setCorrectAnswer ( int  correctAnswer)
void org.buildmlearn.toolkit.quiztemplate.data.QuizModel.setOptions ( ArrayList< String >  options)
void org.buildmlearn.toolkit.quiztemplate.data.QuizModel.setQuestion ( String  question)
void org.buildmlearn.toolkit.quiztemplate.data.QuizModel.writeToParcel ( Parcel  dest,
int  flags 
)

Member Data Documentation

int org.buildmlearn.toolkit.quiztemplate.data.QuizModel.correctAnswer
private
final Creator<QuizModel> org.buildmlearn.toolkit.quiztemplate.data.QuizModel.CREATOR
static
Initial value:
= new Creator<QuizModel>() {
@Override
public QuizModel createFromParcel(Parcel parcel) {
return new QuizModel(parcel);
}
@Override
public QuizModel[] newArray(int size) {
return new QuizModel[size];
}
}
ArrayList<String> org.buildmlearn.toolkit.quiztemplate.data.QuizModel.options
private
String org.buildmlearn.toolkit.quiztemplate.data.QuizModel.question
private

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