Modeling operations in the interface

IFML allows basic operations to be modeled by using operation components that allow for the creation, deletion, update, connection, disconnection, and reconnection[1] of instances. These components perform

FIGURE 12.52

Example of specification of menu-based top-level navigation.

FIGURE 12.53 [2] [3]

FIGURE 12.54

Operation components: create, delete, modify, connect, disconnect, and reconnect.

The operation components are based on classes or associations that are their data sources. Create, delete, and update operations are defined over a single class, while connect, disconnect, and reconnect are defined over an association, and therefore they have a source and a target class.

For example, a delete operation could be defined over the Book class as in Figure 12.54; this operation would be responsible for deleting instances of Book.

A connect operation, on the other hand, would be defined over an association such as BookToPublisher, as shown in Figure 12.54. Therefore, it would be responsible for connecting (adding links between) instances of the Book class (source) and the Publisher class (target).

  • [1] Replacing a link.
  • [2] Example of rendering of a page using menu-based top-level navigation. most of the basic operations that were presented in Section 8.5. Figure 12.54 shows the graphical representation of those operations. The operation components do not hold or render information; they just process information.Therefore, they are represented graphically outside the pages. Every operation component should have at least one input flow. Sometimes all the informationthe operation needs is obtained from a single view component, but sometimes more than one viewcomponent may be necessary to supply all the data needed by an operation. Operation components have special output flows. Two different kinds of output flows exist foroperations:
  • [3] OK flow, which defines where the focus goes when the operation is successfully performed forevery object. • KO flow, which defines where the focus goes when the operation fails for at least one of theobjects affected by it.
< Prev   CONTENTS   Source   Next >