public interface PropertyReflection
The property reflection offers method for accessing property values by using reflection.
Modifier and Type | Method and Description |
---|---|
Object |
getValue(Object obj,
String path)
Returns the value for the specified path.
|
Object getValue(Object obj, String path) throws PropertyReflectionException
Returns the value for the specified path.
The path contains the name of the property which value should be returned. It also works for in-deep properties.
obj
- The object.path
- The path.null
, if the property
is null
.IllegalArgumentException
- If any of the parameters are null
.PropertyReflectionException
- If an error occurs.Copyright © 2015–2019. All rights reserved.