org.eclipse.jst.j2ee.webapplication
Interface SessionConfig

All Superinterfaces:
org.eclipse.emf.ecore.EObject, J2EEEObject, org.eclipse.emf.common.notify.Notifier

public interface SessionConfig
extends J2EEEObject

The session-config element defines the session parameters for this web application.

Since:
1.0

Method Summary
 int getSessionTimeout()
           
 WebApp getWebApp()
           
 boolean isSetSessionTimeout()
          Returns whether the value of the 'Session Timeout' attribute is set
 void setSessionTimeout(int value)
           
 void setWebApp(WebApp value)
           
 void unsetSessionTimeout()
          Unsets the value of the 'Session Timeout' attribute
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getSessionTimeout

int getSessionTimeout()
Returns:
The value of the SessionTimeout attribute The session-timeout element defines the default session timeout interval for all sessions created in this web application. The specified timeout must be expressed in a whole number of minutes.

setSessionTimeout

void setSessionTimeout(int value)
Parameters:
value - The new value of the SessionTimeout attribute

unsetSessionTimeout

void unsetSessionTimeout()
Unsets the value of the 'Session Timeout' attribute.

See Also:
isSetSessionTimeout(), getSessionTimeout(), setSessionTimeout(int)

isSetSessionTimeout

boolean isSetSessionTimeout()
Returns whether the value of the 'Session Timeout' attribute is set.

Returns:
whether the value of the 'Session Timeout' attribute is set.
See Also:
unsetSessionTimeout(), getSessionTimeout(), setSessionTimeout(int)

getWebApp

WebApp getWebApp()
Returns:
The WebApp reference

setWebApp

void setWebApp(WebApp value)
Parameters:
value - The new value of the WebApp reference