[Uml-devel] Diagram sequence funct calls another funtc
    Isma Garcia Fernández 
    kandhalt at hotmail.com
       
    Tue Aug 17 14:22:02 UTC 2004
    
    
  
How would you show this using
Umbrello.
Eg (in java):
class myClass
{
   public static void main(String args[])
   {
      int x;
      x = funct1(x);
   }
   public int funct1(int x)
   {
      x++;
   }
}
main calls funct1, so the diagram should show:
An instance of the class myClass, then the function main running.  Then
main calling the function funct1.
Something like this:
--------------------
|  mc : myClass |
--------------------
          |   1.1: main(args[] : string) : void
          |---------
          |           |---------
          |           |          |  1.2: funct1(x : int) : int
          |           |          |
          |           |<-------
          |<-------
          |
          |
I am able to do the first function call to main().  But what about the call 
to
funct1(int x)?
Regards,
Kan
_________________________________________________________________
Reparaciones, servicios a domicilio, empresas, profesionales... Todo en la 
guía telefónica de QDQ. http://qdq.msn.es/msn.cfm
    
    
More information about the umbrello-devel
mailing list