Example Class Chart

The below is an example of two class charts, written in textual BON. They are taken from the book "Seamless Object-oriented Software Architecture: Analysis and Design of Reliable Systems", and extended slightly (added system_chart and a cluster_chart such that it becomes a complete, small system).

Please note the following:

  • Given the below as input, and --informal as an option, BONc will report no errors.
  • The indexing clauses are changed from using the keyword cluster, as this is a reserved word and cannot be used here.