V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
ruandao
V2EX  ›  问与答

UML 中, 如何分辨 associate 和 aggregation 这两种关系?

  •  1
     
  •   ruandao · Mar 20, 2019 · 949 views
    This topic created in 2595 days ago, the information mentioned may be changed or developed.

    如何 分辨 关联 和 聚合这两种关系 ? 搜索下, 好像一般说 聚合 适用于 整体和局部?

    但是, 依旧感觉辨识不清楚

    Supplement 1  ·  Mar 21, 2019
    对了, 问题个问题
    UML 中, 怎么分辨 要用 associate 还是用 aggregation 这两种关系….
    我知道 associate 是关联, 基本上有关联的类都可以用,
    然后 aggregation 是聚合…整体和局部的关系
    但是, 真的用的时候, 总觉得, 好像哪里哪里都可以适用 associate. 和 aggregation
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1525 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 16:47 · PVG 00:47 · LAX 09:47 · JFK 12:47
    ♥ Do have faith in what you're doing.