examples/CQL/CompanyDirectorEmployee.cql in activefacts-0.7.3 vs examples/CQL/CompanyDirectorEmployee.cql in activefacts-0.8.5

- old
+ new

@@ -23,14 +23,16 @@ Person is identified by given-Name and family-Name where Person has one given-Name, given-Name is of Person, family-Name is of Person, Person is called at most one family-Name; -Person was born on at most one birth-Date; +Person was born on at most one birth-Date restricted to {'1900/01/01'..}; + Attendance is where Person (as Attendee) attended Meeting, Meeting was attended by Attendee; + Directorship is where Person (as Director) directs Company, Company is directed by at least one Director; Directorship began on one appointment-Date; @@ -44,8 +46,6 @@ Manager is ceo; /* * Constraints: */ -for each Employee exactly one of these holds: - that Employee is ceo, - that Employee is supervised by some Manager; +either that Employee is ceo or that Employee is supervised by some Manager but not both;