org.apache.webbeans.deployment
Class XMLStereoTypeModel

java.lang.Object
  extended by org.apache.webbeans.deployment.XMLStereoTypeModel
All Implemented Interfaces:
IStereoTypeModel

public class XMLStereoTypeModel
extends Object
implements IStereoTypeModel


Constructor Summary
XMLStereoTypeModel(Element stereoTypeDecleration, String name, String errorMessage)
           
 
Method Summary
 boolean equals(Object obj)
           
 Annotation getDefaultDeploymentType()
          Gets default deployment type.
 Annotation getDefaultNamed()
           
 Annotation getDefaultScopeType()
          Sets default deployment type.
 Set<Annotation> getInheritedStereoTypes()
          Returns a set of inherited stereotypes.
 Set<Annotation> getInterceptorBindingTypes()
          Returns set of interceptor binding that are definen by the stereotype.
 String getName()
          Returns name of the stereotype.
 Set<Class<?>> getRestrictedTypes()
           
 Set<Class<? extends Annotation>> getSupportedScopes()
           
 int hashCode()
           
 void setName(String name)
          Sets name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLStereoTypeModel

public XMLStereoTypeModel(Element stereoTypeDecleration,
                          String name,
                          String errorMessage)
Method Detail

getDefaultDeploymentType

public Annotation getDefaultDeploymentType()
Description copied from interface: IStereoTypeModel
Gets default deployment type.

Specified by:
getDefaultDeploymentType in interface IStereoTypeModel
Returns:
the defaultDeploymentType

getDefaultScopeType

public Annotation getDefaultScopeType()
Description copied from interface: IStereoTypeModel
Sets default deployment type.

Specified by:
getDefaultScopeType in interface IStereoTypeModel
Returns:
the defaultScopeType

getInterceptorBindingTypes

public Set<Annotation> getInterceptorBindingTypes()
Description copied from interface: IStereoTypeModel
Returns set of interceptor binding that are definen by the stereotype.

Specified by:
getInterceptorBindingTypes in interface IStereoTypeModel
Returns:
set of interceptor bindings.

getInheritedStereoTypes

public Set<Annotation> getInheritedStereoTypes()
Description copied from interface: IStereoTypeModel
Returns a set of inherited stereotypes.

Specified by:
getInheritedStereoTypes in interface IStereoTypeModel
Returns:
set of inherited stereotypes.

getDefaultNamed

public Annotation getDefaultNamed()

getName

public String getName()
Description copied from interface: IStereoTypeModel
Returns name of the stereotype. As default, its class name.

Specified by:
getName in interface IStereoTypeModel
Returns:
the name

getRestrictedTypes

public Set<Class<?>> getRestrictedTypes()

getSupportedScopes

public Set<Class<? extends Annotation>> getSupportedScopes()

setName

public void setName(String name)
Description copied from interface: IStereoTypeModel
Sets name.

Specified by:
setName in interface IStereoTypeModel
Parameters:
name - the name to set

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.