Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Check if given Stereotype can be applied
Check if given Stereotype can be applied [message #1313346] Thu, 24 April 2014 21:05 Go to next message
Grzegorz Fitrzyk is currently offline Grzegorz FitrzykFriend
Messages: 3
Registered: April 2014
Junior Member
Hi,
How can I check if given stereotype can be applied to class, interface etc? Is there any method for that?
Re: Check if given Stereotype can be applied [message #1313552 is a reply to message #1313346] Thu, 24 April 2014 23:35 Go to previous messageGo to next message
Christian W. Damus is currently offline Christian W. DamusFriend
Messages: 1006
Registered: July 2009
Senior Member
Element::isStereotypeApplication(Stereotype)

HTH,

Christian


On 2014-04-24 21:05:43 +0000, Grzegorz Fitrzyk said:

> Hi,
> How can I check if given stereotype can be applied to class, interface
> etc? Is there any method for that?
Re: Check if given Stereotype can be applied [message #1313553 is a reply to message #1313552] Thu, 24 April 2014 23:36 Go to previous messageGo to next message
Christian W. Damus is currently offline Christian W. DamusFriend
Messages: 1006
Registered: July 2009
Senior Member
Sorry,

That should be

Element::isStereotypeApplicable(Stereotype)

(typing too fast)

Christian


On 2014-04-24 23:35:50 +0000, Christian W. Damus said:

> Element::isStereotypeApplication(Stereotype)
>
> HTH,
>
> Christian
>
>
> On 2014-04-24 21:05:43 +0000, Grzegorz Fitrzyk said:
>
>> Hi,
>> How can I check if given stereotype can be applied to class, interface
>> etc? Is there any method for that?
Re: Check if given Stereotype can be applied [message #1313586 is a reply to message #1313553] Fri, 25 April 2014 00:02 Go to previous message
Grzegorz Fitrzyk is currently offline Grzegorz FitrzykFriend
Messages: 3
Registered: April 2014
Junior Member
Thanks, a lot. Smile
Previous Topic:load Standard L2 Profile programmatically
Next Topic:LiteralUnlimitedNatural why int
Goto Forum:
  


Current Time: Thu Sep 03 02:49:33 GMT 2015

Powered by FUDForum. Page generated in 0.01891 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software