Composite Structure ´ÙÀ̾î±×·¥ ¸ðµ¨¸µÇϱâ

Composite Structure ´ÙÀ̾î±×·¥¿¡¼­ ÆíÁýÇÒ ¼ö ÀÖ´Â ¿ä¼ÒµéÀº ´ÙÀ½°ú °°½À´Ï´Ù.

Class

Class »ý¼º ¹æ¹ý:

Composite Structure ´ÙÀ̾î±×·¥¿¡¼­ Class¸¦ »ý¼ºÇÏ·Á¸é,

  1. [Toolbox] -> [Composite Structure] -> [Class] ¹öưÀ» Ŭ¸¯Çϰí,
  2. Main À©µµ¿ìâ¿¡¼­ Class°¡ À§Ä¡ÇÒ °÷À» Ŭ¸¯ÇÕ´Ï´Ù.
  3. Äü´ÙÀ̾ó·Î±×¿¡¼­ Ŭ·¡½º À̸§À» ÀÔ·ÂÇϰí,
  4. ±×¸®°í [Enter] ۸¦ ´©¸¨´Ï´Ù´Ù. ±×·¯¸é Ŭ·¡½º°¡ »ý¼ºÀÌ ¿Ï·áµË´Ï´Ù.

Port »ý¼º ¹æ¹ý:

Component¿¡ Port¸¦ »ý¼ºÇÏ·Á¸é,

  1. [Toolbox] -> [Composite Structure] -> [Port] ¹öưÀ» Ŭ¸¯Çϰí,
  2. Main À©µµ¿ì¿¡¼­ Port°¡ À§Ä¡ÇÒ Component¸¦ Ŭ¸¯ÇÕ´Ï´Ù.
  3. ±×¸®°í Äü´ÙÀ̾ó·Î±×¿¡¼­ Æ÷Æ®ÀÇ À̸§À» ÀÔ·ÂÇÕ´Ï´Ù.
  4. [Enter] ۸¦ ´©¸£¸é, Æ÷Æ®°¡ »ý¼ºÀÌ ¿Ï·áµË´Ï´Ù.

Port µå·¡±×¸¦ ÅëÇÑ ºä »ý¼º ¹æ¹ý:

Model Explorer·ÎºÎÅÍ µå·¡±×¸¦ ÅëÇÏ¿© Port¸¦ »ý¼ºÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ ¶§¿¡´Â µå·¡±×ÇÑ Port¸¦ ComponentÀ§·Î µå·ÓÇÕ´Ï´Ù.

  1. Model explorer¿¡¼­ Æ÷Æ®¸¦ ¼±ÅÃÇÕ´Ï´Ù.
  2. ¼±ÅÃµÈ Æ÷Æ®¸¦ composite structure ´ÙÀ̾î±×·¥»óÀÇ Å¬·¡½º¿¡ µå·¡±× µå·ÓÇÕ´Ï´Ù.
  3. ¸¸¾à Component°¡ ¾Æ´Ñ Diagram À§·Î µå·ÓÇϸé Port¿Í ÇÔ²² ComponentÀÇ ºä°¡ »ý¼ºµË´Ï´Ù.

Part »ý¼º ¹æ¹ý:

Component¿¡ Part¸¦ »ý¼ºÇÏ·Á¸é,

  1. [Toolbox] -> [Composite Structure] -> [Part] ¹öưÀ» Ŭ¸¯ÇÕ´Ï´Ù.
  2. Main À©µµ¿ì¿¡¼­ Part°¡ À§Ä¡ÇÒ Component¸¦ Ŭ¸¯ÇÕ´Ï´Ù.
  3. ±×·¯¸é Ŭ·¡½º¼Ó¿¡ ÆÄÆ®°¡ »ý¼ºµË´Ï´Ù.

Connector »ý¼º ¹æ¹ý:

Connector¸¦ »ý¼ºÇÏ·Á¸é, Toolbox>ComponentÀÇ Connector ¹öưÀ» Ŭ¸¯Çϰí ÇÏ¸é µË´Ï´Ù.

  1. [Toolbox] -> [Composite Structure] -> [Connector] ¹öưÀ» Ŭ¸¯Çϰí,
  2. Main À©µµ¿ìâ¿¡¼­ ¿¬°áÇÒ Part(¶Ç´Â Port)¿¡¼­ ´Ù¸¥ Part(¶Ç´Â Port)·Î ¸¶¿ì½º ¹öưÀ» ´©¸£°í µå·¡±×ÇÕ´Ï´Ù.
  3. ±×·¯¸é µÎ°³ÀÇ ÆÄÆ®»çÀÌ¿¡ Ä¿³ØÅͰ¡ »ý¼ºµË´Ï´Ù.

