All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.shrinkwrap.descriptor.api.webcommon30.MultipartConfigType Maven / Gradle / Ivy

package org.jboss.shrinkwrap.descriptor.api.webcommon30; 

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.webcommon.*;
import org.jboss.shrinkwrap.descriptor.api.javaee.*;
import org.jboss.shrinkwrap.descriptor.api.jsp.*;
/**
 * This interface defines the contract for the  multipart-configType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 * @author George Gastaldi
 */
public interface MultipartConfigType extends Child, 
    JavaeeMultipartConfigCommonType> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MultipartConfigType ElementName: xsd:token ElementType : location
   // MaxOccurs: -1  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the location element
    * @param location the value for the element location 
    * @return the current instance of MultipartConfigType 
    */
   public MultipartConfigType location(String location);

   /**
    * Returns the location element
    * @return the node defined for the element location 
    */
   public String getLocation();

   /**
    * Removes the location element 
    * @return the current instance of MultipartConfigType 
    */
   public MultipartConfigType removeLocation();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MultipartConfigType ElementName: xsd:long ElementType : max-file-size
   // MaxOccurs: -1  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the max-file-size element
    * @param maxFileSize the value for the element max-file-size 
    * @return the current instance of MultipartConfigType 
    */
   public MultipartConfigType maxFileSize(Long maxFileSize);

   /**
    * Returns the max-file-size element
    * @return the node defined for the element max-file-size 
    */
   public Long getMaxFileSize();

   /**
    * Removes the max-file-size element 
    * @return the current instance of MultipartConfigType 
    */
   public MultipartConfigType removeMaxFileSize();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MultipartConfigType ElementName: xsd:long ElementType : max-request-size
   // MaxOccurs: -1  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the max-request-size element
    * @param maxRequestSize the value for the element max-request-size 
    * @return the current instance of MultipartConfigType 
    */
   public MultipartConfigType maxRequestSize(Long maxRequestSize);

   /**
    * Returns the max-request-size element
    * @return the node defined for the element max-request-size 
    */
   public Long getMaxRequestSize();

   /**
    * Removes the max-request-size element 
    * @return the current instance of MultipartConfigType 
    */
   public MultipartConfigType removeMaxRequestSize();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MultipartConfigType ElementName: xsd:integer ElementType : file-size-threshold
   // MaxOccurs: -1  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the file-size-threshold element
    * @param fileSizeThreshold the value for the element file-size-threshold 
    * @return the current instance of MultipartConfigType 
    */
   public MultipartConfigType fileSizeThreshold(Integer fileSizeThreshold);

   /**
    * Returns the file-size-threshold element
    * @return the node defined for the element file-size-threshold 
    */
   public Integer getFileSizeThreshold();

   /**
    * Removes the file-size-threshold element 
    * @return the current instance of MultipartConfigType 
    */
   public MultipartConfigType removeFileSizeThreshold();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy