Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tigerstripe-users] Bug in the methods of interface ISterotypeCapable hasStereotypeInstance and getStereotypeInstanceByName

Are you saying that when you decorate a package with a stereotype and you query the stereotypes of artifacts contained in the package, Tigerstripe incorrectly returns you the stereotype of the package?

Not sure if I completely followed you.  You seem to be using the correct APIs.

- Navid 

On Thu, Jan 19, 2012 at 3:32 AM, Xose Ramon Sousa Vazquez <xrsousa@xxxxxxxxxxxxxxxxxxx> wrote:
I am developing  a tigerstripe project that defines a package and an artifact inside. The package, by example xxx.yyy.zzz has a stereotype proxy definition inside. I am using the Tigerstripe API to get the stereotype info included in the package. To perform a validation in my logic I am looking for another sterotype definition in the packages that contains the artifact (xxx.yyy and xxx) and then the package container also give us an stereotype when doesn't exist.

xxx.yyy.zzz (with stereotype)
|_______>artifact

We have checked with this two methods:
    method hasStereotypeInstance from the interface IStereotypeCapable
    method getStereotypeInstanceByName from the interface IStereotypeCapable


When we evaluate the artifact xxx.yyy.zzz they give us the proxy stereotype (That is the expected behaivor)
When we evaluate the artifact xxx.yyy they give us the proxy stereotype from the package xxx.yyy.zzz (That is the worng behaivor)

Tigerstripe version
  Tigerstripe Annotation Framework (Incubation)    0.6.935.201102010903    org.eclipse.tigerstripe.annotation.feature.feature.group
  Tigerstripe Core (Incubation)    0.6.935.201102010903    org.eclipse.tigerstripe.base.feature.group

Is there other way to read the stereotype information?

Best regards
--

Xose Ramon Sousa Vazquez | Director OSS Technologies, Director I+D
T/ + 34 986 410 091 (ext) 206 | M/ +34 675 550 029
www.optaresolutions.com

Optare Solutions


_______________________________________________
tigerstripe-users mailing list
tigerstripe-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tigerstripe-users



Back to the top