Anda di halaman 1dari 18

c

c

c
c


c
 c  c  c
c
c
c
c
c
c
c c
c

c cccc c c


c c cccc !c"#c $c
c c cccc%##&cc $c
c c cccc'!c c $c
c c cccc(&)*c c $c
c c c cccc*c#c +c
,#cc cc-.#c "./0c
10*cc cc-,2c
c
c
c
c
c
c
1  c-
c-,c
1 - c c   ( c
3c
c
Y 4 "  Y 


 c
  Y
Y   
 Y
             
                     
           Y
         
              Y
     
             
                 
               Y
   class
  operation                      
                   !"" #   !$  
%&'(  )      Y
            
     %&  !

*    +        Y
        
syntax,  '  Y
                
             *        
     Y
 syntax          +    
    ' Y
       -    
     . /  & 00 0+0    # 1  
0  0    2    3  #   00*( 0+0 
* (   
*  Y
     *     4556 
                     
          .         
00*(   0    +   +789
                 method war   
          +         
 +                     
       ,               
  










      0455:&1   #   
                      
                   
;    455<     Y
 6=*   4558
     0  /  0/>
.,,     455? Y
  44          
       4<         @66- & 1    
#                 Y
       4555 7?9 7=9 759
*       Y
                 
   
Y
     +    .
4c    
@c    
-c     
:c   
<c 2    
8c      
?c     
=c    
 c   "Y
 c  





/  @4' A

A               A
                        
  *                   
                      
                 * 
                     
   

 c Y  


/  @@' Y! 

Y                       
          )            
                        
           
þc Y+ B             
A          
þc Y+  A                 Y
                C 
      D     

Y                     
             C   
  D      E                
                      E   C 
                           
               

 c " 




/  @-' ! 

!                  
                      
     !               ! 
          +        
  !                    
          
'       -  .   
                    
           A         
   '                     
                0     
             

 c  4


/  @:' 3  

3                       
 3              
0                     
         3                 
          

 c   


/  @<' 3   

3                    
               &         
                
          

4 c  


/  @8' '

'                 
                    '    
         

 c    


/  @?'   

                       
                    (      
                          
       
  @        C 3  
                           
                       
(C                           
          

 c   


/  @=' A  

A                  
                       
                            
'                     
&                  
           *   Y     
                         
                 
A              +              
      1   B  



 c  "  



/  @5' /  D  

/  D                   
           D        
                       
                   
  D            

 c "  



/  @46' 1 D  
c
1 D                      
                           
                      
        

! c Y
 c Y  
Yse case diagram                
   F        G  H          
G  H *  use case             
 Yse case             
 +create          * ,  
                       
    +   
Yse case diagram                  
requirement                 
  test case   feature      
* use case    +include    use case    
       *         use case  
+include         use case    +include  
    * use case   +include    use case   
                       
    common
* use case     +extend use case    behaviour+
  *           use case      
use case             



/  -4!  use case diagram


 c " 
Xlass                 
                        
  Xlass        ,  
                    
 , 
Xlass diagram       class, package  
               containment     
   +  
Xlass    .
þc '    
þc A 
þc  

A           .
þc (rivate      class     
þc (rotected     class       + 
    
þc (ublic       




Xlass          interface  class   
      Interface                  
             class.     interface    
     run-time

*   class class      packageB 
         package











E  A  Xlass:
þc A            class Y        class  
    class     class        class   
; navigability      query  class
þc A              G  H
þc ;         classXlass       class    
        class              
         class       B          
   
þc E              message   +passing      class
  class   E           sequence
diagram        


/  -@! class diagram

 c 
Ôtatechart diagram               
     state  state                  
stimuli     ;      statechart diagram    class
     class      statechartdiagram
   Y
 state               
                      state
    guard            
          Action        
  event                    
               

/  --! statechart diagram

 c 5
Activity diagrams             
            +       decision  
              Activity diagram     
                      
Activity diagram    state diagram          state
   action          +trigger      state
    internal processing 0      activity diagram  
               
       +   +    
       
*               use case   
A                use case
                 
 *  state  Y
       
           Decision     
          Y      +
   fork  join          
 D       Activity diagram           
object swimlane                
     




/  -:! activity diagram   swimlane

 c   
Ôequence diagram           
     display      message  
          Ôequence diagram       
       D   +     Ôequence diagram
                  +  
              event       output
             +trigger       
              output     
  +         lifeline  
Message                     
;        message       ,  
class Activation bar                 
            Y   +   
        Y
     icon       boundary,
controller  persistent entity



/  -<! sequence diagram

4 c  ""  
Xollaboration diagram         
sequence diagram         +   
              message *  message  sequence
number    message        4    
      



 c    
Xomponent diagram              
             dependency     
B             code    source code
   binary code   library    executable          
compile time, link time  run time
Y               class  ,   package
       +   B     
   interface                    
     
























/  -?! component diagram

 c  "  


Deployment/physical diagram             +
deploy                   
                      
        +           *  node
    workstation                  +
deploy         E    node    
!;,3; requirement          


/  -=! Deployment Diagram