Just do this:

ParameterFacade.hasStereotype("stereotype name")



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 8:51 AM
To: [email protected]
Subject: [Andromda-devel] Finding out the stereotype of the type of a method
parameter

Hi,

I need to find out which stereotypes the type of a method parameter has.

E.g.:

class PersonCriteria is stereotyped as <<SearchCriteria>> in the model

Now I have a method "findByCriteria(PersonCriteria criteria)" on a Spring
entity. Inside the metafacade for the Spring entity, I want to find out that
the class PersonCriteria is stereotyped with <<SearchCriteria>>. 

But how? I tried to iterate all arguments, get their types and list their
stereotypes, but to no avail.

- Peter


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to