原创 UML實例--HELL_WORLD(二)
Key Abstractions In Java, the applet for printing“Hello, World!” in a Web browser is quite simple: import java.awt.
原创 UML實例--HELL_WORLD(一)
UML實例--HELLO, WORLD!(一) Brian Kernighan and Dennis Ritchie, the authors of the C programming language, point out tha
原创 UML實例--HELL_WORLD(四)
This figure makes it clear thatHelloWorld is just a leaf in a larger hierarchy of classes.HelloWorld is a child ofA
原创 UML實例--HELL_WORLD(三)
This class diagram captures the basics of the“Hello, World!” application, but it leaves out a number of things. As
原创 UML基本架構建模--獲取類
Getting Started 開始 Modeling a system involves identifying the things that are important to your particular view. T
原创 UML基本架構建模--通用機制概述
Common Mechanisms 通用機制 The UML is made simpler by the presence of four common mechanisms that apply throughout
原创 UML基本架構建模--關聯的通用建模技術(一)
Modeling Simple Dependencies 建模簡單的依賴 A common kind of dependency relationship is the connection between a clas
原创 UML基本架構建模--給關聯建模時的注意事項
When you model relationships in the UML, lUse dependencies only when the relationship you are modeling is not st
原创 UML實例--HELL_WORLD(五)
Mechanisms 機制 The hardest part of mastering a library as rich as Java’s is learning how its parts work together. Fo
原创 UML基本架構建模--類的輔助信息
Organizing Attributes and Operations 組織屬性和操作 When drawing a class, you don’t have to show every attribute and every o
原创 UML基本架構建模--類的術語和概念
Terms and Concepts 術語和概念 A classis a description of a set of objects that share the same attributes, operations,
原创 UML基本架構建模--關聯的術語和概念(二)
Associations 聯合 An association is a structural relationship that specifies that objects of one thing are connect
原创 UML基本架構建模--獲取關聯
If you are building a house, things like walls, doors, windows, cabinets, and lights will form part of your vocab
原创 UML基本架構建模--關聯的術語和概念(一)
A relationship is a connection among things. In object-oriented modeling, the three most important relationships
原创 UML基本架構建模--關聯概述
Relationships 關聯 When you build abstractions, you’ll discover that very few of your classes stand alone. Instead, m