Previous Up Next

4  Enter data for the insurance model



Exercise 6: Enter data objects for the following facts. Customer mary signed an insurance policy with start date "2009-05-19" (no end date). The premium is 1000.



mary in Customer end
policy1 in Policy with
  startdate d: "2009-05-19"
  premium p: 1000
end

holds1 in holds with
  customer c: mary
  policy p: policy1
end

Figure 4: Sample data for the insurance model

The display of the data objects in figure 4 completes all three abstraction levels (meta classes, classes, data objects).





Previous Up Next