
public interface AnnotationType<T> extends Child<T>
annotationType xsd type| Modifier 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-nameAnnotationTypeString getClassName()
class-name elementclass-nameAnnotationType<T> removeClassName()
class-name elementAnnotationTypeServletSecurityType<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 elementAnnotationTypeRunAsType<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 elementAnnotationTypeMultipartConfigType<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 elementAnnotationTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.