ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface SessionConfigType<T>
extends Child<T>

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

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

Method Summary
 CookieConfigType<SessionConfigType<T>> getOrCreateCookieConfig()
          If not already created, a new cookie-config element with the given value will be created.
 Integer getSessionTimeout()
          Returns the session-timeout element
 TrackingModeType getTrackingMode()
          Returns the tracking-mode element
 String getTrackingModeAsString()
          Returns the tracking-mode element
 SessionConfigType<T> removeCookieConfig()
          Removes the cookie-config element
 SessionConfigType<T> removeSessionTimeout()
          Removes the session-timeout element
 SessionConfigType<T> removeTrackingMode()
          Removes the tracking-mode attribute
 SessionConfigType<T> sessionTimeout(Integer sessionTimeout)
          Sets the session-timeout element
 SessionConfigType<T> trackingMode(String trackingMode)
          Sets the tracking-mode element
 SessionConfigType<T> trackingMode(TrackingModeType trackingMode)
          Sets the tracking-mode element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

sessionTimeout

SessionConfigType<T> sessionTimeout(Integer sessionTimeout)
Sets the session-timeout element

Parameters:
sessionTimeout - the value for the element session-timeout
Returns:
the current instance of SessionConfigType

getSessionTimeout

Integer getSessionTimeout()
Returns the session-timeout element

Returns:
the node defined for the element session-timeout

removeSessionTimeout

SessionConfigType<T> removeSessionTimeout()
Removes the session-timeout element

Returns:
the current instance of SessionConfigType

getOrCreateCookieConfig

CookieConfigType<SessionConfigType<T>> getOrCreateCookieConfig()
If not already created, a new cookie-config element with the given value will be created. Otherwise, the existing cookie-config element will be returned.

Returns:
a new or existing instance of CookieConfigType>

removeCookieConfig

SessionConfigType<T> removeCookieConfig()
Removes the cookie-config element

Returns:
the current instance of SessionConfigType

trackingMode

SessionConfigType<T> trackingMode(TrackingModeType trackingMode)
Sets the tracking-mode element

Parameters:
trackingMode - the value for the element tracking-mode
Returns:
the current instance of SessionConfigType

trackingMode

SessionConfigType<T> trackingMode(String trackingMode)
Sets the tracking-mode element

Parameters:
trackingMode - the value for the element tracking-mode
Returns:
the current instance of SessionConfigType

getTrackingMode

TrackingModeType getTrackingMode()
Returns the tracking-mode element

Returns:
the value found for the element tracking-mode

getTrackingModeAsString

String getTrackingModeAsString()
Returns the tracking-mode element

Returns:
the value found for the element tracking-mode

removeTrackingMode

SessionConfigType<T> removeTrackingMode()
Removes the tracking-mode attribute

Returns:
the current instance of SessionConfigType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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