Example use case diagram

Source: Internet
Author: User
Tags dashed line
Defined system boundaries determine the boundaries between the inside and outside of the system. the protagonist represents the role played by the external object. An object can play several roles, so it can be represented by several protagonists. communication relationships are used to illustrate the participation of protagonists in use cases. A use case is a set of events that occurs when the protagonist completes a process through the system. Typically, a use case is a larger process, rather than a single step or transaction. class static Structure diagram example to features, actions and other properties are added to the class shape, double-click the shape to open the UML Class Properties dialog box. Double-click an association to add adornments, such as Multiplicity and guiding Nature. In addition to the names and types shown here, attributes can also contain visibility, which is an initial value; Attributes can also specify whether an object belongs to a class or an instance. If you want to communicate detailed programming specifications, you need to fully define the parameters. The activity diagram example object's initial State is the state in which any event in the diagram does not work on the object. An action state is a state that represents a completed activity. When the internal action of the action state is completed, the action state is conversion. To indicate that you must complete each parallel activity before the next activity occurs, use the connection transformation. Double-click the state transition from the action state to raise it A critical condition and an action expression label. To indicate an activity that can occur at the same time, use a fork state transition. The final status represents the end of the activity in the scenario represented by the diagram. The initial state diagram example object State is the state in which any event in the diagram does not work on the object. Status Rep an instant in the object's life cycle. Double-click a state shape to add a name and then its internal actions and activities. transformations indicate that as a result of responding to an event, the object transitions from one state to another and executes an action. That triggers the state transition. the event is named in the state transition string. Double-click a state transition, in addition to the event signature, to use a string to raise it A critical condition, an action expression, and other tags. The vertical dimension in the sequence diagram example sequence chart represents the time, sequentially descending order of time. A landscape dimension represents a different protagonist or object. object is represented as object lifelines, that is, their presence state at a particular time. Adjust the length of the line to indicate whether the object has been created or is extinct. Arrows represent the objects between the message. Objects can also send messages to themselves. Add a to the Lifeline An activation point (also known as the focus of control) to indicate the time period during which an object performs an action. The returned message is represented by a dashed line. The collaboration diagram example classifier Role shape, An underscore is underlined under the object's specified string to indicate that the object is an instance. You can also add an object name before the colon. Links (that is, associated roles) indicates a relationship, and if there are arrows, it also indicates guiding Nature. Double click a link, and then click the message to define the message that is passed along the link. You need to number the procedure message according to the nested call. The first message is always passed from outside the diagram environment. Assembly diagram example in a component diagram, a component is a generic type, not an instance. To display a component instance, use the deployment diagram. dependencies indicate that the customer component depends to some extent on the vendor component. Deployment diagram example in the deployment map, A node can represent a generic type or a specific instance. Will be Components and placing an object instance in a node instance indicates that the components and objects reside on that node. Through dependencies (and sometimes interface) can be connected to each component. You can use stereotypes to indicate exact dependencies this article transfers from: Http://www.c1945.com/articles/case.htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.