Package jadex.micro.quiz.model
Class NewQuizEvent
java.lang.Object
jadex.micro.quiz.model.QuizEvent
jadex.micro.quiz.model.NewQuizEvent
Event
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new question event.NewQuizEvent
(String name, int size, long delay, long start) Create a new question event. -
Method Summary
-
Field Details
-
name
The quiz name. -
size
protected int sizeThe number of questions. -
delay
protected long delayThe delay bewteen questions. -
start
protected long startThe start time.
-
-
Constructor Details
-
NewQuizEvent
public NewQuizEvent()Create a new question event. -
NewQuizEvent
Create a new question event.
-
-
Method Details
-
getName
Get the name.- Returns:
- the name
-
setName
Set the name.- Parameters:
name
- the name to set
-
getSize
public int getSize()Get the size.- Returns:
- the size
-
setSize
public void setSize(int size) Set the size.- Parameters:
size
- the size to set
-
getDelay
public long getDelay()Get the delay.- Returns:
- the delay
-
setDelay
public void setDelay(long delay) Set the delay.- Parameters:
delay
- the delay to set
-
getStart
public long getStart()- Returns:
- the start
-
setStart
public void setStart(long start) - Parameters:
start
- the start to set
-