473,394 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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>>MyProperty : int |
.................................................. ........
| |
.................................................. ........

Any thoughts?

Regards,
Jeff

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #1
2 996
Jeff,
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>>MyProperty : int |
.................................................. .......
| |
.................................................. .......

Any thoughts?


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
Nov 15 '05 #2
Randy... Thanks for the sample UML! I will use it.

Regards,
Jeff
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.<

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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

303
by: mike420 | last post by:
In the context of LATEX, some Pythonista asked what the big successes of Lisp were. I think there were at least three *big* successes. a. orbitz.com web site uses Lisp for algorithms, etc. b....
4
by: Shufen | last post by:
Hi, I'm a newbie that just started to learn python, html and etc. I have some questions to ask and hope that someone can help me on. I'm trying to code a python script (with HTML) to get...
22
by: bearophile | last post by:
Ville Vainio: >It's highly typical for the newbies to suggest improvements to the >language. They will usually learn that they are wrong, but the >discussion that ensues can be fruitfull anyway...
6
by: sudeep | last post by:
Implementation of BigInt Problem Statement The int basic data type provided by the C/C++ language to represent integers has the following limitations, viz., the size of the data type is machine...
2
by: Eric Newton | last post by:
VB's more declarative nature of handling events is golden. I'm hoping C# will acquire this type of deal, in addition to the anonymous delegates. could do same as vb (actually would be easier to...
14
by: multiformity | last post by:
So I have been working on an opensource project for a while, and decided to really try to make it look better after focusing on the functionality most of this time. Up to now, I have simply used a...
16
by: Ben Finney | last post by:
Howdy all, On dirtSimple.org, PJE wrote: "Why is Python "blessed" with so much reinvention? Because it's often cheaper to rewrite than to reuse. Python code is easy to write, but hard to...
4
by: Gellert, Andre | last post by:
Hello, we installed a new Postgres 7.4.0 on a Suse 9 system. This is used as a part of an extranet , based on Apache+PHP and has besides a ldap server no services running. The system has dual...
151
by: istillshine | last post by:
There are many languages around: C++, JAVA, PASCAL, and so on. I tried to learn C++ and JAVA, but ended up criticizing them. Is it because C was my first programming language? I like C...
7
by: Petr Vileta \(fidokomik\) | last post by:
I have a form with few text inputs. Every text input is followed by image type input. In this form I want to have 1 submit button on the top. A problem I want to resolve is: when user type...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.