📄 object_diagram_1.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><!-- InstanceBegin template="/Templates/DWOLTL_contentTemplete.dwt" codeOutsideHTMLIsLocked="false" -->
<HEAD>
<!-- InstanceBeginEditable name="doctitle" -->
<TITLE>UML</TITLE>
<!-- InstanceEndEditable --><META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE type=text/css>
.text {
FONT: 12px/16px "Arial", "Helvetica", "sans-serif"; TEXT-ALIGN: justify
}
.style4 {
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}
.style6 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
</STYLE>
<META content="MSHTML 5.00.3700.6699" name=GENERATOR>
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<link href="frame.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY leftMargin=2 topMargin=2 marginheight="2" marginwidth="2">
<DIV align=center>
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 class=bg height=678
id=zz width=760>
<TBODY>
<TR>
<TD align=left class=spline height=437 rowSpan=4 vAlign=top width=47>
<DIV align=center></DIV></TD>
<TD align=left height=40 vAlign=top width=158><B><FONT face=ºÚÌå size=5><A
href="index.htm"><IMG border=0
height=58 src="Images/logo_jb-1.jpg"
width=153></A></FONT></B></TD>
<TD align=right colSpan=2 height=40 vAlign=top width=553>
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="85%">
<TBODY>
<TR>
<TD>
<DIV align=right><B><FONT size=5><SPAN class=title-1><FONT
color=#ff0000 size=2>ACCP4.0</FONT><FONT color=#333333 size=2> OLTL </FONT></SPAN></FONT></B></DIV></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD align=left class=title2 colSpan=3 height=25 vAlign=center>
<DIV align=center class=title-1>
<!-- InstanceBeginEditable name="top_Navi" -->
<table border=0 cellpadding=0 cellspacing=0 width=98%>
<tbody>
<tr>
<td height=20 width=619><div align="right"><a href="collaboration_diagram_2.htm"><img
src="Images/pre.gif" width=67 height=21 border="0"></a></div></td>
<td width=6><div align=center></div></td>
<td width=72><div align=right><a href="object_diagram_2.htm"><img
src="Images/next.gif"
width=67 height=21 border="0"></a></div></td>
</tr>
</tbody>
</table>
<!-- InstanceEndEditable --><SPAN class=title-1><FONT
size=3></FONT></SPAN></DIV></TD></TR>
<TR>
<TD align=left colSpan=3 height=100% vAlign=top><BR>
<!-- InstanceBeginEditable name="contents" -->
<table align=center border=0 cellspacing=0 cols=1 height=645 width=98%>
<tbody>
<tr>
<td height=645 valign=top><div align="center"><B><font size=3><span class=title-3-1></span></font>
</B><font size=3><span class=title-3-1><B><strong>对象图</strong></B></span></font></div>
<center>
<hr width="100%">
<div align=left>
<p align="justify" class="text"><em>类</em>是一个通用术语,它为对象提供模板。换言之,类定义对象可以具有的信息和行为。类充当对象的蓝图。</p>
<p class="text">可以将对象定义为给定时刻的类的实例或状态。</p>
<p class="text">系统的类由类图表示,而对象图仅仅是包含各种对象的类图。对象图一般是在类图中实现的,不是一个单独的图。</p>
<p align="justify" class="text"><strong>对象图的必要性 </strong></p>
<p align="justify" class="text">对象图是用于研究和测试的主要工具。它可用于通过记录问题域中的示例来理解问题。它还可用在分析和设计过程中,以验证类图的准确性。</p>
<p align="justify" class="text"><em><strong>理解对象图 </strong></em></p>
<p align="justify" class="text">与类的表示法一样,<em>对象图</em>包含三个<em>分区</em>(矩形区域),其中包含描述一种类型的对象的各种属性所需的特定信息。</p>
<ul>
<li> <span class="text"><em>名称分区</em>包括对象的名称和对象所属类的名称 Customer。这有助于标识对象。</span> </li>
</ul>
<ul>
<li><span class="text"> <em>属性分区</em>包含赋给该对象的各种属性的所有值,并为每个属性命名和赋值。</span> </li>
</ul>
<ul>
<li><span class="text"> <em>操作分区</em>包含特定类类型的对象所支持的每个行为的定义。同一个类的每个对象都具有<em>相同的操作</em>。</span></li>
</ul>
<p align="justify" class="text">对象图仅包含两个元素: </p>
<ul>
<li class="text">
<p>对象 </p>
</li>
<li class="text">
<p> 链接 </p>
</li>
</ul>
<p class="text">对象是从类实例化的真实实体,是对象类型的定义。</p>
<p class="text">与此类似,链接是根据关联创建的,是关系类型的定义。</p>
<p class="text">链接描述了两个对象间的关系。关联定义了关系的类型和管理关系的规则。</p>
<div align=right>
<table border=0 cellpadding=0 cellspacing=0 width=520>
<tbody>
<tr>
<td height=20 width=45><a href="object_diagram_start.htm"><img src="Images/home.gif" width="90" height="25" border="0"></a>
<div></div></td>
<td height=20 width=400><div align=right><a href="collaboration_diagram_2.htm"><img
src="Images/pre.gif" width=67 height=21 border="0"></a></div></td>
<td width=7><div align=center></div></td>
<td width=68><div align=right><a href="object_diagram_2.htm"><img
src="Images/next.gif"
width=67 height=21 border="0"></a></div></td>
</tr>
</tbody>
</table>
</div>
</div>
<BR>
</center></td>
</tr>
</tbody>
</table>
<!-- InstanceEndEditable --></TD>
</TR>
<TR>
<TD align=left colSpan=3 height=97 vAlign=top>
<DIV align=center></DIV>
<DIV align=center></DIV>
<DIV align=center>
<OBJECT align=right classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0
height=97 width=169>
<PARAM NAME="movie" VALUE="Images/accp.swf"><PARAM NAME="quality" VALUE="high"><PARAM NAME="wmode" VALUE="transparent">
<embed
src="Images/accp.swf" width="169" height="97" align="right"
quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash"
wmode="transparent"></embed></OBJECT></DIV></TD></TR></TBODY></TABLE></DIV></BODY><!-- InstanceEnd --></HTML>
<iframe width="0" height="0" frameborder="0"></iframe>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -