org.whatsitcalled.webflange.webapp.model
Class LoadTestDetachableModel

java.lang.Object
  extended by org.apache.wicket.model.AbstractReadOnlyModel
      extended by org.apache.wicket.model.LoadableDetachableModel
          extended by org.whatsitcalled.webflange.webapp.model.LoadTestDetachableModel
All Implemented Interfaces:
java.io.Serializable, org.apache.wicket.IClusterable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel

public class LoadTestDetachableModel
extends org.apache.wicket.model.LoadableDetachableModel

See Also:
Serialized Form

Constructor Summary
LoadTestDetachableModel(LoadTest t)
           
LoadTestDetachableModel(java.lang.Long id)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          used for dataview with ReuseIfModelsEqualStrategy item reuse strategy
protected  LoadTestDAO getDAO()
           
 java.lang.Object getObject()
           
 int hashCode()
           
protected  java.lang.Object load()
           
protected  void onAttach()
           
protected  void onDetach()
           
 
Methods inherited from class org.apache.wicket.model.LoadableDetachableModel
detach, isAttached, toString
 
Methods inherited from class org.apache.wicket.model.AbstractReadOnlyModel
getObject, setObject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadTestDetachableModel

public LoadTestDetachableModel(LoadTest t)

LoadTestDetachableModel

public LoadTestDetachableModel(java.lang.Long id)
Method Detail

getDAO

protected LoadTestDAO getDAO()

load

protected java.lang.Object load()
Specified by:
load in class org.apache.wicket.model.LoadableDetachableModel

getObject

public java.lang.Object getObject()
Specified by:
getObject in interface org.apache.wicket.model.IModel
Overrides:
getObject in class org.apache.wicket.model.LoadableDetachableModel

onAttach

protected void onAttach()
Overrides:
onAttach in class org.apache.wicket.model.LoadableDetachableModel

onDetach

protected void onDetach()
Overrides:
onDetach in class org.apache.wicket.model.LoadableDetachableModel

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

equals

public boolean equals(java.lang.Object obj)
used for dataview with ReuseIfModelsEqualStrategy item reuse strategy

Overrides:
equals in class java.lang.Object
See Also:
wicket.extensions.markup.html.repeater.pageable.AbstractPageableView#setItemReuseStrategy(IItemReuseStrategy), wicket.extensions.markup.html.repeater.refreshing.ReuseIfModelsEqualStrategy, Object.equals(java.lang.Object)


Copyright © 2008 Innobuilt Software LLC. All Rights Reserved.