org.beangle.commons.bean
Type members
Classlikes
Default Property Name Resolver .
Default Property Name Resolver .
This class assists in resolving property names in the following four formats, with the layout of an identifying String in parentheses:
-
Simple (
name
) - The specifiedname
identifies an individual property of a particular JavaBean. The name of the actual getter or setter method to be used is determined using standard JavaBeans instrospection, a property named "xyz" will have a getter method namedgetXyz()
or (for boolean properties only)isXyz()
, and a setter method namedsetXyz()
. -
Indexed (
name[index]
) - The underlying property value is assumed to be an array. The appropriate (zero-relative) entry in the array is selected.List
objects are now also supported for read/write. -
Mapped (
name(key)
) - The JavaBean is assumed to have an property getter and setter methods with an additional attribute of typejava.lang.String
. -
Nested (
name1.name2[index].name3(key)
) - Combining mapped, nested, and indexed references is also supported.
- Since
3.2.0
- Companion
- object