Class NewQuizEvent

java.lang.Object
jadex.micro.quiz.model.QuizEvent
jadex.micro.quiz.model.NewQuizEvent

public class NewQuizEvent extends QuizEvent
Event
  • Field Details

    • name

      protected String name
      The quiz name.
    • size

      protected int size
      The number of questions.
    • delay

      protected long delay
      The delay bewteen questions.
    • start

      protected long start
      The start time.
  • Constructor Details

    • NewQuizEvent

      public NewQuizEvent()
      Create a new question event.
    • NewQuizEvent

      public NewQuizEvent(String name, int size, long delay, long start)
      Create a new question event.
  • Method Details

    • getName

      public String getName()
      Get the name.
      Returns:
      the name
    • setName

      public void setName(String name)
      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