DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Manish Agarwal Guest

    Global function and UML diagram


    How we can show global function in UML diagrams?



  2. #2
    Roger Guest

    Re: Global function and UML diagram


    "Manish Agarwal" <mkag@rediffmail.com> wrote:
    >
    >How we can show global function in UML diagrams?
    >
    >


    It must be an method of an object or a class

  3. #3
    Aurene Guest

    Re: Global function and UML diagram


    "Manish Agarwal" <mkag@rediffmail.com> wrote:
    >
    >How we can show global function in UML diagrams?
    >
    >

    Manish,

    Make an abstract class say GObject and stuff these public gfunctions there


    GoodLuck


    Aurene

  4. #4
    Sudhir Guest

    Re: Global function and UML diagram


    "Manish Agarwal" <mkag@rediffmail.com> wrote:
    >
    >How we can show global function in UML diagrams?
    >
    >


    UML is used to denote Object oriented design. SO there can be no gobal functions.
    In case you still need a global function, you need to put the global function
    as a method to a class that has no members, make an object of this class
    as global/Static and then use this. This global object can be represented
    in your diagram.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links