⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 200604161646065.html

📁 软件工程的红包书
💻 HTML
字号:
<html>
<head><title>对象图</title></head>
<center><h1>对象图</h1></center>
<div><P align=right><FONT face=Verdana><FONT color=#f70938><FONT face=黑体><a href="200604112229525.html" tppabs="http://www.itisedu.com/phrase/200604112229525.html" target="_new">中科永联</a>高级技术培训中心(</FONT><FONT face=黑体>www.itisedu.com</FONT><FONT face=黑体>)<IMG src="200641616464682.jpg" tppabs="http://www.itisedu.com/manage/Upload/image/200641616464682.jpg" border=0></FONT></FONT></FONT></P>
<P><FONT face=Verdana>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="200604161646065.html" tppabs="http://www.itisedu.com/phrase/200604161646065.html" target="_new">对象图</a>(<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604241338465.html  \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon.  \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604241338465.html'" tppabs="http://www.itisedu.com/phrase/200604241338465.html" target="_new">Object Diagram</a>) 是显示了一组<a href="200603090845215.html" tppabs="http://www.itisedu.com/phrase/200603090845215.html" target="_new">对象</a>和他们之间的关系。使用对象图来说明数据结构,<a href="200603071659325.html" tppabs="http://www.itisedu.com/phrase/200603071659325.html" target="_new">类图</a>中的<a href="200603090857555.html" tppabs="http://www.itisedu.com/phrase/200603090857555.html" target="_new">类</a>或<a href="200603302222545.html" tppabs="http://www.itisedu.com/phrase/200603302222545.html" target="_new">组件</a>等的实例的静态快照。对象图和类图一样反映系统的静态过程,但它是从实际的或原型化的情景来表达的。</FONT></P>
<P><FONT face=Verdana>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 对象图显示某时刻对象和对象之间的关系。一个对象图可看成一个类图的特殊<a href="200604240937105.html" tppabs="http://www.itisedu.com/phrase/200604240937105.html" target="_new">用例</a>,实例和类可在其中显示。对象也和<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604241345455.html  \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon.  \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604241345455.html'" tppabs="http://www.itisedu.com/phrase/200604241345455.html" target="_new">合作图</a>相联系,合作图显示处于语境中的对象原型(类元角色)。</FONT></P><FONT face=Verdana>
<P><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 对象图是类图的实例,几乎使用与类图完全相同的标识。他们的不同点在于对象图显示类的多个对象实例,而不是实际的类。一个对象图是类图的一个实例。由于对象存在生命周期,因此对象图只能在系统某一时间段存在。</P>
<P><STRONG>表示法</STRONG></P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 对于对象图来说无需提供单独的形式。类图中就包含了对象,所以只有对象而无类的类图就是一个"对象图"。然而,"对象图"这条短语在刻画各方面特定使用时非常有用。</P>
<P><STRONG>讨论</STRONG></P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 对象图显示对象集及其联系,代表了系统某时刻的状态。它包含带有值的对象,而非描述符,当然,在许多情况下对象可以是原型。用合作图可显示一个可多次实例化的对象及其联系的总体模型,合作图包含对象和链的描述符(类元角色和联系角色)。如果合作图实例化,则产生了对象图。</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 对象图不显示系统的演化过程。为此目的,可用带<a href="200603090938465.html" tppabs="http://www.itisedu.com/phrase/200603090938465.html" target="_new">消息</a>的合作图,或用<a href="200604161949135.html" tppabs="http://www.itisedu.com/phrase/200604161949135.html" target="_new">顺序图</a>表示一次交互。</P>
<P><FONT face=Verdana><STRONG>对象图的用途</STRONG></FONT></P>
<P><FONT face=Verdana>· 捕获实例和连接</FONT></P>
<P><FONT face=Verdana>· 在分析和设计阶段创建</FONT></P>
<P><FONT face=Verdana>· 捕获交互的静态部分</FONT></P>
<P><FONT face=Verdana>· 举例说明数据/对象结构</FONT></P>
<P><FONT face=Verdana>· 详细描述瞬态图</FONT></P>
<P><FONT face=Verdana>· 由分析人员、设计人员和代码实现人员开发<BR>&nbsp;</FONT></P>
<P><FONT face=Verdana><FONT face=Verdana>对象图的</FONT>图形说明</FONT></P>
<P align=center><FONT face=Verdana><IMG src="2006416165348131.jpg" tppabs="http://www.itisedu.com/manage/Upload/image/2006416165348131.jpg" border=0></FONT></P>
<P><BR></FONT>&nbsp;</P></div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -