public interface PojoPropertyAccessorTwoArg extends PojoPropertyAccessor
property-accessor that allows to
access a property supplying a two arguments.PojoPropertyAccessorTwoArgMode.SET_MAPPED| Modifier and Type | Method and Description |
|---|---|
PojoPropertyAccessorTwoArgMode |
getMode()
This method gets the mode of this accessor.
|
Object |
invoke(Object pojoInstance,
Object argument1,
Object argument2)
This method invokes the according property-method of
pojoInstance with the given arguments. |
getAccessibleObject, getAccessibleObjectName, getDeclaringClass, getModifiers, getPropertyClass, getPropertyType, getReturnClass, getReturnTypegetNamePojoPropertyAccessorTwoArgMode getMode()
getMode in interface PojoPropertyAccessorObject invoke(Object pojoInstance, Object argument1, Object argument2) throws ReflectionException
pojoInstance with the given arguments. pojoInstance - is the instance of the POJO where to access the property. Has to be an instance of
the type from where this
accessor was created for.argument1 - is the first argument.argument2 - is the second argument.null if void (e.g. regular setter method).ReflectionException - if the underlying accessor
caused an error during reflection.Copyright © 2001–2015 mmm-Team. All rights reserved.