public class BooleanAccessorFactory extends Object implements AccessorFactory
| Constructor and Description |
|---|
BooleanAccessorFactory() |
| Modifier and Type | Method and Description |
|---|---|
Accessor |
createAccessor(Field field,
Map<String,Method> possibleMethods)
Creates accessors for accessing data from an object.
|
static String |
createIsName(String fieldName)
Creates one of the names for boolean accessor
|
public Accessor createAccessor(Field field, Map<String,Method> possibleMethods) throws Throwable
AccessorFactorycreateAccessor in interface AccessorFactoryfield - The field we're trying to accesspossibleMethods - a map of possible methods from the class itselfThrowableCopyright © 2023. All rights reserved.