org.jboss.weld.metadata.cache
Class MergedStereotypes<T,E>

java.lang.Object
  extended by org.jboss.weld.metadata.cache.MergedStereotypes<T,E>

public class MergedStereotypes<T,E>
extends Object

Meta model for the merged stereotype for a bean

Author:
Pete Muir

Constructor Summary
MergedStereotypes(Set<Annotation> stereotypeAnnotations, BeanManagerImpl manager)
          Constructor
 
Method Summary
 Set<Annotation> getPossibleScopes()
          Returns the possible scope types
 Set<Class<? extends Annotation>> getStereotypes()
           
 boolean isAlternative()
           
 boolean isBeanNameDefaulted()
          Indicates if the name i defaulted
protected  void merge(Set<Annotation> stereotypeAnnotations)
          Perform the merge
 String toString()
          Gets a string representation of the merged stereotypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MergedStereotypes

public MergedStereotypes(Set<Annotation> stereotypeAnnotations,
                         BeanManagerImpl manager)
Constructor

Parameters:
stereotypeAnnotations - The stereotypes to merge
Method Detail

merge

protected void merge(Set<Annotation> stereotypeAnnotations)
Perform the merge

Parameters:
stereotypeAnnotations - The stereotype annotations

isAlternative

public boolean isAlternative()

getPossibleScopes

public Set<Annotation> getPossibleScopes()
Returns the possible scope types

Returns:
The scope types

isBeanNameDefaulted

public boolean isBeanNameDefaulted()
Indicates if the name i defaulted

Returns:
True if defaulted, false if not

getStereotypes

public Set<Class<? extends Annotation>> getStereotypes()
Returns:
the stereotypes

toString

public String toString()
Gets a string representation of the merged stereotypes

Overrides:
toString in class Object
Returns:
The string representation


Copyright © 2013 Seam Framework. All Rights Reserved.