UML Basic Architecture Modeling-considerations for class modeling

Source: Internet
Author: User
Zookeeper

When you model classes in the UML, remember that every class shocould map to some tangible or conceptual wait action in the domain of the end user or the implementer. A well-structured ured class

1. Provides a crisp fetch action of something drawn from the vocabulary of the problem domain or the solution domain.

2. embodies a small, well-defined set of responsibilities and carries them all out very well

3. provides a clear separation of the specified action's specification and its implementation.

4. is understandable and simple, yet extensible and adaptable.

When you draw a class in the UML,

1. show only those properties of the class that are important to understanding the specified action in its context.

2. Organize long lists of attributes and operations by grouping them according to their category.

3. Show related classes in the same class diagrams,

 

When you build a class model in UML, remember that every class will map to real or conceptual abstract things in the field of end users or implementers. A class with a good structure:

1. Define clear abstraction for something from the problem or solution vocabulary.

2. reflect a group of short and well-defined roles that can be well executed.

3. clear separation between the norms and implementations of abstract things.

4. It is understandable, simple, scalable, and adaptive.

When you draw a class in UML,

1. attributes of the context of an abstract object are displayed only when the context of the abstract object is understood.

2. group attributes and operations in a long column by type.

3. display the associated classes in the same class graph.

 

UML Basic Architecture Modeling-considerations for class modeling

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.