Interface Providing °ü°è »ý¼º ¹æ¹ý:

ÇöÀç ¼±ÅÃµÈ Class·ÎºÎÅÍ Interface Providing °ü°è¸¦ ¸¸µé·Á¸é ´ÜÃà »ý¼º ±¸¹®À» »ç¿ëÇÕ´Ï´Ù.

  1. Class¸¦ ´õºí Ŭ¸¯Çؼ­ Quick Dialog°¡ ³ªÅ¸³ª¸é,
  2. Quick Dialog¿¡¼­ "-@" ¹®ÀÚ¿­ ´ÙÀ½¿¡ InterfaceÀÇ À̸§À» ÀÔ·ÂÇÕ´Ï´Ù. ¿©·¯°³ÀÇ Interface¸¦ Á¦°øÇÑ´Ù¸é °¢ Interface À̸§Àº "," ¹®ÀÚ·Î ±¸ºÐÇØ¼­ ÀÔ·ÂÇÕ´Ï´Ù.
  3. ±×¸®°í [Enter] ۸¦ ÀÔ·ÂÇÏ¸é ¼±ÅÃµÈ Å¬·¡½º¿¡¼­ Á¦°øµÇ´Â ÀÎÅÍÆäÀ̽º°¡ »ý¼ºµÇ°í ÀÚµ¿À¸·Î ¹èÄ¡µË´Ï´Ù.

Interface Requiring °ü°è »ý¼º ¹æ¹ý:

ÇöÀç ¼±ÅÃµÈ Class·ÎºÎÅÍ Interface Requiring °ü°è¸¦ ¸¸µé·Á¸é ´ÜÃà »ý¼º ±¸¹®À» »ç¿ëÇÕ´Ï´Ù.

  1. Class¸¦ ´õºí Ŭ¸¯Çؼ­ Quick Dialog°¡ ³ªÅ¸³ª¸é,
  2. Quick Dialog¿¡¼­ "-(" ¹®ÀÚ¿­ ¶Ç´Â "-->" ¹®ÀÚ¿­ ´ÙÀ½¿¡ InterfaceÀÇ À̸§À» ÀÔ·ÂÇÕ´Ï´Ù. ¿©·¯°³ÀÇ Interface¸¦ ¿ä±¸ÇÑ´Ù¸é °¢ Interface À̸§Àº "," ¹®ÀÚ·Î ±¸ºÐÇØ¼­ ÀÔ·ÂÇÕ´Ï´Ù.
  3. ±×¸®°í [Enter]۸¦ ´©¸£¸é ¼±ÅÃµÈ Class¿Í Interface Requiring °ü°è¸¦ °¡Áö´Â InterfaceµéÀÌ »ý¼ºµÇ°Å³ª ¿¬°áµÇ°í ÀÚµ¿ ¹è¿­µÇ¾î »ý¼ºµË´Ï´Ù.

Interface

Interface »ý¼º ¹æ¹ý:

Interface¸¦ »ý¼ºÇÏ·Á¸é,

  1. [Toolbox] -> [Composite Structure] -> [Interface] ¹öưÀ» Ŭ¸¯Çϰí
  2. Main À©µµ¿ìâ¿¡¼­ Interface°¡ À§Ä¡ÇÒ °÷À» Ŭ¸¯ÇÕ´Ï´Ù.
  3. Äü´ÙÀ̾ó·Î±×¿¡¼­ ÀÎÅÍÆäÀ̽ºÀÇ À̸§À» ÀÔ·ÂÇÕ´Ï´Ù.
  4. ±×¸®°í [Enter] ۸¦ ´©¸£¸é ÀÎÅÍÆäÀ̽º »ý¼ºÀÌ ¿Ï·áµË´Ï´Ù.

Interface Providing °ü°è ¼³Á¤ ¹æ¹ý:

