org.apache.wicket.model
Interface IWrapModel<T>

Type Parameters:
T - The model object type
All Superinterfaces:
IClusterable, IDetachable, IModel<T>, Serializable
All Known Implementing Classes:
AbstractWrapModel

public interface IWrapModel<T>
extends IModel<T>

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-2011 Apache Software Foundation. All Rights Reserved.