@Incubating public interface GetterPropertySelectionStrategy
A getter is considered as being a property of the bean and thus validated when validating the bean.
Modifier and Type | Method and Description |
---|---|
Set<String> |
getGetterMethodNameCandidates(String propertyName)
Gives a set of possible method names based on a property name.
|
Optional<String> |
getProperty(ConstrainableExecutable executable)
Returns the property corresponding to the getter if the method is considered a getter.
|
Optional<String> getProperty(ConstrainableExecutable executable)
executable
- a ConstrainableExecutable
IllegalArgumentException
- if a property name cannot be constructedSet<String> getGetterMethodNameCandidates(String propertyName)
propertyName
- a property nameSet
of possible getter namesCopyright © 2007-2021 Red Hat, Inc. All Rights Reserved