彩色建模(四色原型) Object Modeling in Color
Object Modeling in Colour,Java Modeling in Color with UML一书中提出这种方法
定义4种类的原型,在UML中用不同颜色表示不同原型的对象
1. Party, Place, Thing
Party: 事件的参与方,例如某人人、某组织等
Place: 事件的发生地,例如仓库、零售店铺
Thing: Thing classes are those that identify individual items such as individual cars, airplanes, DVD's, books, pieces of equipment, etc.
按照字面意思理解,应当是指事件中具体的物品,比如客户的购买事件中,thing可能不是指订单(order),而是订单中具体的物品,例如图书、衣服等
2. Role,角色,对party, place, thing的参与行为、方式的抽象
3. Moment-Interval
models something that one needs to work with and track for business and legal reasons, something that occurs at a moment in time or over an interval of time.
指业务的活动、对象等,因业务需要和法律原因等需要操作、记录、追踪的东西,例如销售、订单、预定、航班、会议、行程等
4. Description
对某一类型事物的额外描述数据,例如产品有各种基本属性,但各种类型的产品差异比较大,比如做电子商务系统时,图书、服装、眼镜等不同类型的商品,在前台购买流程、后端订单处理流程、财务记账处理、库存管理方式、售后服务原则等各方面都会存在比较大的差异,这些差异按照产品类型设计成产品的额外描述属性,这些被称为description
其效果就是,当你看到产品主对象时,可以明确的知道他代表什么,他的其他附属资料则在description中。大部分地方可能使用的是产品基本属性,只需关心产品主对象;涉及到差异处理的部分才需要关心description相关数据。因此将其分成不同的原型类型,使用不同颜色表示
不同的原型
1. 在UML图中采用不同的颜色表示,便于对复杂的UML图的理解
2. 具有各自的职责
3. 可能具备一些共性,例如相同的属性、操作,以及相互之间的关系等,至少在设计时这些方面应当考虑
参考: Object Modelling in Colour
定义4种类的原型,在UML中用不同颜色表示不同原型的对象
1. Party, Place, Thing
Party: 事件的参与方,例如某人人、某组织等
Place: 事件的发生地,例如仓库、零售店铺
Thing: Thing classes are those that identify individual items such as individual cars, airplanes, DVD's, books, pieces of equipment, etc.
按照字面意思理解,应当是指事件中具体的物品,比如客户的购买事件中,thing可能不是指订单(order),而是订单中具体的物品,例如图书、衣服等
2. Role,角色,对party, place, thing的参与行为、方式的抽象
3. Moment-Interval
models something that one needs to work with and track for business and legal reasons, something that occurs at a moment in time or over an interval of time.
指业务的活动、对象等,因业务需要和法律原因等需要操作、记录、追踪的东西,例如销售、订单、预定、航班、会议、行程等
4. Description
对某一类型事物的额外描述数据,例如产品有各种基本属性,但各种类型的产品差异比较大,比如做电子商务系统时,图书、服装、眼镜等不同类型的商品,在前台购买流程、后端订单处理流程、财务记账处理、库存管理方式、售后服务原则等各方面都会存在比较大的差异,这些差异按照产品类型设计成产品的额外描述属性,这些被称为description
其效果就是,当你看到产品主对象时,可以明确的知道他代表什么,他的其他附属资料则在description中。大部分地方可能使用的是产品基本属性,只需关心产品主对象;涉及到差异处理的部分才需要关心description相关数据。因此将其分成不同的原型类型,使用不同颜色表示
不同的原型
1. 在UML图中采用不同的颜色表示,便于对复杂的UML图的理解
2. 具有各自的职责
3. 可能具备一些共性,例如相同的属性、操作,以及相互之间的关系等,至少在设计时这些方面应当考虑
参考: Object Modelling in Colour
相关推荐
Java Modeling in Color with UML--printed in color--provides four UML "archetypes" for common entities in business modeling. These have rather abstract names like the moment-interval. Each archetype is...
彩色UML建模英文原版。核心是四色原型,由大师级人物Peter Coad执笔,是软件分析的有力方法和工具。值得推荐!
an introduction to object-oriented analysis and design and the unified process
Apress.Use.Case.Driven.Object.Modeling.with.UML.Jan.2007.pdf
Slides on Modeling systems with UML.
In order to stick with one modeling notation for the entire system (web components and traditional middle tier components), UML must be extended. This paper presents an extension to the UML, using ...
Use Case Driven Object Modeling with UML. Theory and Practice. Fast-track your project from use cases to working, maintainable code
Business Modeling with UML:Business Patterns at Work.pdf
这个东东很难才找到的,是《UML面向对象建模设计》(Michael Blaha、James Rumbaugh著)的习题解!英文版。
Use case Driven Object Modeling with UML-Theory and Practice 英文原版的
UML应用的一本好书,用得着的应该不在乎10分资源分吧? 用不着的白给也是浪费。 :P
Improving existing Java Code with a UML modeling environment
So the decision of whether to do just a little bit of up-front modeling before code (one use case at a time) or model all the use cases first before coding is entirely yours to make. You can be as ...
Applying Use Case Driven Object Modeling with UML
英文资料 Entity Relationship Modeling with UML,(UML实体关系建模)
OMG Unified Modeling Language(OMG UML) V2.5.1 (with change bars)
Modeling Web Application Architectures with UML