Package org.opennms.web.svclayer.support
Class PropertyUtils
- java.lang.Object
-
- org.opennms.web.svclayer.support.PropertyUtils
-
public abstract class PropertyUtils extends java.lang.Object
BeanUtils class.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description PropertyUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
getPathValue(java.lang.Object bean, java.lang.String path, java.lang.Class<T> expectedClass)
getPathValuestatic java.util.Collection<java.lang.String>
getProperties(java.lang.Object bean)
getProperties
-
-
-
Method Detail
-
getProperties
public static java.util.Collection<java.lang.String> getProperties(java.lang.Object bean)
getProperties
- Parameters:
bean
- aObject
object.- Returns:
- a
Collection
object.
-
getPathValue
public static <T> T getPathValue(java.lang.Object bean, java.lang.String path, java.lang.Class<T> expectedClass)
getPathValue
- Type Parameters:
T
- a T object.- Parameters:
bean
- aObject
object.path
- aString
object.expectedClass
- aClass
object.- Returns:
- a T object.
-
-