org.apache.wicket.examples.stateless
Class SessionModel

java.lang.Object
  extended by org.apache.wicket.model.AbstractReadOnlyModel<String>
      extended by org.apache.wicket.examples.stateless.SessionModel
All Implemented Interfaces:
Serializable, IClusterable, IDetachable, IModel<String>

public class SessionModel
extends AbstractReadOnlyModel<String>

Model that displays whether a session was created yet, and if it was, prints the session id.

Author:
Eelco Hillenius
See Also:
Serialized Form

Constructor Summary
SessionModel()
           
 
Method Summary
 String getObject()
          Gets the model object.
 
Methods inherited from class org.apache.wicket.model.AbstractReadOnlyModel
detach, getObject, setObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionModel

public SessionModel()
Method Detail

getObject

public String getObject()
Description copied from interface: IModel
Gets the model object.

Specified by:
getObject in interface IModel<String>
Specified by:
getObject in class AbstractReadOnlyModel<String>
Returns:
The model object
See Also:
AbstractReadOnlyModel.getObject()


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.