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

org.jboss.shrinkwrap.descriptor.api.webcommon30.CookieConfigType 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  cookie-configType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 * @author George Gastaldi
 */
public interface CookieConfigType extends Child, 
    JavaeeCookieConfigCommonType> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: CookieConfigType ElementName: javaee:nonEmptyStringType ElementType : name
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

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

   /**
    * Returns the name element
    * @return the node defined for the element name 
    */
   public String getName();

   /**
    * Removes the name element 
    * @return the current instance of CookieConfigType 
    */
   public CookieConfigType removeName();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: CookieConfigType ElementName: javaee:nonEmptyStringType ElementType : domain
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

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

   /**
    * Returns the domain element
    * @return the node defined for the element domain 
    */
   public String getDomain();

   /**
    * Removes the domain element 
    * @return the current instance of CookieConfigType 
    */
   public CookieConfigType removeDomain();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: CookieConfigType ElementName: javaee:nonEmptyStringType ElementType : path
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

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

   /**
    * Returns the path element
    * @return the node defined for the element path 
    */
   public String getPath();

   /**
    * Removes the path element 
    * @return the current instance of CookieConfigType 
    */
   public CookieConfigType removePath();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: CookieConfigType ElementName: javaee:nonEmptyStringType ElementType : comment
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

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

   /**
    * Returns the comment element
    * @return the node defined for the element comment 
    */
   public String getComment();

   /**
    * Removes the comment element 
    * @return the current instance of CookieConfigType 
    */
   public CookieConfigType removeComment();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: CookieConfigType ElementName: javaee:xsdBooleanType ElementType : http-only
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the http-only element
    * @param httpOnly the value for the element http-only 
    * @return the current instance of CookieConfigType 
    */
   public CookieConfigType httpOnly(Boolean httpOnly);

   /**
    * Returns the http-only element
    * @return the node defined for the element http-only 
    */
   public Boolean isHttpOnly();

   /**
    * Removes the http-only element 
    * @return the current instance of CookieConfigType 
    */
   public CookieConfigType removeHttpOnly();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: CookieConfigType ElementName: javaee:xsdBooleanType ElementType : secure
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the secure element
    * @param secure the value for the element secure 
    * @return the current instance of CookieConfigType 
    */
   public CookieConfigType secure(Boolean secure);

   /**
    * Returns the secure element
    * @return the node defined for the element secure 
    */
   public Boolean isSecure();

   /**
    * Removes the secure element 
    * @return the current instance of CookieConfigType 
    */
   public CookieConfigType removeSecure();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: CookieConfigType ElementName: xsd:integer ElementType : max-age
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the max-age element
    * @param maxAge the value for the element max-age 
    * @return the current instance of CookieConfigType 
    */
   public CookieConfigType maxAge(Integer maxAge);

   /**
    * Returns the max-age element
    * @return the node defined for the element max-age 
    */
   public Integer getMaxAge();

   /**
    * Removes the max-age element 
    * @return the current instance of CookieConfigType 
    */
   public CookieConfigType removeMaxAge();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: CookieConfigType ElementName: xsd:ID ElementType : id
   // MaxOccurs: -  isGeneric: true   isAttribute: true isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the id attribute
    * @param id the value for the attribute id 
    * @return the current instance of CookieConfigType 
    */
   public CookieConfigType id(String id);

   /**
    * Returns the id attribute
    * @return the value defined for the attribute id 
    */
   public String getId();

   /**
    * Removes the id attribute 
    * @return the current instance of CookieConfigType 
    */
   public CookieConfigType removeId();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy