Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of Object actions in UML activity Diagram drawn by EA

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail the example analysis of Object actions in the UML activity diagram drawn by EA. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

Description

CreateObjectAction

The create object action (CreateObjectAction) creates an object based on the statically specified category and places the object on the output pin at run time. This action needs to specify a category.

DestroyObjectAction

The destroy object action (DestroyObjectAction) is an action that destroys an object. It has a unique input pin that is used to pass the destruction target.

TestIdentityAction

The test identity action (CreateObjectAction) is used to confirm whether two input values point to the same object. This action has two input pins for input confirmation targets and another output pin for placing confirmation results.

Explanation

Today's actions are easy to understand, but the only difficulty is the method of specifying the category for CreateObjectAction in EA, as shown below:

Select the CreateObject action in the activity diagram

Open the context menu

Select [Advanced]-[Set Classfier]

Select or create a category in the [Select Classfier] dialog box

As for TestIdentityAction, it is equivalent to pointer comparison operation in C++, but a separate action is defined, which should have the advantage of expressing the designer's intention more clearly. TestIdentityAction is often used in operations such as object lookup.

This is the end of the article on "sample Analysis of Object actions in EA drawing UML activity Diagram". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report