ontopoly.models
Class MutableLoadableDetachableModel<T>
java.lang.Object
ontopoly.models.MutableLoadableDetachableModel<T>
- All Implemented Interfaces:
- java.io.Serializable, org.apache.wicket.IClusterable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<T>
- Direct Known Subclasses:
- TopicMapSourceModel, TopicModel
public abstract class MutableLoadableDetachableModel<T>
- extends java.lang.Object
- implements org.apache.wicket.model.IModel<T>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MutableLoadableDetachableModel
public MutableLoadableDetachableModel()
MutableLoadableDetachableModel
public MutableLoadableDetachableModel(T object)
detach
public void detach()
- Specified by:
detach
in interface org.apache.wicket.model.IDetachable
getObject
public T getObject()
- Specified by:
getObject
in interface org.apache.wicket.model.IModel<T>
setObject
public void setObject(T object)
- Specified by:
setObject
in interface org.apache.wicket.model.IModel<T>
isAttached
public final boolean isAttached()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
load
protected abstract T load()
onAttach
protected void onAttach()
onDetach
protected void onDetach()
Copyright © 2000-2012 Ontopia.