public class BeanUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PREFIX_ADDER |
static String |
PREFIX_GETTER_GET |
static String |
PREFIX_GETTER_IS |
static String |
PREFIX_SETTER |
Constructor and Description |
---|
BeanUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getPropertyName(Method method) |
static boolean |
isAdder(Method method) |
static boolean |
isGetter(Method method) |
static boolean |
isSetter(Method method) |
static String |
toLowerCamelCase(String string)
Converts the given String into lower camel case form.
|
public static final String PREFIX_GETTER_IS
public static final String PREFIX_GETTER_GET
public static final String PREFIX_SETTER
public static final String PREFIX_ADDER
public static boolean isAdder(Method method)
method
- to check if it is an 'adder' method.public static boolean isGetter(Method method)
method
- to check if it is a standard java beans getter.public static boolean isSetter(Method method)
method
- to check if it is a standard java beans setter.public static String getPropertyName(Method method)
method
- to get the associated property name for.public static String toLowerCamelCase(String string)
string
- to decapitalize.Copyright © 2010 - 2020 Adobe. All Rights Reserved