彩色UML学习笔记

    技术2026-09-24  9

     

    1、斜体代表抽象命名

    2、方法名前划线代表静态方法

     

    为什么不能把archetype作为超类便于继承?

      1、很多类遵循archetype,但是程度不一样

      2、继承显得太死板

     

    四种基本的archetype

      1、moment-interval:表示组件的heart/soul 用pink表示

      2、role:重要程度仅次于moment-interval,用yellow表示

      3、party/place or thing: 对象容器,用green表示

      4、description:包含方法像计算总数等,用blue表示

     

    十二个组件(compound component)

      分四类:

      一、make or Buy

         原料管理(materialResourceMgmt)、库存管理(facilityMgmt)、生产制造(manufacturingMgmt)、存货管理inventoryMgmt)

      二、sale

        产品销售管理(productSaleMgmt)、现金管理(cashSaleMgmt)、客户账户管理(customerAccountMgmt)

      三、relate

        人力资源管理(humanResourceMgmt)、关系管理(relationshipMgmt)

      四、coordinate and support

        项目管理(projectActivityMgmt)、会计管理(accountMgmt)、文档管理(documentMgmt)

    最新回复(0)