public class PropertyUtils extends Object
| Constructor and Description |
|---|
PropertyUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
createObjectFromProperties(Class<T> clazz,
Map<String,Object> properties) |
static Map<String,Object> |
extractPropertyValues(Object object) |
static AffordanceModel.InputPayloadMetadata |
getExposedProperties(Class<?> type) |
static AffordanceModel.InputPayloadMetadata |
getExposedProperties(ResolvableType type)
Returns the
AffordanceModel.InputPayloadMetadata model for the given ResolvableType. |
public static Map<String,Object> extractPropertyValues(@Nullable Object object)
public static <T> T createObjectFromProperties(Class<T> clazz, Map<String,Object> properties)
public static AffordanceModel.InputPayloadMetadata getExposedProperties(@Nullable Class<?> type)
public static AffordanceModel.InputPayloadMetadata getExposedProperties(@Nullable ResolvableType type)
AffordanceModel.InputPayloadMetadata model for the given ResolvableType.type - must not be null.Copyright © 2011–2022 Pivotal, Inc.. All rights reserved.