| Modifier and Type | Method and Description |
|---|---|
static BeanTools.AccessType |
BeanTools.AccessType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeanTools.AccessType[] |
BeanTools.AccessType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
BeanTools.beanListToString(List<? extends Object> beansList,
BeanTools.AccessType accessType,
String... pathsToProperties)
Display a list of beans by listing the specified properties (bean separated by "\n", properties by ", ")
|
static String |
BeanTools.beanListToString(List<? extends Object> beansList,
String delimiterBeans,
String delimiterProperties,
BeanTools.AccessType accessType,
String... pathsToProperties)
Display a list of beans by listing the specified properties
|
static boolean |
CollectionTools.containsWithValue(Collection<? extends Object> collection,
String pathToProperty,
BeanTools.AccessType accessType,
Object value)
Check in a collection of beans if a property has a specific value
|
static int |
CollectionTools.countWithValue(Collection<? extends Object> collection,
String pathToProperty,
BeanTools.AccessType accessType,
Object value)
Count in a collection of beans the number of beans which have a specific value
|
static boolean |
BeanTools.equals(Object thiz,
Object obj,
BeanTools.AccessType accessType,
String... properties)
Equals method
|
static <T> T |
CollectionTools.findWithValue(List<T> collection,
String pathToProperty,
BeanTools.AccessType accessType,
Object value)
Get from a beans collection the first bean which have a property with a specific value.
|
static Object |
BeanTools.getValue(Object bean,
BeanTools.AccessType accessType,
String property)
Get a property value for a specified bean
|
static Object |
BeanTools.getValueFromPath(Object bean,
BeanTools.AccessType accessType,
String pathToProperty)
Get a property value for a specified bean
|
static boolean |
CollectionTools.removeAllWithValue(Collection<? extends Object> collection,
String pathToProperty,
BeanTools.AccessType accessType,
Collection<? extends Object> values)
Remove in a collection of beans the beans which have a specifics values.
|
static boolean |
CollectionTools.removeWithValue(Collection<? extends Object> collection,
String pathToProperty,
BeanTools.AccessType accessType,
Object value)
Remove in a collection of beans the beans which have a specific value.
|
static String |
BeanTools.toString(Object bean,
BeanTools.AccessType accessType,
String... properties)
Display a bean by listing the specified properties (separated by "\n")
|
static String |
BeanTools.toString(Object bean,
String delimiter,
BeanTools.AccessType accessType,
String... pathsToProperties)
Display a bean by listing the specified properties
|
static List<Object> |
CollectionTools.valuesFromList(Collection<? extends Object> collection,
String pathToProperty,
BeanTools.AccessType accessType)
Build a list from values properties of a bean list.
|
Copyright © 2009–2014 IRD. All rights reserved.