Class StereotypeModel<T extends Annotation>


  • public class StereotypeModel<T extends Annotation>
    extends AnnotationModel<T>
    A meta model for a stereotype, allows us to cache a stereotype and to validate it
    Author:
    Pete Muir
    • Constructor Detail

      • StereotypeModel

        public StereotypeModel​(EnhancedAnnotation<T> enhancedAnnotatedAnnotation)
        Constructor
    • Method Detail

      • getDefaultScopeType

        public Annotation getDefaultScopeType()
        Get the default scope type the stereotype specifies
        Returns:
        The default scope type, or null if none is specified
      • getInterceptorBindings

        public Set<Annotation> getInterceptorBindings()
        Get any interceptor bindings the the stereotype specifies
        Returns:
        The interceptor bindings, or an empty set if none are specified.
      • isBeanNameDefaulted

        public boolean isBeanNameDefaulted()
        Indicates if the bean name is defaulted
        Returns:
        True if defaulted, false otherwise
      • isAlternative

        public boolean isAlternative()
        Returns:
      • getInheritedStereotypes

        public Set<Annotation> getInheritedStereotypes()
      • getMetaAnnotations

        public Set<Annotation> getMetaAnnotations()
        Returns:
        the metaAnnotations