Module org.apache.wicket.core
Package org.apache.wicket.model
Interface IPropertyReflectionAwareModel<T>
- Type Parameters:
T
-
- All Superinterfaces:
IClusterable
,IDetachable
,IModel<T>
,Serializable
- All Known Implementing Classes:
AbstractPropertyModel
,PropertyModel
Optional interface implemented by models that are able to provide reflection information about
object property they interact with.
The model doesn't have to support all property information in this interface. It is valid to
return null for any method.
- Author:
- Matej Knopp
-
Method Summary
Modifier and TypeMethodDescriptionReturns the field of model property or null if the field doesn't exist.Returns the getter method of model property or null if the method doesn't exist.Returns the setter method of model property or null if the method doesn't exist.
-
Method Details
-
getPropertyField
Returns the field of model property or null if the field doesn't exist.- Returns:
- Field or null
-
getPropertyGetter
Returns the getter method of model property or null if the method doesn't exist.- Returns:
- Method or null
-
getPropertySetter
Returns the setter method of model property or null if the method doesn't exist.- Returns:
- Method or null
-