org.apache.wicket.model
Interface IWrapModel

All Superinterfaces:
IClusterable, IDetachable, IModel, java.io.Serializable
All Known Implementing Classes:
AbstractWrapModel

public interface IWrapModel
extends IModel

A marker interface that represents a model that serves as a wrapper for another. Typically these models are produced by the following methods: IComponentAssignedModel.wrapOnAssignment(org.apache.wicket.Component) and IComponentInheritedModel.wrapOnInheritance(org.apache.wicket.Component) The wrapped model will be called detach on when the component is detached when the wrap model is created by an IComponentAssignedModel

Author:
jcompagner, Igor Vaynberg (ivaynberg)

Method Summary
 IModel getWrappedModel()
          Gets the wrapped model.
 
Methods inherited from interface org.apache.wicket.model.IModel
getObject, setObject
 
Methods inherited from interface org.apache.wicket.model.IDetachable
detach
 

Method Detail

getWrappedModel

IModel getWrappedModel()
Gets the wrapped model.

Returns:
The wrapped model


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