Revision 8a57f3b03992351f46c4537fd0d9351592278d2b (click the page title to view the current version)
Changes from 8a57f3b03992351f46c4537fd0d9351592278d2b to b3d79c7d55b72eb9c40f885cbb3277fe1cedc83f---
title: OCL Benchmark B3
...
```{.clafer}
abstract Person
ada : Person
cyd : Person
cyd : Person
eve : Person
bob : Person
dan : Person
abstract Exam
date: string
[this != ""]
recorder -> Person
examiner -> Person
examinee -> Person
date: string
[this != ""]
recorder -> Person
examiner -> Person
examinee -> Person
ada_bob_cyd:Exam
[date = "20001023"
recorder = cyd
examiner = bob
examinee = ada]
[date = "20001023"
recorder = cyd
examiner = bob
examinee = ada]
dan_bob_ada:Exam
[date = "20040817"
recorder = ada
examiner = bob
examinee = dan]
[date = "20040817"
recorder = ada
examiner = bob
examinee = dan]
eve_ada_dan:Exam
[date = "20080331"
recorder = dan
examiner = ada
examinee = eve]
[date = "20080331"
recorder = dan
examiner = ada
examinee = eve]
examineeAda -> Exam *
[this.examinee = ada]
[this.examinee = ada]
[all e:Exam|e.examinee = ada => e in examineeAda]
recorderAda -> Exam *
[this.recorder = ada]
[this.recorder = ada]
[all e:Exam|e.recorder = ada => e in recorderAda]
examinerAda -> Exam *
[this.examiner = ada]
[this.examiner = ada]
[all e:Exam|e.examiner = ada => e in examinerAda]
examineeOfAdaAsExaminer -> Person *
[one e:Exam|e.examiner = ada && e.examinee = this]
[one e:Exam|e.examiner = ada && e.examinee = this]
[all e:Exam|e.examiner = ada => e.examinee in examineeOfAdaAsExaminer]
examineeOfAdaAsRecorder -> Person *
[one e:Exam|e.recorder = ada && e.examinee = this]
[one e:Exam|e.recorder = ada && e.examinee = this]
[all e:Exam|e.recorder = ada => e.examinee in examineeOfAdaAsRecorder]
examinerOfAdaAsExaminee -> Person *
[one e:Exam|e.examinee = ada && e.examiner = this]
[one e:Exam|e.examinee = ada && e.examiner = this]
[all e:Exam|e.examinee = ada => e.examiner in examinerOfAdaAsExaminee]
examinerOfAdaAsRecorder -> Person *
[one e:Exam|e.recorder = ada && e.examiner = this]
[one e:Exam|e.recorder = ada && e.examiner = this]
[all e:Exam|e.recorder = ada => e.examiner in examinerOfAdaAsRecorder]
recorderOfAdaAsExaminee -> Person *
[one e:Exam|e.examinee = ada && e.recorder = this]
[one e:Exam|e.examinee = ada && e.recorder = this]
[all e:Exam|e.examinee = ada => e.recorder in recorderOfAdaAsExaminee]
recorderOfAdaAsExaminer -> Person *
[one e:Exam|e.examiner = ada && e.recorder = this]
[one e:Exam|e.examiner = ada && e.recorder = this]
[all e:Exam|e.examiner = ada => e.recorder in recorderOfAdaAsExaminer]
```
```{.clafer .summary}
```