🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.together.documentation
2 messages
2 total messages Started by eliezerb Tue, 22 Nov 2005 18:59
Documenting .net class properties (getter/setter)
#12
Author: eliezerb
Date: Tue, 22 Nov 2005 18:59
12 lines
1474 bytes
Hi,

Apart from the fact that there is an issue with class properties (not
the Together properties, but the actual properties in the code), where
they are partially properties and partially attributes, I could not
find any way to display the Boolean settings of the getter and setter
for a property.

Can someone assist me?

Thanks,
Eliezer
Re: Documenting .net class properties (getter/setter)
#13
Author: LR
Date: Wed, 23 Nov 2005 11:50
53 lines
2597 bytes
Hi,

You may ask them directly at Borland at:
http://newsgroups.borland.com/cgi-bin/dnewsweb?cmd=xover&group=borland.public.together.documentation

Hope, they will provide you some information.

However, if you use Together CC 6.x or Architect 1.x, I can say the
following.

That problem may be a bit compicated.

I'm not sure about .NET, but if you look at "properies" of a Java class
on a class diagram, each property XXX is actually a diagram shortcut to
two private methods simultaneously: getXXX() and setXXX().

To get access to those methods, you need to implement something like
this:

  RwiNode rwiNode = ...;  // the XXX property node of a diagram

  for (Enumeration e = rwiNode.codeElements(); e.hasMoreElements();)
  {
    Object codeElement = e.nextElement();
    if (codeElement == null)
      break;

    // this will be one of the getXXX() and setXXX() methods

    RwiElement rwiElement =
      RwiModelAccess.getModel().findNode(codeElement);
  }


Regards,

Leonid Rudy
http://www.docflex.com


eliezerb wrote:
> Hi,
>
> Apart from the fact that there is an issue with class properties (not
> the Together properties, but the actual properties in the code), where
> they are partially properties and partially attributes, I could not
> find any way to display the Boolean settings of the getter and setter
> for a property.
> 
> Can someone assist me?
> 
> Thanks,
> Eliezer
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads