UML Designer User's Guide


Generating a protocol

Once you have defined a thing and its responsibilities, you can use them to automatically generate a protocol. When generating a protocol, UML Designer assumes the default mapping of one message specification for each responsibility, and it uses the names of the responsibilities to generate a default message name. You can change this afterward if the generated message name is not satisfactory. You can also make other manual changes, like adding message specifications, splitting a protocol into two, or merging two protocols into one.

We've defined several responsibilities for the thing Catalog, so we can now generate a protocol that implements the thing. To generate a protocol for Catalog, follow these steps:

  1. Select Things in the middle pane of the Relationships Browser.
  2. Select Catalog from the list of things.
  3. Select Transforms>Generate Protocol from the pop-up menu of Catalog.
  4. In the window that appears, select Catalog from the Protocol Names list.
  5. You can specify several options that affect the generated protocol:

    For our example, accept the default options and select OK to generate the protocol.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]