|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationType<T>
This interface defines the contract for the annotationType
xsd type
Method Summary | |
---|---|
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
AnnotationType<T> className(String className)
class-name
element
className
- the value for the element class-name
AnnotationType
String getClassName()
class-name
element
class-name
AnnotationType<T> removeClassName()
class-name
element
AnnotationType
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
element
AnnotationType
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
element
AnnotationType
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
element
AnnotationType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |