org.apache.wicket.util.lang
Interface PropertyResolver.IGetAndSet

Enclosing class:
PropertyResolver

public static interface PropertyResolver.IGetAndSet

Author:
jcompagner

Method Summary
 Field getField()
           
 Method getGetter()
           
 Method getSetter()
           
 Class<?> getTargetClass()
           
 Object getValue(Object object)
           
 Object newValue(Object object)
           
 void setValue(Object object, Object value, PropertyResolverConverter converter)
           
 

Method Detail

getValue

Object getValue(Object object)
Parameters:
object - The object where the value must be taken from.
Returns:
The value of this property

getTargetClass

Class<?> getTargetClass()
Returns:
The target class of the object that as to be set.

newValue

Object newValue(Object object)
Parameters:
object - The object where the new value must be set on.
Returns:
The new value for the property that is set back on that object.

setValue

void setValue(Object object,
              Object value,
              PropertyResolverConverter converter)
Parameters:
object -
value -
converter -

getField

Field getField()
Returns:
Field or null if there is no field

getGetter

Method getGetter()
Returns:
Getter method or null if there is no getter

getSetter

Method getSetter()
Returns:
Setter of null if there is no setter


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