public interface PojoPropertyDescriptor extends PojoAttributeName
Pojo
. A property is some
attribute of a Pojo
that can be accessed directly via a
Field
or via a Method
(getter, setter, etc.). This
PojoPropertyDescriptor
is an alternative to PropertyDescriptor
but only has
focus on reflectively accessing objects. Therefore it works on any Pojo
. Modifier and Type | Method and Description |
---|---|
<ACCESSOR extends PojoPropertyAccessor> |
getAccessor(PojoPropertyAccessorMode<ACCESSOR> mode)
This method gets the
accessor to access the represented property in the way
given by mode . |
Collection<? extends PojoPropertyAccessor> |
getAccessors()
This method gets all available
accessors for the
represented property. |
getName
<ACCESSOR extends PojoPropertyAccessor> ACCESSOR getAccessor(PojoPropertyAccessorMode<ACCESSOR> mode)
accessor
to access the represented property in the way
given by mode
.ACCESSOR
- is the type of the requested accessor.mode
- is the mode
of the requested accessor.mode
or null
if no such accessor exists.Collection<? extends PojoPropertyAccessor> getAccessors()
accessors
for the
represented property.property descriptor
sCopyright © 2001–2014 mmm-Team. All rights reserved.