public class StereoTypeModel extends Object implements IStereoTypeModel
IStereoTypeModel contract.| Constructor and Description |
|---|
StereoTypeModel(WebBeansContext webBeansContext,
Class<? extends Annotation> clazz)
Creates a new instance of the stereotype model for
given class.
|
StereoTypeModel(WebBeansContext webBeansContext,
Class<? extends Annotation> clazz,
Annotation[] annotationDefs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Annotation |
getDefaultDeploymentType()
Gets default deployment type.
|
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.
|
int |
hashCode() |
void |
setName(String name)
Sets name.
|
public StereoTypeModel(WebBeansContext webBeansContext, Class<? extends Annotation> clazz)
webBeansContext - clazz - stereotype typepublic StereoTypeModel(WebBeansContext webBeansContext, Class<? extends Annotation> clazz, Annotation[] annotationDefs)
public String getName()
getName in interface IStereoTypeModelpublic void setName(String name)
setName in interface IStereoTypeModelname - the name to setpublic Annotation getDefaultDeploymentType()
getDefaultDeploymentType in interface IStereoTypeModelpublic Annotation getDefaultScopeType()
getDefaultScopeType in interface IStereoTypeModelpublic Set<Annotation> getInterceptorBindingTypes()
getInterceptorBindingTypes in interface IStereoTypeModelpublic Set<Annotation> getInheritedStereoTypes()
getInheritedStereoTypes in interface IStereoTypeModelCopyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.