User Tools

Site Tools


stats:schema:group

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

stats:schema:group [2011/09/28 20:23]
Patrick Michel [Change Attributes]
stats:schema:group [2013/07/10 12:47]
Line 1: Line 1:
-====== Exercise Groups ====== 
- 
-This page describes a minor part of the [[:​stats:​start]] [[:​stats:​schema]],​ namely the exercise groups. 
- 
-===== Schema ===== 
- 
-<code xcend> 
-      element groups {              ​ 
-        element group * id {        [ count(./id, ..exercise/​students/​student/​group) < ./maxSize ] 
-          attribute day             { "​Monday"​ | "​Tuesday"​ | "​Wednesday"​ | "​Thursday"​ | "​Friday"​ | "​Saturday"​ | "​Sunday"​ } 
-          attribute time            { string } 
-          attribute location ​       { string } 
-          attribute maxSize ​        { integer [ . >= 0 ]} 
-  
-          element tutor * account ​  {[ exists //​accounts/​account[./​account] ]} 
-        }                            
-      }                              
-</​code>​ 
- 
-===== Procedures ===== 
- 
-==== Change Attributes ==== 
- 
-{{page>​stats:​proc:​changeAttributes (Group)&​noheader&​nofooter}} 
- 
-==== Tutor Management ==== 
- 
-The procedures for tutor management can be directly taken from the [[account]] section. In an OO setting this placement of the method in the ''​Group''​ class takes the least number of explicit parameters, as the exercise and group ids are implicit. 
- 
-{{page>​stats:​proc:​grantTutorRights&​noheader&​nofooter}} 
- 
-{{page>​stats:​proc:​revokeTutorRights&​noheader&​nofooter}} 
  
stats/schema/group.txt ยท Last modified: 2013/07/10 12:47 (external edit)