Collaboration ´ÙÀ̾î±×·¥ ¸ðµ¨¸µÇϱâ
Collaboration ´ÙÀ̾î±×·¥¿¡¼ ÆíÁýÇÒ ¼ö ÀÖ´Â ¿ä¼ÒµéÀº ´ÙÀ½°ú °°½À´Ï´Ù.
- Object
- Link
- SelfLink
- Stimulus
- Frame
Object
»ý¼º ¹æ¹ý:
Object¸¦ »ý¼ºÇÏ·Á¸é,
- [Toolbox] -> [Collaboration] -> [Object]
¹öưÀ» Ŭ¸¯Çϰí

- Main À©µµ¿ìâ¿¡¼ Object°¡ À§Ä¡ÇÒ
°÷À» Ŭ¸¯ÇÕ´Ï´Ù.

- ±×·¯¸é Äü´ÙÀ̾ó·Î±×°¡ º¸¿©Áö°í, °Å±â¿¡ objectÀÇ À̸§À» ÀÔ·ÂÇÕ´Ï´Ù.

- ±×¸®°í [Enter] ۸¦ ´©¸¨´Ï´Ù.

Shortcut Create Syntax·Î °´Ã¼¿¡¼ ³ª°¡´Â Stimulus »ý¼º ¹æ¹ý:
ÇöÀç ¼±ÅÃµÈ °´Ã¼¿¡¼ ´Ù¸¥ °´Ã¼·Î ³ª°¡´Â stimulus¸¦ »ý¼ºÇÏ·Á¸é
- °´Ã¼¸¦ ´õºí Ŭ¸¯ÇÏ°í³ª °´Ã¼°¡ ¼±ÅÃµÈ »óÅ¿¡¼ [Enter]۸¦ ´©¸¨´Ï´Ù.
- ±×¸®°í Quick Dialog°¡ ³ªÅ¸³ª¸é, "->" ¹®ÀÚ¿(µé¾î¿À´Â Stimulus´Â "<-" ¹®ÀÚ¿) ´ÙÀ½¿¡ ´ë»ó °´Ã¼ÀÇ À̸§°ú
Stimulus À̸§À» ÀÔ·ÂÇÕ´Ï´Ù.

- ±×¸®°í [Enter]۸¦ ´©¸£¸é ¼±ÅÃµÈ °´Ã¼¿¡¼ ÁöÁ¤ÇÑ °´Ã¼·Î ³ª°¡´Â Stimulus¸¦ »ý¼ºÇϰí ÇöÀç ´ÙÀ̾î±×·¥¿¡¼ °¡Àå
¸¶Áö¸· ¼ø¼·Î ¼³Á¤ÇÕ´Ï´Ù.

Active Object ¼³Á¤ ¹æ¹ý:
Object¸¦ Active Object·Î º¯°æÇÏ·Á¸é,
- ÇÒ´çµÈ ClassÀÇ IsActivie ¼Ó¼ºÀ» true·Î º¯°æÇÏ¸é µË´Ï´Ù.
- À§ÀÇ °æ¿ì´Â, MyClassÀÇ IsActive ¼Ó¼ºÀ» º¯°æÇÕ´Ï´Ù.

- ¸¸¾à
Class°¡ ÇÒ´çµÇ¾î ÀÖÁö ¾Ê´Ù¸é Active Object·Î º¯°æÇÒ ¼ö ¾ø½À´Ï´Ù.
Multi Object ¼³Á¤ ¹æ¹ý:
Object¸¦ Multi Object·Î ¼³Á¤ÇÏ·Á¸é,
-
Propertiesâ¿¡¼ IsMultiInstance ¼Ó¼ºÀ» true·Î ¼³Á¤ÇÕ´Ï´Ù.

- ±×·¯¸é object´Â ´ÙÀ½°ú °°ÀÌ multi object Çü½ÄÀ¸·Î º¸¿©Áý´Ï´Ù.

¡¡
Class·ÎºÎÅÍ Object »ý¼º ¹æ¹ý:
Ŭ·¡½º·ÎºÎÅÍ object¸¦ »ý¼ºÇϱâ À§Çؼ,
- model explorer¿¡¼ class¸¦ ¼±ÅÃÇÕ´Ï´Ù.

- ¼±ÅÃµÈ class¸¦ collaboration diagramÀ¸·Î µå·¡±×ÇÕ´Ï´Ù.

- ±×·¯¸é object(¼±ÅÃµÈ classÀÇ instance)°¡ »ý¼ºµË´Ï´Ù.

