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

📄 5associations.html

📁 together是不比Rose差的设计工具,甚至在生成java类方面效果更好,该教材是together6.1的一份实例教程,不错!
💻 HTML
📖 第 1 页 / 共 3 页
字号:
			<tr>
				<td bgcolor="#993300">
					<table border="0" cellpadding="0" cellspacing="2" bgcolor="#ffffcc" width="100%">
						<tr>
							<td bgcolor="#ffffcc"><b>&#25805;&#20316;&#27493;&#39588;</b><b>:</b> 
                              &#20026;&#20174; <b>Reservation</b> &#21040; <b>Ticket</b> 
                              &#30340;&#36830;&#25509;&#25351;&#23450;&#36866;&#24403;&#30340;&#21183;,
                              &#35268;&#21017;&#22914;&#19979;: 
								<dl>
									<dd>&#19968;&#24352;&#26426;&#31080;&#24517;&#39035;&#20851;&#32852;&#21040;&#19968;&#20010;&#30830;&#23450;&#30340;&#39044;&#32422;.
                                      &#19968;&#20010;&#39044;&#32422;&#21017;&#21487;&#33021;&#26377;&#23545;&#24212;&#30340;&#19968;&#24352;&#26426;&#31080;,
                                      &#20063;&#21487;&#33021;&#27809;&#26377;.								</dl>
                              <p>&#20026;&#20174; <b>Agent</b>  &#21040; <b>Flight</b> 
                              &#30340;&#36830;&#25509;&#25351;&#23450;&#36866;&#24403;&#30340;&#21183;,
                              &#35268;&#21017;&#22914;&#19979;:</p>
								<dl>
									<dd>&#19968;&#20010;&#20195;&#29702;&#21830;&#21487;&#20197;&#30693;&#36947;&#24456;&#22810;&#33322;&#29677;&#20449;&#24687;;
                                      &#19968;&#20010;&#33322;&#29677;&#20449;&#24687;&#20063;&#21487;&#20197;&#25552;&#20379;&#32473;&#24456;&#22810;&#20195;&#29702;&#21830;. 
								</dl>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<p></p>
		<table border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
			<tr>
				<td bgcolor="#CCCCCC">
					<table border="0" cellpadding="5" cellspacing="2">
						<tr>
							<td valign="top" bgcolor="white">
                                <p>&#36830;&#25509;&#30340;&#23646;&#24615;&#26597;&#30475;&#22120;&#20013;&#21253;&#21547;&#20102;&#24456;&#20016;&#23500;&#30340;&#33756;&#21333;&#21487;&#20379;&#20462;&#25913;&#36830;&#25509;.
                                &#20351;&#29992;&#23427;&#21487;&#20197;&#20026;&#36830;&#25509;&#31471;&#20998;&#37197;&#35282;&#33394;,
                                &#20063;&#21487;&#20197;&#20351;&#36830;&#25509;&#25104;&#20026;&#26377;&#26041;&#21521;&#30340;.</p>
								<p></p>
							</td>
							<td valign="top" bgcolor="white">
								<p><img height="72" width="295" src="images/airline/makedirected.png" alt="Making a link directed"></p>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<p></p>
		<table border="0" cellpadding="0" cellspacing="2" bgcolor="#993300" width="100%">
			<tr>
				<td bgcolor="#993300">
					<table border="0" cellpadding="0" cellspacing="2" bgcolor="#ffffcc" width="100%">
						<tr>
							<td bgcolor="#ffffcc"><b>&#25805;&#20316;&#27493;&#39588;:</b> 
                              &#20026; <b>Flight</b>
                              &#19978;&#30340;&#33258;&#36830;&#25509;&#30340;&#21508;&#20010;&#31471;&#35774;&#32622;&#21183;&#21644;&#35282;&#33394;,
                              &#24182;&#20351;&#36825;&#20010;&#36830;&#25509;&#26377;&#26041;&#21521;. 								<ul>
									<li>&#23558; supplier
                                      &#31471;&#35282;&#33394;&#21629;&#21517;&#20026;
                                      &quot;actual.&quot;
                                      &#23558;&#23427;&#30340;&#21183;&#35774;&#32622;&#20026;
                                      0..1.
									<li>&#23558; client
                                      &#31471;&#35282;&#33394;&#21629;&#21517;&#20026;
                                      &quot;plan.&quot;
                                      &#23558;&#23427;&#30340;&#21183;&#35774;&#32622;&#20026;
                                      1.
								</ul>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
        <p>&#26368;&#21518;&#19968;&#27493;&#25805;&#20316;, &#20351;&#29992; <b>Flight</b>
        &#33258;&#36830;&#25509;&#30340;&#23646;&#24615;&#26597;&#30475;&#22120;&#23454;&#29616;. </p>
		<hr>
        <p class="head3"><a name="patterns"></a>&#23558;&#36830;&#25509;&#20462;&#25913;&#20026;&#32858;&#21512;</p>
        <p>&#27599;&#20010; <b>Flight</b> 
        &#37117;&#25317;&#26377;&#19968;&#20010; <b>Reservations</b> 
        &#30340;&#38598;&#21512;,
        &#32780;&#19981;&#26159;&#21333;&#20010;&#30340; <b>Reservation</b>. </p>
		<table border="0" cellpadding="0" cellspacing="2" bgcolor="#993300" width="100%">
			<tr>
				<td bgcolor="#993300">
					<table border="0" cellpadding="0" cellspacing="2" bgcolor="#ffffcc" width="100%">
						<tr>
							<td bgcolor="#ffffcc"><b>&#25805;&#20316;&#27493;&#39588;</b><b>:</b> 
                              &#21019;&#24314;&#19968;&#20010;&#20174; <b>Flight</b>
                              &#21040; <b>Reservation</b>
                              &#30340;&#32858;&#21512;.</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<p></p>
		<table border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
			<tr>
				<td bgcolor="#CCCCCC">
					<table border="0" cellpadding="5" cellspacing="2">
						<tr>
							<td valign="top" bgcolor="white"><img src="images/airline/aggregation.png" width="9" height="55" border="0" alt="Aggregation link" hspace="5" vspace="5"></td>
							<td valign="top" bgcolor="white">
                                <p>&#36825;&#20010;&#25805;&#20316;&#24456;&#31616;&#21333;.
                                &#39318;&#20808;&#21019;&#24314;&#19968;&#20010;&#36830;&#25509;,
                                &#20174; <b>Flight</b>  &#24320;&#22987;,
                                &#21040; <b>Reservation</b> &#32467;&#26463;.
                                &#28982;&#21518;&#22312;&#26032;&#24314;&#36830;&#25509;&#30340;&#21491;&#38190;&#33756;&#21333;&#20013;&#36873;&#25321;&#20013;
                                &quot;Aggregation&quot;.</p>
                                <p>&#36830;&#25509;&#23558;&#22312; <b>Flight</b> 
                                &#26174;&#31034;&#19968;&#20010;&#33777;&#24418;&#31661;&#22836;.</p>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
        <p>&#21019;&#24314;&#26032;&#30340;&#36830;&#25509;&#21487;&#33021;&#20250;&#20351;&#27169;&#22411;&#22270;&#21464;&#24471;&#27604;&#36739;&#28151;&#20081;.
        &#20320;&#21487;&#20197;&#36890;&#36807;&#27169;&#22411;&#22270;&#21491;&#38190;&#33756;&#21333;(<b>Layout | All</b>)&#26469;&#35753; Together
        &#37325;&#26032;&#25490;&#21015;&#27169;&#22411;&#22270;.
        &#25110;&#32773;&#20320;&#20063;&#21487;&#20197;&#30452;&#25509;&#25302;&#21160;&#36830;&#25509;.</p>
        <p>&#24403;&#20320;&#36873;&#20013;&#36830;&#25509;&#26102;,
        &#20809;&#26631;&#23558;&#26174;&#31034;&#20026;&#21313;&#23383;(<img src="images/icons/cross.png" width="17" height="17" border="0" align="absmiddle" hspace="1">).
        &#31227;&#21160;&#20809;&#26631;&#23558;&#25913;&#21464;&#36830;&#25509;&#30340;&#24418;&#29366;.
        &#22914;&#26524;&#20320;&#22312;&#36830;&#25509;&#30340;&#26411;&#31471;&#31227;&#21160;&#40736;&#26631;,
        &#20809;&#26631;&#23558;&#26174;&#31034;&#20026; 4
        &#31661;&#22836;&#29366;(<img src="images/icons/arrow_double.gif" width="19" height="19" border="0" align="absmiddle" hspace="1">).
        &#27492;&#26102;,
        &#20320;&#21487;&#20197;&#23558;&#36830;&#25509;&#30340;&#26411;&#31471;&#31227;&#21160;&#21040;&#21478;&#19968;&#20010;&#31867;&#19978;.</p>
		<hr>
        <p class="head3"><a name="generalizations"></a>&#26174;&#31034;&#32487;&#25215;&#20851;&#31995;</p>
        <p>&#20320;&#29616;&#22312;&#21487;&#20197;&#20174; <b>Ticket</b>
        &#25193;&#23637;&#20986;&#20004;&#20010;&#23454;&#20307;&#31867;, <b>Ticket</b>
        &#26159;&#25277;&#35937;&#31867;. &#20320;&#36824;&#23558;&#20026; <b>Agent</b> 
        &#21644; <b>Reservation</b> 
        &#31867;&#21019;&#24314;&#19968;&#20010;&#25509;&#21475;.</p>
		<table border="0" cellpadding="0" cellspacing="2" bgcolor="#993300" width="100%">
			<tr>
				<td bgcolor="#993300">
					<table border="0" cellpadding="0" cellspacing="2" bgcolor="#ffffcc" width="100%">
						<tr>
							<td bgcolor="#ffffcc"><b>&#25805;&#20316;&#27493;&#39588;</b><b>:</b> 
                              &#21019;&#24314;&#19968;&#20010;&#21517;&#20026; <b>Coach</b>
                              &#30340;&#31867;.
                              &#28982;&#21518;&#23436;&#25104;&#20197;&#19979;&#27493;&#39588;: 
								<ol>
									<li>&#29992; generalization &#20174; <b>Coach</b>
                                      &#36830;&#25509;&#21040; <b>Ticket</b>. 
									<li>&#23558; <b>calcPrice()</b>  &#20174; <b>Ticket</b>
                                      &#22797;&#21046;&#21040; <b>Coach</b>.

									<li>&#23558; <b>Coach</b> 
                                      &#30340;&#31574;&#30053;(stereotype)&#35774;&#32622;&#20026; &quot;thing.&quot;

								</ol>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
        <p>&#20351;&#29992;&#19968;&#33324;&#21270;&#36830;&#25509;&#25353;&#32445;<nobr>(</nobr><nobr><img src="images/icons/generalizationicon.png" width="12" height="12" border="0" hspace="1" alt="Generalization icon"></nobr><nobr>)</nobr> 
        &#20351; <b>Coach</b>  &#31867;&#25193;&#23637; <b>Ticket</b> &#31867;.
        &#24403;&#20320;&#23558;&#25277;&#35937;&#26041;&#27861;&#22797;&#21046;&#21040;&#19968;&#20010;&#23454;&#20307;&#31867;&#26102;, Together
        &#20250;&#22312;&#27169;&#22411;&#22270;&#21644;&#20195;&#30721;&#20013;&#23558;&#20854;&#21464;&#20026;&#23454;&#20307;&#26041;&#27861;.</p>
		<table border="0" cellpadding="0" cellspacing="2" bgcolor="#993300" width="100%">
			<tr>
				<td bgcolor="#993300">
					<table border="0" cellpadding="0" cellspacing="2" bgcolor="#ffffcc" width="100%">
						<tr>
							<td bgcolor="#ffffcc"><b>&#25805;&#20316;&#27493;&#39588;</b><b>:</b> 
                              &#23558; <b>Coach</b> 
                              &#31867;&#22797;&#21046;&#19968;&#20221;,
                              &#28982;&#21518;&#37325;&#21629;&#21517;&#20026; <b>FirstClass</b>.</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
        <p>&#35201;&#22797;&#21046;&#19968;&#20010;&#31867;,
        &#22312;&#27169;&#22411;&#22270;&#30340;&#21491;&#38190;&#33756;&#21333;&#20013;&#20808;&#20351;&#29992;
        &quot;Copy&quot; &#21629;&#20196;, &#28982;&#21518;&#20351;&#29992;
        &quot;Paste&quot; &#21629;&#20196;.&nbsp;
        &#38500;&#20102;&#21517;&#23383;&#20197;&#22806;,
        &#26032;&#31867;&#23558;&#19982;&#26087;&#31867;&#23436;&#20840;&#19968;&#33268;.
        &#25152;&#26377;&#30340;&#26500;&#36896;&#20989;&#25968;&#37117;&#34987;&#22797;&#21046;&#20026;&#26032;&#30340;&#21517;&#31216;.
        &#20174;&#21407;&#26469;&#30340;&#31867;&#24320;&#22987;&#30340;&#25152;&#26377;&#36830;&#25509;&#20063;&#37117;&#34987;&#22797;&#21046;&#20102;.

⌨️ 快捷键说明

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