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 IStereoTypeModel
public void setName(String name)
setName
in interface IStereoTypeModel
name
- the name to setpublic Annotation getDefaultDeploymentType()
getDefaultDeploymentType
in interface IStereoTypeModel
public Annotation getDefaultScopeType()
getDefaultScopeType
in interface IStereoTypeModel
public Set<Annotation> getInterceptorBindingTypes()
getInterceptorBindingTypes
in interface IStereoTypeModel
public Set<Annotation> getInheritedStereoTypes()
getInheritedStereoTypes
in interface IStereoTypeModel
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.