How to include Borland __property in class diagram.

Discussions about UML in general.

How to include Borland __property in class diagram.

Postby Lou » Fri Dec 26, 2003 8:39 pm

Hello,

Except for Java I also use Poseidon 1.6 to model applications written in Borland C++ builder 5. However, I cannot find any information on using Borland's '__property' in a class diagram.

Can anybody give me the correct UML notation for the following class in a class diagram (a Poseidon 1.6 project file would be great):

class Dummy : public TObject
{
private:
int fData;
public:
Dummy (void) : fData (0) {};
__fastcall ~Dummy (void) {}; // Ignore __fastcall

__property int Data = {read=fData, write=FData};
};

My current guess is that Data should be written down as if it were a public data member of Dummy. Links towards examples or additional info are also welcome.

Thanks in advance.
Tom Artoos
Lou
 
Posts: 1
Joined: Fri Dec 26, 2003 8:27 pm
Location: Belgium

Re: How to include Borland __property in class diagram.

Postby [gw] Jesco von Voss » Wed Mar 10, 2004 4:06 pm

Currently, the best way to specify a property is indeed a public attribute. Some tools have extended the UML notation to include a third, a "property" compartment in classes; in UML 2, the concept of properties has been added. We expect to follow that standard and not introduce an individual notation.

JvV
Jesco von Voss
[gw] Jesco von Voss
 
Posts: 273
Joined: Sat Jan 18, 2003 10:08 am
Location: Hamburg

Re: How to include Borland __property in class diagram.

Postby Guest » Sat Mar 27, 2004 11:48 am

Thanks for the reply, I will keep modelling them as public attributes of my classes.
Guest
 

Postby markjay50 » Tue Jul 13, 2010 9:19 am

thanks for reply i will distribute for a prisedent of my class.


japanese katakana
markjay50
 
Posts: 4
Joined: Tue Jul 13, 2010 9:00 am

Postby jorosh29 » Fri Jul 23, 2010 3:32 am

Thanks for distributing your opinion,i will keep it and try to disuss it on our class.
thank you so much...

make money online easily
jorosh29
 
Posts: 1
Joined: Fri Jul 23, 2010 3:28 am

Postby markjay50 » Sat Jul 31, 2010 4:42 am

Can anybody give me the correct UML notation for the following class in a class diagram (a Poseidon 1.6 project file would be great): thanks in advance...!!!!








make money online
markjay50
 
Posts: 4
Joined: Tue Jul 13, 2010 9:00 am


Return to UML

Who is online

Users browsing this forum: No registered users and 1 guest

cron