public class BeanPropertyLookup extends PropertyLookup
| Modifier and Type | Field and Description |
|---|---|
private Map<String,PropertyLookup> |
propertyLookupMap |
private static String |
SEPARATOR |
| Modifier | Constructor and Description |
|---|---|
|
BeanPropertyLookup(String prefix,
Class<?> beanClass) |
private |
BeanPropertyLookup(String prefix,
Class<?> beanClass,
PropertyDescriptor propertyDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getEnclosingObject(Object obj)
Returns the enclosing object of the property.
|
private static String |
getPropertyKey(String prefix,
PropertyDescriptor propertyDescriptor) |
Object |
getPropertyValue(String propertyKey,
Object obj)
Returns the value of a property.
|
getPropertyDescriptorprivate static final String SEPARATOR
private final Map<String,PropertyLookup> propertyLookupMap
private BeanPropertyLookup(String prefix, Class<?> beanClass, PropertyDescriptor propertyDescriptor)
private static String getPropertyKey(String prefix, PropertyDescriptor propertyDescriptor)
public Object getPropertyValue(String propertyKey, Object obj)
PropertyLookupgetPropertyValue in class PropertyLookuppropertyKey - The property key (e.g., object.child.propertyValue)obj - The object from which to retrieve the property.public Object getEnclosingObject(Object obj)
PropertyLookupgetEnclosingObject in class PropertyLookupobj - The top level objectCopyright © 2022 Apache NiFi Project. All rights reserved.