Timothy Lethbridge edited this page Jun 14, 2016 · 2 revisions

Analysis for Use Cases


This page is to present samples and analysis of the feature to add use cases to Umple. This is the first phase of implementing various different requirements capabilities.

Search for relevant issues in the issues list, where this topic may be covered too.

Phase 1: Samples of syntax that we intend to allow and metamodel elements

Declaration of an actor

actor regularUser;

Umple metamodel for representing actors

class Actor {

Declaration of the existence of a use case. id can be any identifier to be used to describe the use case

usecase usecaseid {}

Declaration in a class, interface, trait, etc.

class X {
  implements usecaseid;

Declaration of the relationship between a use case and an actor

usecase usecaseid {
  doneby  regularUser;

Metamodel entries for use cases

class UseCase {
  * -- * Actor;
  * -- * UmpleClassifier implementingUseCases;
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.