Sha256: b01050081cdbf024d5ccac05afb7169abacd2c83415376be5794515057e61f1c

Contents?: true

Size: 462 Bytes

Versions: 25

Compression:

Stored size: 462 Bytes

Contents

vocabulary Monogamy;

/*
 * Value Types
 */
Name is written as String;
Person ID is written as Auto Counter;

/*
 * Entity Types
 */
Person is identified by its ID;
Person is called one Name;

Boy is a kind of Person;

Girl is a kind of Person;
Girl (as Girlfriend) is going out with at most one Boy (as Boyfriend) [symmetric],
	Boyfriend is going out with at most one Girlfriend;

/*
 * Constraints:
 */
either Person is a Girl or Person is a Boy but not both;

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
activefacts-examples-1.9.9 cql/Monogamy.cql
activefacts-examples-1.9.8 cql/Monogamy.cql
activefacts-examples-1.8.0 cql/Monogamy.cql
activefacts-examples-1.7.2 cql/Monogamy.cql
activefacts-examples-1.7.1 cql/Monogamy.cql
activefacts-1.6.0 examples/CQL/Monogamy.cql
activefacts-1.5.3 examples/CQL/Monogamy.cql
activefacts-1.5.2 examples/CQL/Monogamy.cql
activefacts-1.5.1 examples/CQL/Monogamy.cql
activefacts-1.5.0 examples/CQL/Monogamy.cql
activefacts-1.3.0 examples/CQL/Monogamy.cql
activefacts-1.2.1 examples/CQL/Monogamy.cql
activefacts-1.2.0 examples/CQL/Monogamy.cql
activefacts-1.1.0 examples/CQL/Monogamy.cql
activefacts-1.0.2 examples/CQL/Monogamy.cql
activefacts-1.0.1 examples/CQL/Monogamy.cql
activefacts-1.0.0 examples/CQL/Monogamy.cql
activefacts-0.8.18 examples/CQL/Monogamy.cql
activefacts-0.8.16 examples/CQL/Monogamy.cql
activefacts-0.8.15 examples/CQL/Monogamy.cql