Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design with UML and some issues
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00592052
Message ID:
00592276
Vues:
20
>i see, but how mark this in Visual UML?
That, I am not sure :(

I think you need to check the "static" checkbox of the property. However, VUML will not underline the property, instead it will prefix the property with a "$" sign.

Keep in mind that I am not sure whether VUML just uses a different representation (prefix with "$" instead of underlining) or I have a misconception here. You may want to sent the VUML guys an e-mail about this.


>
>Best Regards
>
>
>>>Thanks man, i have a last question, why a property is underline?
>>The underline means that the property is scoped to the class (not to the instance of the class.) In other words, all instances of the class will share the value of this property.
>>
>>This type of property is not very common. If the framework that you are using was written in C++, the underline means that this attribute is a "C++ static attribute"
>>
>>
>>
>>
>>
>>>
>>>>>i work in a framework for workflow, this framework is based in a UML specification, but in some cases i see duplicate lines like :
>>>>>
>>>>>+executeProcessWith:(a:Context):Context
>>>>>+executeProcessWith:for:(a:Context,s:String):Context
>>>>>
>>>>>they are 2 methods in a class called WorkflowFacade
>>>>>
>>>>>how define this in Visual Fox? whats mean?
>>>>>
>>>>>
>>>>>Best Regards
>>>>>
>>>>>Francisco Morosini
>>>>Unlike VFP, in some (strong typed) languages, you need to create separate methods to receive different type of parameters.
>>>>
>>>>In this case, I guess it means that one method receives a single parameter of type "Context" while the other method receives 2 parameters (one of type "Context" and the other of type "String")
>>>>
>>>>In VFP you could probably create a single method and accept two parameters. Inside the method you will need to validate whether you received one or two parameters.
Hector Correa
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform