This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
stats:schema:student [2011/09/29 11:06] Patrick Michel |
stats:schema:student [2013/07/10 12:47] (current) |
||
---|---|---|---|
Line 6: | Line 6: | ||
<code xcend> | <code xcend> | ||
- | element students { | + | element student * id { [ count (./id, /account/student/id) = 1 ] |
- | element student * id { [ exists //accounts/account/student[./id] ] # 1.6, 2.11 | + | attribute group ? { ident [ exists ..exercise/group[.] ]} |
- | 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 | + | element result * sheet { [ exists ..exercise/sheet[./sheet] ] |
- | attribute points { double [ . >= 0 && . <= ..exercise/sheets/sheet[../sheet]/maxPoints ]} | + | attribute points { double [ . >= 0 && . <= ..exercise/sheet[../sheet]/maxPoints ]} |
- | } | + | } |
- | } | + | } |
- | } | + | |
</code> | </code> | ||
Line 22: | Line 21: | ||
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.) | 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:addStudent&noheader&nofooter}} | + | {{page>stats:proc:registerStudent&noheader&nofooter}} |
- | {{page>stats:proc:removeStudent&noheader&nofooter}} | + | {{page>stats:proc:unregisterStudent&noheader&nofooter}} |
Line 35: | Line 34: | ||
{{page>stats:proc:signOutGroup&noheader&nofooter}} | {{page>stats:proc:signOutGroup&noheader&nofooter}} | ||
+ | |||
+ | ==== Team Assignment ==== | ||
+ | |||
+ | The tutors assign teams to the students of their groups. | ||
+ | |||
+ | {{page>stats:proc:assignTeam&noheader&nofooter}} | ||
+ | |||
+ | {{page>stats:proc:leaveTeam&noheader&nofooter}} | ||
==== Result Management ==== | ==== Result Management ==== | ||
{{page>stats:proc:addResult (Sheet)&noheader&nofooter}} | {{page>stats:proc:addResult (Sheet)&noheader&nofooter}} | ||
+ | {{page>stats:proc:changeResult (Sheet)&noheader&nofooter}} | ||
{{page>stats:proc:removeResult (Sheet)&noheader&nofooter}} | {{page>stats:proc:removeResult (Sheet)&noheader&nofooter}} | ||