Skip to main content

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

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


Back to the top