This shows you the differences between two versions of the page.
stats:schema:student [2011/10/24 15:56] Patrick Michel [Sign-Up and Sign-Out] |
stats:schema:student [2013/07/10 12:47] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Registered Students ====== | ||
- | |||
- | This page describes a minor part of the [[:stats:start]] [[:stats:schema]], namely the students who signed up for an exercise. It is therefore a part of [[exercise]]. | ||
- | |||
- | ===== Schema ===== | ||
- | |||
- | <code xcend> | ||
- | element students { | ||
- | element student * id { [ exists //accounts/account/student[./id] ] # 1.6, 2.11 | ||
- | attribute group ? { ident [ exists ..exercise/groups/group[.] ]} # 1.7 | ||
- | attribute team ? { ident [ exists ../group ]} | ||
- | element result * sheet { [ exists ..exercise/sheets/sheet[./sheet] ] # 1.8, 2.12 | ||
- | attribute points { double [ . >= 0 && . <= ..exercise/sheets/sheet[../sheet]/maxPoints ]} # 3.3 | ||
- | } | ||
- | } | ||
- | } | ||
- | </code> | ||
- | |||
- | ===== Procedures ===== | ||
- | |||
- | ==== Exercise Registration ==== | ||
- | |||
- | Before a student can sign up for a group, he has to register for the exercise in general. (Which is not a student method in the current implementation.) | ||
- | |||
- | {{page>stats:proc:registerStudent&noheader&nofooter}} | ||
- | |||
- | {{page>stats:proc:unregisterStudent&noheader&nofooter}} | ||
- | |||
- | |||
- | ==== Sign-Up and Sign-Out ==== | ||
- | |||
- | One of the main things a student can do by himself, signing into and out of groups. | ||
- | |||
- | {{page>stats:proc:signUpGroup&noheader&nofooter}} | ||
- | |||
- | {{page>stats:proc:signOutGroup&noheader&nofooter}} | ||
- | |||
- | |||
- | ==== Assignment of Teams ==== | ||
- | |||
- | The tutors assign teams to the students of their groups. | ||
- | |||
- | {{page>stats:proc:assignTeam&noheader&nofooter}} | ||
- | |||
- | {{page>stats:proc:leaveTeam&noheader&nofooter}} | ||
- | |||
- | ==== Result Management ==== | ||
- | |||
- | {{page>stats:proc:addResult (Sheet)&noheader&nofooter}} | ||
- | {{page>stats:proc:changeResult (Sheet)&noheader&nofooter}} | ||
- | {{page>stats:proc:removeResult (Sheet)&noheader&nofooter}} | ||