public interface PojoPropertyAccessorNonArg extends PojoPropertyAccessor
property-accessor
that allows to
access
a property without any argument.PojoPropertyAccessorNonArgMode.GET
Modifier and Type | Method and Description |
---|---|
PojoPropertyAccessorNonArgMode |
getMode()
This method gets the mode of this accessor.
|
Object |
invoke(Object pojoInstance)
This method invokes the according property-method of
pojoInstance with the given arguments. |
getAccessibleObject, getAccessibleObjectName, getDeclaringClass, getModifiers, getPropertyClass, getPropertyType, getReturnClass, getReturnType
getName
PojoPropertyAccessorNonArgMode getMode()
getMode
in interface PojoPropertyAccessor
Object invoke(Object pojoInstance) 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.null
if void (e.g. initialize method). For
a regular getter this will be the value of the property.ReflectionException
- if the underlying accessor
caused an error during reflection.Copyright © 2001–2014 mmm-Team. All rights reserved.