| Modifier and Type | Field and Description |
|---|---|
| private static final PropertySupport | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static PropertySupport | Returns: the singleton instance of this class.Returns the singleton instance of this class. |
| private boolean | |
| private String | |
| private String | |
| public < the type of the extracted value. T> T | Returns: a the values of the given property namethe name of the property. It may be a nested property. It is left to the clients to validate
for propertyName, Class<T> null or empty.type of property clazz, Object the given object target)Return the value of a simple property from a target object. |
| public static < the type of the extracted elements. T> T | Returns: a the values of the given property namethe name of the property. It may be a nested property. It is left to the clients to validate
for propertyName, Object null or empty.the given object target, Class<T> type of property clazz)Static variant of |
| public < the type of the extracted value. T> T | Returns: the value of the given property name given target.the name of the property. It may be a nested property. It is left to the clients to validate
for propertyName, Class<T> null or empty.the class of property. clazz, Object the given Object to extract property from. target)Returns the value of the given property name given target. |
| public < the type of the extracted elements. T> List | Returns: anIterable containing the values of the given property name, from the elements of the given
Iterable.the name of the property. It may be a nested property. It is left to the clients to validate
for propertyName, Class<T> null or empty.type of property clazz, Iterable<?> the given target)Iterable.Returns a |
| public List | Returns: anIterable containing the values of the given property name, from the elements of the given
Iterable.the name of the property. It may be a nested property. It is left to the clients to validate
for fieldOrPropertyName, Iterable<?> null or empty.the given target)Iterable.Returns a |
| public boolean | |
| private <T> List |
| INSTANCE | back to summary |
|---|---|
| private static final PropertySupport INSTANCE | |
| SEPARATOR | back to summary |
|---|---|
| private static final String SEPARATOR | |
| PropertySupport | back to summary |
|---|---|
pack-priv PropertySupport()
| |
| instance | back to summary |
|---|---|
| public static PropertySupport instance() Returns the singleton instance of this class.
| |
| isNestedProperty | back to summary |
|---|---|
| private boolean isNestedProperty(String propertyName) | |
| nextPropertyNameFrom | back to summary |
|---|---|
| private String nextPropertyNameFrom(String propertyNameChain) | |
| popPropertyNameFrom | back to summary |
|---|---|
| private String popPropertyNameFrom(String propertyNameChain) | |
| propertyValue | back to summary |
|---|---|
| public <T> T propertyValue(String propertyName, Class<T> clazz, Object target) Return the value of a simple property from a target object.
This only works for simple property, nested property are not supported ! use
| |
| propertyValueOf | back to summary |
|---|---|
| public static <T> T propertyValueOf(String propertyName, Object target, Class<T> clazz) Static variant of
| |
| propertyValueOf | back to summary |
|---|---|
| public <T> T propertyValueOf(String propertyName, Class<T> clazz, Object target) Returns the value of the given property name given target. If the given object is
| |
| propertyValues | back to summary |
|---|---|
| public <T> List Returns a
| |
| propertyValues | back to summary |
|---|---|
| public List Returns a
| |
| publicGetterExistsFor | back to summary |
|---|---|
| public boolean publicGetterExistsFor(String fieldName, Object actual) | |
| simplePropertyValues | back to summary |
|---|---|
| private <T> List | |