Interface Providing °ü°è¸¦ ¼³Á¤ÇÏ·Á¸é,

  1. [Toolbox] -> [Composite Structure] -> [Realization] ¹öưÀ» Ŭ¸¯Çϰí,
  2. Main À©µµ¿ìâ¿¡¼­ ¿ä¼Ò(Class, Port, Part, Package, Subsystem)¸¦ ¼±ÅÃÇϰí Interface·Î ¸¶¿ì½º¸¦ ´©¸£°í µå·¡±×ÇÏ¸é µË´Ï´Ù.
  3. ±×·¯¸é providing interface °ü°è°¡ »ý¼ºµË´Ï´Ù.

Interface Requiring °ü°è ¼³Á¤ ¹æ¹ý:

Interface Requiring °ü°è¸¦ ¼³Á¤ÇÏ·Á¸é,

  1. [Toolbox] -> [Composite Structure] -> [Dependency] ¹öưÀ» Ŭ¸¯Çϰí
  2. Main À©µµ¿ìâ¿¡¼­ ¿ä¼Ò(Class, Port, Part, Package, Subsystem)¸¦ ¼±ÅÃÇϰí Interface·Î ¸¶¿ì½º¸¦ ´©¸£°í µå·¡±×ÇÏ¸é µË´Ï´Ù.
  3. ±×·¯¸é interface requiring °ü°è°¡ »ý¼ºµË´Ï´Ù.

Dependency

Dependency »ý¼º ¹æ¹ý:

Dependency¸¦ »ý¼ºÇÏ·Á¸é,

  1. [Toolbox] -> [Composite Structure] -> [Dependency] ¹öưÀ» Ŭ¸¯Çϰí
  2. Main À©µµ¿ìâ¿¡¼­ ¿ä¼Ò¿¡¼­ ÀÇÁ¸ÇÏ´Â ´Ù¸¥ ¿ä¼Ò·Î ¸¶¿ì½º ¹öưÀ» ´©¸£°í µå·¡±×ÇÏ¸é µË´Ï´Ù.
  3. ±×·¯¸é ÀÇÁ¸ °ü°è°¡ »ý¼ºµË´Ï´Ù.

Realization

Realization»ý¼º ¹æ¹ý:

Realization¸¦ »ý¼ºÇÏ·Á¸é,

In order to create realization in composite structure diagram,

  1. [Toolbox] -> [Composite Structure] -> [Realization]  ¹öưÀ» Ŭ¸¯Çϰí
  2. Main À©µµ¿ìâ¿¡¼­ ¿ä¼Ò¿¡¼­ RealizationÇÒ ´Ù¸¥ ¿ä¼Ò·Î ¸¶¿ì½º ¹öưÀ» ´©¸£°í µå·¡±×ÇÏ¸é µË´Ï´Ù.
  3. ±×·¯¸é ´ÙÀ½°ú °°ÀÌ µÎ ¿ä¼Ò »çÀÌ¿¡ realization °ü°è°¡ »ý¼ºµË´Ï´Ù.

Collaboration

ÀǹÌ:

Çùµ¿(Collaboration)">Çùµ¿(Collaboration)Àº ¿¬»ê(Operation) ȤÀº Ŭ·¡½º·ùµéÀÌ ¾î¶»°Ô ½Çüȭ(realize)µÇ´ÂÁö¸¦ Ç¥ÇöÇÕ´Ï´Ù. Çùµ¿Àº °´Ã¼¿Í ¸µÅ©µéÀÌ ¼öÇàÇÒ ¿ªÇÒ(role)µéÀÇ ÁýÇÕÀ¸·Î½á ±¸¼ºµÇ¾î Áý´Ï´Ù.

Collaboration »ý¼º ¹æ¹ý:

CollaborationÀ» »ý¼ºÇÏ·Á¸é

  1. Model Explorer¿¡¼­ ÆÐŰÁö¸¦ ¼±ÅÃÇÕ´Ï´Ù. ±×¸®°í [Add] -> [Collaboration] ÆË¾÷ ¸Þ´º¸¦ ¼±ÅÃÇÕ´Ï´Ù.
  2. ±×·¯¸é collaborationÀÌ »ý¼ºµÇ¾îÁý´Ï´Ù. À̶§ collaborationÀÇ À̸§À» ÀÔ·ÂÇÕ´Ï´Ù.
  3. ±×¸®°í collaborationÀ» main window·Î µå·¡±×/µå·ÓÇÕ´Ï´Ù.
  4. ±×·¯¸é collaborationÀÌ ´ÙÀ̾î±×·¥¿¡ À§Ä¡ÇÏ°Ô µË´Ï´Ù.