Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "CDOQuery OCL"
(→Model) |
(→Model) |
||
Line 6: | Line 6: | ||
[[Image:trivialModel.png]] | [[Image:trivialModel.png]] | ||
− | We have the entities Patient and Konsultation (Consultation), which hold some generic attributes resp. features. The enumeration Geschlecht (sex) is self explaining. Each Konsultation belongsTo exactly one Patient, it is however not contained by the patient but exists as independent entity. | + | We have the entities <tt>Patient</tt> and <tt>Konsultation</tt> (Consultation), which hold some generic attributes resp. features. The enumeration <tt>Geschlecht</tt> (sex) is self explaining. Each Konsultation <tt>belongsTo</tt> exactly one <tt>Patient</tt>, it is however not contained by the patient but exists as independent entity. |
=== Queries === | === Queries === |
Revision as of 01:49, 18 April 2012
Based on CDO 4.0-SR2
Model
We have the following, deliberately trivial, model:
We have the entities Patient and Konsultation (Consultation), which hold some generic attributes resp. features. The enumeration Geschlecht (sex) is self explaining. Each Konsultation belongsTo exactly one Patient, it is however not contained by the patient but exists as independent entity.