![]() The point at which an extending use case is added can be defined by means of an extension point. For example, if before modifying a particular type of customer order, a user must get approval from some higher authority, then the use case may optionally extend the regular use case. One use case may be used to extend the behavior of another this is typically used in exceptional circumstances. Use Cases may be included by one or more Use Case, helping to reduce the level of duplication of functionality by factoring out common behavior into Use Cases that are re-used many times. An example of this is to have the execution of the use case to be run as part of a use case. In general it is assumed that any included use case will be called every time the basic path is run. Use cases may contain the functionality of another use case as part of their normal processing. It is normally described in text and corresponds to the textual representation of the sequence diagram. It defines the specific sequence of events between the system and the external actors. An invariant condition specifies the conditions that are true throughout the execution of the use case.Ī Scenario is a formal description of the flow of events that occur during the execution of a use case instance. A post-condition is used to document the change in conditions that must be true after the execution of the use case. A precondition specifies the conditions that need to be met before the use case can proceed. A requirement is a contract or promise that the use case will perform an action or provide some value to the system.Ĭonstraints A constraint is a condition or restriction that a use case operates under and includes pre-, post- and invariant conditions. They correspond to the functional specifications found in structured methodologies. The requirements define the formal functional requirements that a use case must supply to the end user. The uses connector can optionally have multiplicity values at each end, as in the following diagram, which shows a customer may only have one withdrawal session at a time, but a bank may have any number of customers making withdrawals concurrently.Ī use case is normally named as a verb-phrase and given a brief informal textual description. ![]() The following diagram indicates that the actor "Customer" uses the "Withdraw" use case. The notation for using a use case is a connecting line with an optional arrowhead showing the direction of control. The notation for a use case is an ellipse. It provides a high-level view of behavior observable to someone or something outside the system. An actor is usually drawn as a named stick figure, or alternatively as a class rectangle with the «actor» keyword.Īctors can generalize other actors as detailed in the following diagram:Ī use case is a single unit of meaningful work. ![]() Actors represent roles which may include human users, external hardware or other systems. These external entities are referred to as actors. ![]() Use cases are a means of communicating with users and other stakeholders what the system is intended to do.Ī use case diagram shows the interaction between the system and entities external to the system. The use case model captures the requirements of a system. UML 2 Tutorial - Use Case Diagram Use Case Diagrams
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |