org.jboss.shrinkwrap.descriptor.api.jbossweb60
Interface AnnotationType<T>

All Superinterfaces:
Child<T>

public interface AnnotationType<T>
extends Child<T>

This interface defines the contract for the annotationType xsd type

Since:
Generation date :2013-01-26T19:27:01.083+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

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

className

AnnotationType<T> className(String className)
Sets the class-name element

Parameters:
className - the value for the element class-name
Returns:
the current instance of AnnotationType

getClassName

String getClassName()
Returns the class-name element

Returns:
the node defined for the element class-name

removeClassName

AnnotationType<T> removeClassName()
Removes the class-name element

Returns:
the current instance of AnnotationType

getOrCreateServletSecurity

ServletSecurityType<AnnotationType<T>> getOrCreateServletSecurity()
If not already created, a new servlet-security element with the given value will be created. Otherwise, the existing servlet-security element will be returned.

Returns:
a new or existing instance of ServletSecurityType>

removeServletSecurity

AnnotationType<T> removeServletSecurity()
Removes the servlet-security element

Returns:
the current instance of AnnotationType

getOrCreateRunAs

RunAsType<AnnotationType<T>> getOrCreateRunAs()
If not already created, a new run-as element with the given value will be created. Otherwise, the existing run-as element will be returned.

Returns:
a new or existing instance of RunAsType>

removeRunAs

AnnotationType<T> removeRunAs()
Removes the run-as element

Returns:
the current instance of AnnotationType

getOrCreateMultipartConfig

MultipartConfigType<AnnotationType<T>> getOrCreateMultipartConfig()
If not already created, a new multipart-config element with the given value will be created. Otherwise, the existing multipart-config element will be returned.

Returns:
a new or existing instance of MultipartConfigType>

removeMultipartConfig

AnnotationType<T> removeMultipartConfig()
Removes the multipart-config element

Returns:
the current instance of AnnotationType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.