ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.webcommon30
Interface MultipartConfigType<T>

All Superinterfaces:
Child<T>

public interface MultipartConfigType<T>
extends Child<T>

This interface defines the contract for the multipart-configType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 MultipartConfigType<T> fileSizeThreshold(Integer fileSizeThreshold)
          Sets the file-size-threshold element
 Integer getFileSizeThreshold()
          Returns the file-size-threshold element
 String getLocation()
          Returns the location element
 Long getMaxFileSize()
          Returns the max-file-size element
 Long getMaxRequestSize()
          Returns the max-request-size element
 MultipartConfigType<T> location(String location)
          Sets the location element
 MultipartConfigType<T> maxFileSize(Long maxFileSize)
          Sets the max-file-size element
 MultipartConfigType<T> maxRequestSize(Long maxRequestSize)
          Sets the max-request-size element
 MultipartConfigType<T> removeFileSizeThreshold()
          Removes the file-size-threshold element
 MultipartConfigType<T> removeLocation()
          Removes the location element
 MultipartConfigType<T> removeMaxFileSize()
          Removes the max-file-size element
 MultipartConfigType<T> removeMaxRequestSize()
          Removes the max-request-size element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

location

MultipartConfigType<T> location(String location)
Sets the location element

Parameters:
location - the value for the element location
Returns:
the current instance of MultipartConfigType

getLocation

String getLocation()
Returns the location element

Returns:
the node defined for the element location

removeLocation

MultipartConfigType<T> removeLocation()
Removes the location element

Returns:
the current instance of MultipartConfigType

maxFileSize

MultipartConfigType<T> maxFileSize(Long maxFileSize)
Sets the max-file-size element

Parameters:
maxFileSize - the value for the element max-file-size
Returns:
the current instance of MultipartConfigType

getMaxFileSize

Long getMaxFileSize()
Returns the max-file-size element

Returns:
the node defined for the element max-file-size

removeMaxFileSize

MultipartConfigType<T> removeMaxFileSize()
Removes the max-file-size element

Returns:
the current instance of MultipartConfigType

maxRequestSize

MultipartConfigType<T> maxRequestSize(Long maxRequestSize)
Sets the max-request-size element

Parameters:
maxRequestSize - the value for the element max-request-size
Returns:
the current instance of MultipartConfigType

getMaxRequestSize

Long getMaxRequestSize()
Returns the max-request-size element

Returns:
the node defined for the element max-request-size

removeMaxRequestSize

MultipartConfigType<T> removeMaxRequestSize()
Removes the max-request-size element

Returns:
the current instance of MultipartConfigType

fileSizeThreshold

MultipartConfigType<T> fileSizeThreshold(Integer fileSizeThreshold)
Sets the file-size-threshold element

Parameters:
fileSizeThreshold - the value for the element file-size-threshold
Returns:
the current instance of MultipartConfigType

getFileSizeThreshold

Integer getFileSizeThreshold()
Returns the file-size-threshold element

Returns:
the node defined for the element file-size-threshold

removeFileSizeThreshold

MultipartConfigType<T> removeFileSizeThreshold()
Removes the file-size-threshold element

Returns:
the current instance of MultipartConfigType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.