|
Post by account_disabled on Mar 21, 2024 6:48:19 GMT
主要类型图对象图的概述。第部分分钟系统分析和设计设计和重构设计技术文档的准备你好我叫是一名系统分析师我还在频道上撰写有关系统分析和一般分析的文章。在之前有关的文章第部分第部分中我们了解了建模语言是什么以及为什么需要它还查看了类图和组件图。今天我想继续流程设计的话题重点讲一下对象图。对象图对象图是显示对象其属性以及与其他对象的关系的结构图。对象是执行时间中特定点的类的实例可以具有自己的状态和数据值。 对象图是类图的一个实例我之前在这里写过类图它显示了系统在特定 亚美尼亚电报号码数据 时间点的详细状态的快照。因此我们可以说对象图是类图的特例。何时使用对象图对象图的使用非常有限。在设计分析阶段可以创建然后创建一组对象图作为测试用例来验证类图的准确性和完整性。在创建类图之前您可以创建对象图来了解有关特定模型元素及其关系的事实或说明所需分类器的特定示例。对象图由哪些元素组成对象对象图上对象的图像对象图上对象的图像每个对象都由一个矩形表示其中对象的名称及其类带有下划线并用冒号分隔。 对象属性对象图中对象属性的图像对象图中对象属性的图像与类图类似每个对象都分配有属性。然而与类不同的是对象属性必须被赋值因为在类图中我们正在查看特定的时间段。关系对象图中关系的表示对象图中关系的表示关系用于表示两个对象之间的关系类似于类图。类图对象图以下是关于类图和对象图的要点对象图是显示模型中分类器实例的结构图。对象图使用与类图中相似的表示法。类图显示了实际的分类器及其在系统中的关系。对象图显示了这些分类器的特定实例以及在特定时间点这些实例之间的关系。
|
|