Object·ÎºÎÅÍ Class »ý¼º ¹æ¹ý:
Object¿¡ ´ëÇØ¼ Class°¡ ÇÒ´çµÇ¾î ÀÖÁö ¾Ê´Ù¸é
- Object¸¦ ´õºí Ŭ¸¯Çؼ Quick DialogÀÇ Add Class ¹öưÀ»
ÀÌ¿ëÇÏ¿© »õ·Î¿î Class¸¦ »ý¼ºÇϰí Object¿¡ ÇÒ´çÇÒ ¼ö ÀÖ½À´Ï´Ù.

- [Enter element name] ´ÙÀ̾ó·Î±×¿¡¼ »ý¼ºÇÒ classÀÇ À̸§À» ÀÔ·ÂÇÕ´Ï´Ù.

- ±×·¯¸é »õ·Î¿î class°¡ »ý¼ºµÇ°í object¿¡ class·Î ÇÒ´çµË´Ï´Ù.

¡¡
¸¸¾à Á¸ÀçÇÏ´Â Class¸¦ Object¿¡ ÇÒ´çÇÏ·Á¸é PropertiesÀÇ Classifier ¼Ó¼ºÀÇ [±×¸²] ¹öưÀ» Ŭ¸¯Çؼ [Select
a model element] Dialog¿¡¼ Object¿¡ ÇÒ´çÇÒ Class¸¦ ¼±ÅÃÇÕ´Ï´Ù.
Object¿¡ AttributeLink Ãß°¡ ¹æ¹ý:
Object¿¡ AttributeLink¸¦ Ãß°¡ÇÏ´Â ¹æ¹ýÀº ´ÙÀ½°ú °°ÀÌ 2°¡Áö ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.
- Object ¶Ç´Â Model ExplorerÀÇ ÆË¾÷ ¸Þ´º ÀÌ¿ë
- Collection Editor ÀÌ¿ë
Object ¶Ç´Â Model ExplorerÀÇ ÆË¾÷ ¸Þ´º ÀÌ¿ëÇÏ´Â °æ¿ì
- main window ¶Ç´Â model explorer¿¡¼ object¸¦ ¼±ÅÃÇÕ´Ï´Ù.
- ¼±ÅÃµÈ objectÀÇ ¿À¸¥ÂÊ ¸¶¿ì½º¸¦ Ŭ¸¯ÇÕ´Ï´Ù. ±×¸®°í [Add] -> [Attribute Link] ÆË¾÷ ¸Þ´º¸¦ ¼±ÅÃÇϸé
attribute link¸¦ »ðÀÔÇÕ´Ï´Ù.

- ±×·¯¸é »õ·Î¿î attribute link°¡ »ý¼ºµË´Ï´Ù.

Collection Editor ÀÌ¿ëÇÏ´Â °æ¿ì
- objectÀÇ [Collection Editor...] ÆË¾÷ ¸Þ´º¸¦ ¼±ÅÃÇÕ´Ï´Ù. properties window¿¡¼
slots ¼Ó¼ºÀÇ
¹öưÀ» Ŭ¸¯ÇÕ´Ï´Ù.

- collection editorÀÇ slots ÅÇ¿¡¼
¹öưÀ» ÀÌ¿ëÇÏ¿© attribute link¸¦ Ãß°¡ÇÕ´Ï´Ù.

Link
Link »ý¼º ¹æ¹ý:
Link¸¦ »ý¼ºÇÏ·Á¸é,
- [Toolbox] -> [Collaboration] -> [Link] ¹öưÀ» Ŭ¸¯Çϰí

- Main À©µµ¿ìâ¿¡¼ LinkÇÒ Object¿¡¼
´Ù¸¥ Object ¹æÇâÀ¸·Î ¸¶¿ì½º¸¦
´©¸£°í µå·¡±×ÇÏ¸é µË´Ï´Ù.

- ±×·¯¸é µÎ°³ÀÇ object »çÀÌ¿¡ link°¡ »ý¼ºµË´Ï´Ù.

SelfLink
SelfLink »ý¼º ¹æ¹ý:
SelfLink¸¦ »ý¼ºÇÏ·Á¸é,
- [Toolbox] -> [Collaboration] -> [SelfLink ]
¹öưÀ» Ŭ¸¯Çϰí

- Main À©µµ¿ìâ¿¡¼
SelfLinkÀ» ¿¬°áÇÒ Object Ŭ¸¯ÇÕ´Ï´Ù.

SlefStimulus »ý¼º ¹æ¹ý:
SelfStimulus¸¦ »ý¼ºÇÏ·Á¸é,
- [Toolbox] -> [Collaboration] -> [ForwardStimulus/ReverseStimulus]
¹öưÀ» Ŭ¸¯Çϰí

