Sha256: 35566352b693711c64f1a353dafba0eda65ac515fb1ea1a0199c0e9b969bc58d

Contents?: true

Size: 1.25 KB

Versions: 23

Compression:

Stored size: 1.25 KB

Contents

vocabulary Blog;

/*
 * Value Types
 */
Author Id is written as Auto Counter;
Comment Id is written as Auto Counter;
Name is written as String(64);
Ordinal is written as Unsigned Integer(32);
Post Id is written as Auto Counter;
Style is written as String(20);
Text is written as Text;
Topic Id is written as Auto Counter;

/*
 * Entity Types
 */
Author is identified by its Id;
author-Name is of at most one Author,
	Author is called one Name;

Comment is identified by its Id;
Author wrote Comment,
	Comment was written by one Author;

Content is identified by Style and Text where
	Content is of at most one Style,
	Content has one Text,
	Text is of Content;
Content provides text of Comment,
	Comment consists of one text-Content;

Post is identified by its Id;
Post was written by one Author,
	Author wrote Post;

Topic is identified by its Id;
Post belongs to one Topic,
	Topic contains Post;
Topic belongs to at most one parent-Topic [acyclic];
Topic is called one topic-Name,
	Name is of at most one Topic;

Paragraph is where
	Post includes Ordinal paragraph;
Content is of Paragraph,
	Paragraph contains one Content;
Paragraph has Comment,
	Comment is on one Paragraph;

/*
 * Constraints:
 */
either Content provides text of Comment or Content is of Paragraph but not both;

Version data entries

23 entries across 23 versions & 2 rubygems

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