org.jboss.shrinkwrap.descriptor.api.webapp25.SessionConfigType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.webapp25;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.webapp.*;
import org.jboss.shrinkwrap.descriptor.api.webapp.JavaeeSessionConfigCommonType;
/**
* This interface defines the contract for the session-configType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface SessionConfigType extends Child,
JavaeeSessionConfigCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: SessionConfigType ElementName: xsd:integer ElementType : session-timeout
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the session-timeout
element
* @param sessionTimeout the value for the element session-timeout
* @return the current instance of SessionConfigType
*/
public SessionConfigType sessionTimeout(Integer sessionTimeout);
/**
* Returns the session-timeout
element
* @return the node defined for the element session-timeout
*/
public Integer getSessionTimeout();
/**
* Removes the session-timeout
element
* @return the current instance of SessionConfigType
*/
public SessionConfigType removeSessionTimeout();
// --------------------------------------------------------------------------------------------------------||
// ClassName: SessionConfigType 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 SessionConfigType
*/
public SessionConfigType 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 SessionConfigType
*/
public SessionConfigType removeId();
}