[Left] [Up] [Right] Modeling Languages and Diagramming Notations -- UML [Left] [Up] [Right]

A Cartoon Example:

The problem domain is Bedrock Department of Transportation, Accident Reconstruction Office.

Meta model elements

  • classes
  • objects
  • relations
  • attributes
  • special relationships
    • Generalization
    • Aggregation
    • Instantiation

Meta model rules

  • Each object instantiates a single class
  • Let A, B and C be classes, and let r be a relation. If A generalizes B, and if r connects B to C, then r connects A to C

Notation for Meta Model Elements

[Meta Model]

The Ontology

  • The class person has a name attribute
  • The class vehicle has a license plate attribute
  • The class vehicle is an aggregate of a drive-train, a body, an electrical system, etc.
  • The class vehicle is a generalization of the classes truck, car, and motorcycle
  • A person can relate to a vehicle as a driver, a passanger.
  • A vehicle can collide with a person

The meta model

[Meta Model]

A specific model

English language representation:

  • The person with name Fred is the driver of the car with license plate AAA 111
  • The person with name Wilmer is the passenger of the car with license plate AAA 111
  • The person with name Barney is the victim of a collision with the car with license plate AAA 111

Diagram representation:

[Meta Model]
Notes:
  • The meta language elements are quite general. The generalization and aggregation relationships support scalable models.
  • The part of the language that is domain specific is the ontology.
  • To develop this material for a short course we need to find an example that is realistic and meaningful to the target audience e.g. mechanical engineers working on systems at Lockheed Martin. Do you have an example that we can slot in place?


[Left] [Up] [Right]