| Package | Description |
|---|---|
| ma.glasnost.orika.metadata | |
| ma.glasnost.orika.property |
| Modifier and Type | Method and Description |
|---|---|
Property |
Property.Builder.build(PropertyResolver propertyResolver)
Builds the property, using the specified proeprtyResolver to validate
the property settings
|
| Modifier and Type | Class and Description |
|---|---|
class |
IntrospectorPropertyResolver
IntrospectionPropertyResolver leverages JavaBeans introspector to resolve
properties for provided types.
|
class |
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.