More UML Problems.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jeff Louie

    More UML Problems.

    Hello....

    I continue to run into problems trying to represent basic C# concepts in
    UML. Besides no standard notation for C#s Property, I see no standard
    way to represent a Structure, differentiate between overridden and new.
    I
    have tried this for a Property.

    ............... ............... ............... .............
    | MyClass |
    ............... ............... ............... .............
    | <<get>><<set>>M yProperty : int |
    ............... ............... ............... .............
    | |
    ............... ............... ............... .............

    Any thoughts?

    Regards,
    Jeff

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
  • Randy A. Ynchausti

    #2
    Re: More UML Problems.

    Jeff,
    [color=blue]
    > I continue to run into problems trying to represent basic C# concepts in
    > UML. Besides no standard notation for C#s Property, I see no standard
    > way to represent a Structure, differentiate between overridden and new.
    > I
    > have tried this for a Property.
    >
    > ............... ............... ............... ............
    > | MyClass |
    > ............... ............... ............... ............
    > | <<get>><<set>>M yProperty : int |
    > ............... ............... ............... ............
    > | |
    > ............... ............... ............... ............
    >
    > Any thoughts?[/color]

    Good question Jeff. This may be one of those personal choice questions. To
    me, it all depends on the level of detail that one needs to express on the
    UML diagram. For example, at one level of detail one may just want to
    express:

    ............... ............... ............... .............
    | MyClass |
    ............... ............... ............... .............

    On another diagram, a different level of detail may be appropriate:

    ............... ............... ............... .............
    | MyClass |
    ............... ............... ............... ............
    | MyProperty : int |
    ............... ............... ............... ............
    | |
    ............... ............... ............... ............

    And still another diagram my need to know about the "Property-ness", such
    as:

    ............... ............... ............... .............
    | MyClass |
    ............... ............... ............... ............
    | <<Property>> MyProperty : int |
    ............... ............... ............... ............
    | |
    ............... ............... ............... ............

    And still another may need to show the implementation of the property
    methods:

    ............... ............... ............... ............... ..........
    | MyClass |
    ............... ............... ............... ............... ........
    | MyProperty : int |
    ............... ............... ............... ............... .........
    | <<MyProperty> > get( ) : int |
    | <<MyProperty> > set( value : int ) : void |
    ............... ............... ............... ............... ...........

    I guess there are a gazillion ways to express the level of detail that one
    might need on a UML diagram for some stated purpose.

    Not knowing who will be reading the diagrams and what they should learn from
    those diagrams, it's difficult to know or recommend which encantation to
    use.

    Good luck on your endeavors!

    Regards,

    Randy


    Comment

    • Jeff Louie

      #3
      Re: More UML Problems.

      Randy... Thanks for the sample UML! I will use it.

      Regards,
      Jeff[color=blue]
      >Not knowing who will be reading the diagrams and what they should learn[/color]
      from those diagrams, it's difficult to know or recommend which
      encantation to use.<

      *** Sent via Developersdex http://www.developersdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      Working...