public interface AnnotationType<T> extends Child<T>
annotationType
xsd typeModifier and Type | Method and Description |
---|---|
AnnotationType<T> |
className(String className)
Sets the
class-name element |
String |
getClassName()
Returns the
class-name element |
MultipartConfigType<AnnotationType<T>> |
getOrCreateMultipartConfig()
If not already created, a new
multipart-config element with the given value will be created. |
RunAsType<AnnotationType<T>> |
getOrCreateRunAs()
If not already created, a new
run-as element with the given value will be created. |
ServletSecurityType<AnnotationType<T>> |
getOrCreateServletSecurity()
If not already created, a new
servlet-security element with the given value will be created. |
AnnotationType<T> |
removeClassName()
Removes the
class-name element |
AnnotationType<T> |
removeMultipartConfig()
Removes the
multipart-config element |
AnnotationType<T> |
removeRunAs()
Removes the
run-as element |
AnnotationType<T> |
removeServletSecurity()
Removes the
servlet-security element |
AnnotationType<T> className(String className)
class-name
elementclassName
- the value for the element class-name
AnnotationType
String getClassName()
class-name
elementclass-name
AnnotationType<T> removeClassName()
class-name
elementAnnotationType
ServletSecurityType<AnnotationType<T>> getOrCreateServletSecurity()
servlet-security
element with the given value will be created.
Otherwise, the existing servlet-security
element will be returned.ServletSecurityType>
AnnotationType<T> removeServletSecurity()
servlet-security
elementAnnotationType
RunAsType<AnnotationType<T>> getOrCreateRunAs()
run-as
element with the given value will be created.
Otherwise, the existing run-as
element will be returned.RunAsType>
AnnotationType<T> removeRunAs()
run-as
elementAnnotationType
MultipartConfigType<AnnotationType<T>> getOrCreateMultipartConfig()
multipart-config
element with the given value will be created.
Otherwise, the existing multipart-config
element will be returned.MultipartConfigType>
AnnotationType<T> removeMultipartConfig()
multipart-config
elementAnnotationType
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.