ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
1




UML Knowledge




     Li-Wei Cheng
UML related knowledge - 1
2

    ?   Association
        ?   The most abstract way to describe relationship between classes

        ?   A kind of link between two classes or more

        ?   Any relationship between object of two classes
UML related knowledge - 2
3

    ?   Weak Association (Dependency)
        ?   If class A¡¯s methods include parameter of Class B¡¯s reference, or
            returns reference of Class B, it calls A depends on B.




    ?   Strong Association
        ?   If class A holds class B¡¯s reference, it calls A have strong
            association with B.
UML related knowledge - 3
4

    ?   Aggregation (Association with part/whole relation)
        ?   A part of relationship between Class A (whole) and Class B (part)
        ?   Also called shared association
        ?   Doesn¡¯t state in any way that Class A owns Class B nor that
            there¡¯s a parent-child relationship between the two
UML related knowledge - 4
5

    ?   Composition (Association with strong life cycle relation)
        ?   A strong life cycle dependency between the two, meaning that
            when Class A is deleted then Class B is also deleted as result.
        ?   Also called not shared association.
        ?   Use more specific composition link instead of the aggregation
            link or association link.
Ad

Recommended

PDF
Introduction to AndroidMock
Li-Wei Cheng
?
PDF
Unit testing in android
Li-Wei Cheng
?
PDF
Make Your SW Component Testable
Li-Wei Cheng
?
PDF
Test doubles
Li-Wei Cheng
?
PDF
JUnit
Li-Wei Cheng
?
PDF
What's software testing
Li-Wei Cheng
?
PPTX
OO design principle
Li-Wei Cheng
?
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
Search Engine Journal
?
PDF
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
Safe Software
?
PDF
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
?
PDF
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
?
PDF
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
?
PDF
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
?
PDF
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
?
PDF
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
?
PDF
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
?
PPTX
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
?
PPTX
Security Tips for Enterprise Azure Solutions
Michele Leroux Bustamante
?
PPTX
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
?
PDF
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
?
PDF
¡°MPU+: A Transformative Solution for Next-Gen AI at the Edge,¡± a Presentation...
Edge AI and Vision Alliance
?
PDF
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
?
PDF
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
?
PDF
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) ºÝºÝߣs
Ravi Tamada
?
PDF
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
?
PPTX
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
?
PPTX
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
?
PDF
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
?
PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
?
PDF
Artificial Intelligence, Data and Competition ¨C SCHREPEL ¨C June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
?

More Related Content

Recently uploaded (20)

PDF
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
Safe Software
?
PDF
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
?
PDF
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
?
PDF
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
?
PDF
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
?
PDF
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
?
PDF
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
?
PDF
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
?
PPTX
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
?
PPTX
Security Tips for Enterprise Azure Solutions
Michele Leroux Bustamante
?
PPTX
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
?
PDF
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
?
PDF
¡°MPU+: A Transformative Solution for Next-Gen AI at the Edge,¡± a Presentation...
Edge AI and Vision Alliance
?
PDF
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
?
PDF
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
?
PDF
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) ºÝºÝߣs
Ravi Tamada
?
PDF
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
?
PPTX
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
?
PPTX
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
?
PDF
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
?
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
Safe Software
?
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
?
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
?
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
?
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
?
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
?
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
?
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
?
Security Tips for Enterprise Azure Solutions
Michele Leroux Bustamante
?
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
?
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
?
¡°MPU+: A Transformative Solution for Next-Gen AI at the Edge,¡± a Presentation...
Edge AI and Vision Alliance
?
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
?
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
?
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) ºÝºÝߣs
Ravi Tamada
?
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
?
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
?
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
?
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
?

Featured (20)

PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
?
PDF
Artificial Intelligence, Data and Competition ¨C SCHREPEL ¨C June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
?
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
SocialHRCamp
?
PDF
2024 State of Marketing Report ¨C by Hubspot
Marius Sescu
?
PDF
Everything You Need To Know About ChatGPT
Expeed Software
?
PDF
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
?
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
?
PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
?
PDF
Skeleton Culture Code
Skeleton Technologies
?
PDF
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
?
PDF
Content Methodology: A Best Practices Report (Webinar)
contently
?
PPTX
How to Prepare For a Successful Job Search for 2024
Albert Qian
?
PDF
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
?
PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
?
PDF
5 Public speaking tips from TED - Visualized summary
SpeakerHub
?
PDF
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
?
PDF
Getting into the tech field. what next
Tessa Mero
?
PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
?
PDF
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
?
PDF
Introduction to Data Science
Christy Abraham Joy
?
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
?
Artificial Intelligence, Data and Competition ¨C SCHREPEL ¨C June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
?
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
SocialHRCamp
?
2024 State of Marketing Report ¨C by Hubspot
Marius Sescu
?
Everything You Need To Know About ChatGPT
Expeed Software
?
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
?
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
?
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
?
Skeleton Culture Code
Skeleton Technologies
?
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
?
Content Methodology: A Best Practices Report (Webinar)
contently
?
How to Prepare For a Successful Job Search for 2024
Albert Qian
?
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
?
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
?
5 Public speaking tips from TED - Visualized summary
SpeakerHub
?
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
?
Getting into the tech field. what next
Tessa Mero
?
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
?
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
?
Introduction to Data Science
Christy Abraham Joy
?
Ad

UML knowledge

  • 1. 1 UML Knowledge Li-Wei Cheng
  • 2. UML related knowledge - 1 2 ? Association ? The most abstract way to describe relationship between classes ? A kind of link between two classes or more ? Any relationship between object of two classes
  • 3. UML related knowledge - 2 3 ? Weak Association (Dependency) ? If class A¡¯s methods include parameter of Class B¡¯s reference, or returns reference of Class B, it calls A depends on B. ? Strong Association ? If class A holds class B¡¯s reference, it calls A have strong association with B.
  • 4. UML related knowledge - 3 4 ? Aggregation (Association with part/whole relation) ? A part of relationship between Class A (whole) and Class B (part) ? Also called shared association ? Doesn¡¯t state in any way that Class A owns Class B nor that there¡¯s a parent-child relationship between the two
  • 5. UML related knowledge - 4 5 ? Composition (Association with strong life cycle relation) ? A strong life cycle dependency between the two, meaning that when Class A is deleted then Class B is also deleted as result. ? Also called not shared association. ? Use more specific composition link instead of the aggregation link or association link.

Editor's Notes

  • #5: ÒòžéÁâÐÎÒ²ÓпÉÄÜÊÇ¿ÕµÄ Òò´ËÔÚ Static µÄˆDÉÏÓÐëmÈ»ÓÐ Member Field, µ«ÓпÉÄÜÊÇ¿ÕµÄ Aggregation: has a
  • #6: Composition: is a part of (owns a)