- SelfStimulus¸¦ ¿¬°áÇϰíÀÚ ÇÏ´Â SelfLink¸¦ Ŭ¸¯ÇÕ´Ï´Ù.

- ±×¸®°í stimulus¸¦ ´õºí Ŭ¸¯Çϰí stimulusÀÇ À̸§À» Äü´ÙÀ̾ó·Î±×¿¡ ÀÔ·ÂÇϰí [Enter] ۸¦ ´©¸¨´Ï´Ù.

Stimulus
»ý¼º ¹æ¹ý:
Stimulus¸¦ »ý¼ºÇÏ·Á¸é,
- [Toolbox] -> [Collaboration] -> [ForwardStimulus/ReverseStimulus]
¹öưÀ» Ŭ¸¯Çϰí

- Stimulus¸¦ ¿¬°áÇϰíÀÚ ÇÏ´Â Link¸¦ Ŭ¸¯ÇÕ´Ï´Ù.

- ±×¸®°í stimulus¸¦ ´õºí Ŭ¸¯Çϰí stimulusÀÇ À̸§À» Äü´ÙÀ̾ó·Î±×¿¡ ÀÔ·ÂÇϰí [Enter] ۸¦ ´©¸¨´Ï´Ù.

- ±×·¯¸é ´ÙÀ½°ú °°ÀÌ stimulus°¡ »ý¼ºµË´Ï´Ù.

StimulusÀÇ ActionKind º¯°æ ¹æ¹ý:
StimulusÀÇ ActionKind ¼Ó¼º°ªÀº 4°¡Áö Á¾·ù Áß¿¡ Çϳª·Î ¼³Á¤µÇ¾î¾ß Çϸç,

ActionKindÀÇ Á¾·ù¿¡ µû¶ó¼ ´ÙÀ½°ú °°ÀÌ
´Ù¸£°Ô º¸ÀÔ´Ï´Ù. ActionKindÀÇ Á¾·ù´Â Properties¿¡¼ º¯°æÇÒ ¼ö ÀÖ½À´Ï´Ù.
| ActionKind |
Shape |
|
CALL |
 |
|
SEND |
 |
|
RETURN |
 |
|
CREATE |
 |
|
DESTROY |
 |
Frame
»ý¼º ¹æ¹ý:
FrameÀ» »ý¼ºÇÏ·Á¸é,
- [Toolbox] -> [Collaboration] -> [Frame] ¹öưÀ» Ŭ¸¯Çϰí

- Main À©µµ¿ìâ¿¡¼ FrameÀÌ À§Ä¡ÇÒ
°÷À» Ŭ¸¯ÇÕ´Ï´Ù.

- °á°ú´Â ´ÙÀ½°ú °°½À´Ï´Ù.

Diagram
´ÙÀ̾î±×·¥¿¡¼ ½ÃÄö½º ³Ñ¹ö º¸À̱â:
´ÙÀ̾î±×·¥¿¡¼ StimulusÀÇ ½ÃÄö½º ³Ñ¹ö¸¦ ³ªÅ¸³»°Å³ª °¨Ãß·Á¸é Model ExpolorerÀÇ ´ÙÀ̾î±×·¥À» ¼±ÅÃÇϰųª, Main À©µµ¿ìÀÇ
´ÙÀ̾î±×·¥À» ¼±ÅÃÇϰí ShowSequence ¼Ó¼ºÀ» true ¶Ç´Â false·Î ¼³Á¤ÇÕ´Ï´Ù.

´ÙÀ̾î±×·¥¿¡¼ ¸Þ½ÃÁöÀÇ ½Ã±×³Êó ½ºÅ¸ÀÏ º¯°æ ¹æ¹ý:
´ÙÀ̾î±×·¥¿¡¼ StimulusÀÇ signature´Â ´ÙÀ½°ú °°ÀÌ 4°¡Áö°¡ Á¸ÀçÇÕ´Ï´Ù.

stimulusÀÇ signature¸¦ º¯°æÇÏ·Á¸é
Model ExpolorerÀÇ ´ÙÀ̾î±×·¥À» ¼±ÅÃÇϰųª, Main À©µµ¿ìÀÇ ´ÙÀ̾î±×·¥À» ¼±ÅÃÇϰí Message Signature ¼Ó¼º°ªÀ»
º¯°æÇÕ´Ï´Ù.
| Style |
Description |
|
NONE |
shows only message name
|
|
NAMEONLY |
shows message name and arguement name |
|
TYPEONLY |
shows message name, arguement type, and return type |
|
NAMEANDTYPE |
shows message name, arguement name, arguement type, and return type |