The panel can be opened only after performing a series of actions such as closing the room door and turning on a light.

Unfortunately, the existing de facto UML notation is sub-optimal for Matrix analysis. Instead, the notation used in the Shlaer-Mellor method has been enhanced for use with the Matrix language. For completeness, the names of the Shlaer-Mellor diagrams have also been included in the table below:

The Gothic Hotel model is based on a description of an amusing but fantastical security system described by Martin Fowler of ThoughtWorks while discussing Domain Specific Languages (DSL) . The article is an extract from his book, Domain-Specific Languages and discusses the different forms a DSL can take by way of this introductory example.

This example shows how the Gothic Hotel security system should be analysed by using entities abstracted from the problem space. The previous example model, Gothic Hotel Controller followed the original article by implementing a state machine based solution.