User Tools

Site Tools


stats:schema

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
stats:schema [2011/09/28 20:16]
Patrick Michel [Structure and Integrity Constraints]
stats:schema [2011/10/13 23:17] (current)
Patrick Michel [Structure and Integrity Constraints]
Line 1: Line 1:
 ====== XCend Schema ====== ====== XCend Schema ======
  
-This is the underlying [[:start]] Schema of the whole [[:​stats:​start]]. Everything //​persistent//​ is represented in the schema. The schema directly splits into the three main groups [[:​stats:​schema:​account]][[:​stats:​schema:​exam]] ​and [[:​stats:​schema:​exercise]].+This is the underlying [[:start]] Schema of the whole [[:​stats:​start]]. Everything //​persistent//​ is represented in the schema. The schema's top level element is [[:​stats:​schema:​stats]],​ but it directly splits into the three main groups 
 + 
 +  * [[:​stats:​schema:​account]] 
 +  * [[:​stats:​schema:​exam]] 
 +  * [[:​stats:​schema:​exercise]].
  
 ===== Structure and Integrity Constraints ===== ===== Structure and Integrity Constraints =====
Line 7: Line 11:
 <code xcend> <code xcend>
 element stats { element stats {
 +  attribute revision { integer }
 </​code>​ </​code>​
  
Line 22: Line 27:
  
 This section lists all atomic //​manipulations//​ associated with the schema. This section lists all atomic //​manipulations//​ associated with the schema.
 +==== Associated to the Stat System ====
 +
 +These are the associated procedures for [[:​stats:​schema:​stats]],​ i.e. they have no necessary parameters, as the [[:stats:]] is unique and does not need disambiguation. Some of them, however, will have ''​ident''​ parameters, which makes it possible to offer them in these classes, too.
 +
 +{{page>:​stats:​schema:​stats#​Procedures&​doindent&​noheader&​nofooter}}
 +
 ==== Associated to Account ==== ==== Associated to Account ====
  
Line 39: Line 50:
  
 {{page>:​stats:​schema:​exercise#​Procedures&​doindent&​noheader&​nofooter}} {{page>:​stats:​schema:​exercise#​Procedures&​doindent&​noheader&​nofooter}}
 +
 +==== Associated to Group ====
 +
 +These are the associated procedures for [[:​stats:​schema:​group]],​ i.e. they have two parameters for the exercise id and the group id. They will also most likely be offered in a corresponding ''​Group''​ class in an OO setting, which has an associated ''​Exercise''​ object.
 +
 +{{page>:​stats:​schema:​group#​Procedures&​doindent&​noheader&​nofooter}}
 +
 +==== Associated to Student ====
 +
 +These are the associated procedures for [[:​stats:​schema:​student]],​ i.e. they have two parameters for the exercise id and the student id. They will also most likely be offered in a corresponding ''​Student''​ class in an OO setting, which has an associated ''​Exercise''​ object.
 +
 +{{page>:​stats:​schema:​student#​Procedures&​doindent&​noheader&​nofooter}}
stats/schema.1317233778.txt.gz · Last modified: 2011/09/28 20:16 by Patrick Michel