Sha256: eba69f1c30929ef004183b4b3ddd01407ab3d1cd70eebd38ac4ed411877961da

Contents?: true

Size: 739 Bytes

Versions: 4

Compression:

Stored size: 739 Bytes

Contents

vocabulary SchoolActivities;

/*
 * Value Types
 */
ActivityName is defined as VariableLengthText(32);
SchoolName is defined as VariableLengthText();
StudentName is defined as VariableLengthText();

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

School is identified by its Name;
SchoolActivity is where
	School sanctions Activity;

Student is identified by its Name;
Student is enrolled in one School;
StudentParticipation is where
	Student represents School in Activity,
	Student participates in Activity which is sanctioned by at most 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

4 entries across 4 versions & 1 rubygems

Version Path
activefacts-0.6.0 examples/CQL/SchoolActivities.cql
activefacts-0.7.0 examples/CQL/SchoolActivities.cql
activefacts-0.7.1 examples/CQL/SchoolActivities.cql
activefacts-0.7.2 examples/CQL/SchoolActivities.cql