Class MoodleParticipantInfo

java.lang.Object
org.jdrupes.keycloak.moodleauth.moodle.model.MoodleErrorValues
org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo

Models the participant specific info of a user.
  • Constructor Details

  • Method Details

    • getId

      public long getId()
      Returns:
      the id
    • setId

      public void setId(long id)
      Parameters:
      id - the id to set
    • getAssignmentId

      public long getAssignmentId()
      Returns:
      the assignmentId
    • setAssignmentId

      public void setAssignmentId(long assignmentId)
      Parameters:
      assignmentId - the assignmentId to set
    • isSubmitted

      public boolean isSubmitted()
      Returns:
      the submitted
    • setSubmitted

      public void setSubmitted(boolean submitted)
      Parameters:
      submitted - the submitted to set
    • isRequiregrading

      public boolean isRequiregrading()
      Returns:
      the requiregrading
    • setRequiregrading

      public void setRequiregrading(boolean requiregrading)
      Parameters:
      requiregrading - the requiregrading to set
    • getDuedate

      public long getDuedate()
      Returns:
      the duedate
    • setDuedate

      public void setDuedate(long duedate)
      Parameters:
      duedate - the duedate to set
    • getCutoffdate

      public long getCutoffdate()
      Returns:
      the cutoffdate
    • setCutoffdate

      public void setCutoffdate(long cutoffdate)
      Parameters:
      cutoffdate - the cutoffdate to set
    • dueDate

      public Instant dueDate()
      Due date.
      Returns:
      the instant
    • cutOffDate

      public Instant cutOffDate()
      Cut off date.
      Returns:
      the instant
    • toString

      public String toString()
      Overrides:
      toString in class Object