|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.core.pluginapi.util.ObjectUtil
public class ObjectUtil
| Method Summary | |
|---|---|
static Object |
lookupAttributeProperty(Object obj,
String propertyName)
Returns the value of the property with the specified name for the given Object, or null if the Object has no such property. |
static Object |
lookupDeepAttributeProperty(Object value,
String propertyPath)
Looks up deep object graph attributes using a dot delimited java bean spec style path. |
static Double |
lookupDeepNumericAttributeProperty(Object value,
String propertyPath)
Reads a numeric value from a deep object graph as per ObjectUtil.lookupDeepAttributeProperty() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
@Nullable
public static Object lookupAttributeProperty(Object obj,
String propertyName)
obj - an ObjectpropertyName - the name of the property whose value should be returned
public static Double lookupDeepNumericAttributeProperty(Object value,
String propertyPath)
ObjectUtil.lookupDeepAttributeProperty()
value - The object to look intopropertyPath - the property path to search
public static Object lookupDeepAttributeProperty(Object value,
String propertyPath)
value - The object to look intopropertyPath - the property path to search
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||