Data model

From WeBWorK_wiki
Revision as of 11:39, 5 June 2013 by Gage (talk | contribs) (Created page with " *User #atom ** username ** tags ** contact/personal info ** authentication information ** role ** addCourse() #behavior ** joinTeam(course,teamID) #behavior ** getT...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • User #atom
    • username
    • tags
    • contact/personal info
    • authentication information
    • role
    • addCourse() #behavior
    • joinTeam(course,teamID) #behavior
    • getTeams() #behavior
  • Team #atom

"group of users that act as one"

    • student (list)
    • description
    • course
    • clone() #behavior
    • getMembers() #behavior
    • Team/User #relationship
    • Status
   "Active/inactive"


  • Course #atom
    • descriptive information
 "some or all may actually be top level"
    • professor
    • term
    • start date
    • end date
    • conf
    • state
 "open/closed"
    • addUser() #behavior
    • Course/Participant #relationship
    • tags
    • overrides
   "start date, end date, state, etc."
    • status
   "active/inactive"
    • getSets() #behavior
    • addSet() #behavior
    • description
    • getType #behavior
    • Course/User #child-class
    • role
     "referenced by name?"
    • getGrade() #behavior
    • getTeams() #behavior
    • Course/Team #child-class
    • role

Set #atom

    • Descriptive Info
      • name
      • etc.
    • tags
    • getProblemPoolList() #behavior
 "enumerated"
    • versioning information
 "this can be templated?"
      • strategy name
      • required strategy data
    • grading Information
 "this can be templated?"
      • strategy name
      • required strategy data
    • Course/Set #relationship
      • Due/Assignment/Answer Date Info
      • overrides for set data
   "any field from set can be over ridden"
      • IP Restriction Info
      • getAssignedParticipants() #behavior
      • tags
      • Course/Set/Participant #relationship
        • overrides for set course data
     "any field from course/set can be over ridden"
        • tags
        • state
     "working/done"
        • getSetGrade() #behavior
        • Course/Set/Participant/Problem Pool #relationship
          • current grade
          • getCurrentProblemInstance() #behavior
          • getNewProblemInstance() #behavior
          • incorrect attempts
       "int"
          • correct attempts
       "int"
          • number of instances
       "the number of times getNewProblemInstance has been called"
          • Course/Set/Participant/Problem Pool/Attempt #relationship
            • time
            • score
            • tags
            • problemInstance
         "all information required to faithfully recreate the problem"