| Interface | Description |
|---|---|
| PropertyResolverStrategy |
PropertyResolverStrategy specifies a contract for resolution of
mappable properties for a java type.
|
| Class | Description |
|---|---|
| IntrospectorPropertyResolver |
IntrospectionPropertyResolver leverages JavaBeans introspector to resolve
properties for provided types.
|
| PropertyResolver |
PropertyResolver defines the core functionality for resolving properties;
specific PropertyResolverStrategy implementations should extend from this
class, implementing the 'collectProperties' method.
|
| RegexPropertyResolver |
RegexPropertyResolver uses regular expressions to find properties based
on patterns configured for locating the read and write methods.
The patterns provided should produce a match where group(1) returns the name of the property. Note that the name will automatically be un-capitalized, so you need not worry about defining your regular expression to handle this. Only no-argument getter methods returning a type are considered for a read method match, and only single-argument methods are considered for a write method match; the write method need not have a void return type. The type of the setter method must be a sub-type (or matching type) of the getter method's type; if the getter method is a strict sub-type, then the type of the setter method will define the type of the property. |
Copyright © 2016 Glasnost. All rights reserved.