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

Type Parameters:
T - The model object type
All Superinterfaces:
IClusterable, IDetachable, IModel<T>, java.io.Serializable
All Known Implementing Classes:
AbstractPropertyModel, PropertyModel

public interface IObjectClassAwareModel<T>
extends IModel<T>

Interface implemented by model that can provide class of the model object.

Author:
Matej Knopp

Method Summary
 java.lang.Class<T> getObjectClass()
          Returns the class of model object
 
Methods inherited from interface org.apache.wicket.model.IModel
getObject, setObject
 
Methods inherited from interface org.apache.wicket.model.IDetachable
detach
 

Method Detail

getObjectClass

java.lang.Class<T> getObjectClass()
Returns the class of model object

Returns:
class of model object or null if the class couldn't be determined


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.