Package org.apache.wicket.model
Interface IPropertyReflectionAwareModel<T>
-
- Type Parameters:
T
-
- All Superinterfaces:
IClusterable
,IDetachable
,IModel<T>
,Serializable
- All Known Implementing Classes:
AbstractPropertyModel
,PropertyModel
public interface IPropertyReflectionAwareModel<T> extends IModel<T>
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Field
getPropertyField()
Returns the field of model property or null if the field doesn't exist.Method
getPropertyGetter()
Returns the getter method of model property or null if the method doesn't exist.Method
getPropertySetter()
Returns the setter method of model property or null if the method doesn't exist.
-
-
-
Method Detail
-
getPropertyField
Field getPropertyField()
Returns the field of model property or null if the field doesn't exist.- Returns:
- Field or null
-
getPropertyGetter
Method getPropertyGetter()
Returns the getter method of model property or null if the method doesn't exist.- Returns:
- Method or null
-
getPropertySetter
Method getPropertySetter()
Returns the setter method of model property or null if the method doesn't exist.- Returns:
- Method or null
-
-