Sha256: 2162193868f60e8ede7c7f6b2884cb1314260fbb97a027705a8873bd870b3e2f

Contents?: true

Size: 696 Bytes

Versions: 14

Compression:

Stored size: 696 Bytes

Contents

vocabulary SchoolActivities;

/*
 * Value Types
 */
Activity Name is written as String(32);
School Name is written as String;
Student Name is written as String;

/*
 * Entity Types
 */
Activity is identified by its Name;

School is identified by its Name;

School Activity is where
	School sanctions Activity;

Student is identified by its Name;
Student is enrolled in one School;

Student Participation is where
	Student represents School in Activity,
	Student participates in Activity as representative of one School;

/*
 * Constraints:
 */
Student represents School in Activity
	only if School sanctions Activity;
Student represents School in Activity
	only if Student is enrolled in School;

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
activefacts-examples-1.9.9 cql/SchoolActivities.cql
activefacts-examples-1.9.8 cql/SchoolActivities.cql
activefacts-examples-1.8.0 cql/SchoolActivities.cql
activefacts-examples-1.7.2 cql/SchoolActivities.cql
activefacts-examples-1.7.1 cql/SchoolActivities.cql
activefacts-1.6.0 examples/CQL/SchoolActivities.cql
activefacts-1.5.3 examples/CQL/SchoolActivities.cql
activefacts-1.5.2 examples/CQL/SchoolActivities.cql
activefacts-1.5.1 examples/CQL/SchoolActivities.cql
activefacts-1.5.0 examples/CQL/SchoolActivities.cql
activefacts-1.3.0 examples/CQL/SchoolActivities.cql
activefacts-1.2.1 examples/CQL/SchoolActivities.cql
activefacts-1.2.0 examples/CQL/SchoolActivities.cql
activefacts-1.1.0 examples/CQL/SchoolActivities.cql