public enum BeanWrapperPropertyAccessorFactory extends Enum<BeanWrapperPropertyAccessorFactory> implements PersistentPropertyAccessorFactory
BeanWrapper.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T> PersistentPropertyAccessor<T> |
getPropertyAccessor(PersistentEntity<?,?> entity,
T bean)
|
boolean |
isSupported(PersistentEntity<?,?> entity)
Returns whether given
PersistentEntity is supported by this PersistentPropertyAccessorFactory. |
static BeanWrapperPropertyAccessorFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeanWrapperPropertyAccessorFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanWrapperPropertyAccessorFactory INSTANCE
public static BeanWrapperPropertyAccessorFactory[] values()
for (BeanWrapperPropertyAccessorFactory c : BeanWrapperPropertyAccessorFactory.values()) System.out.println(c);
public static BeanWrapperPropertyAccessorFactory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic <T> PersistentPropertyAccessor<T> getPropertyAccessor(PersistentEntity<?,?> entity, T bean)
PersistentPropertyAccessorFactorygetPropertyAccessor in interface PersistentPropertyAccessorFactoryentity - must not be null.bean - must not be null.public boolean isSupported(PersistentEntity<?,?> entity)
PersistentPropertyAccessorFactoryPersistentEntity is supported by this PersistentPropertyAccessorFactory.isSupported in interface PersistentPropertyAccessorFactoryentity - must not be null.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.