org.whatsitcalled.webflange.webapp.model
Class DataFileDetachableModel
java.lang.Object
org.apache.wicket.model.AbstractReadOnlyModel
org.apache.wicket.model.LoadableDetachableModel
org.whatsitcalled.webflange.webapp.model.DataFileDetachableModel
- All Implemented Interfaces:
- java.io.Serializable, org.apache.wicket.IClusterable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel
public class DataFileDetachableModel
- extends org.apache.wicket.model.LoadableDetachableModel
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(java.lang.Object obj)
used for dataview with ReuseIfModelsEqualStrategy item reuse strategy |
java.lang.Object |
getObject()
|
java.lang.String |
getPath()
|
int |
hashCode()
|
protected java.lang.Object |
load()
|
protected void |
onAttach()
|
protected void |
onDetach()
|
void |
setPath(java.lang.String path)
|
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 |
DataFileDetachableModel
public DataFileDetachableModel(java.io.File p)
DataFileDetachableModel
public DataFileDetachableModel(java.lang.String path)
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)
getPath
public java.lang.String getPath()
setPath
public void setPath(java.lang.String path)
Copyright © 2008 Innobuilt Software LLC. All Rights Reserved.