Package org.opennms.core.spring
Class PropertyPath
- java.lang.Object
-
- org.opennms.core.spring.PropertyPath
-
public class PropertyPath extends java.lang.Object
PropertyPath class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description PropertyPath(java.lang.String nestedPath)
Constructor for PropertyPath.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKey()
Getter for the fieldkey
.PropertyPath
getParent()
Getter for the fieldparent
.java.lang.String
getPropertyName()
Getter for the fieldpropertyName
.java.lang.Object
getValue(java.lang.Object root)
getValuejava.lang.Object
getValue(org.springframework.beans.BeanWrapper beanWrapper)
getValuejava.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getKey
public java.lang.String getKey()
Getter for the field
key
.- Returns:
- a
String
object.
-
getParent
public PropertyPath getParent()
Getter for the field
parent
.- Returns:
- a
PropertyPath
object.
-
getPropertyName
public java.lang.String getPropertyName()
Getter for the field
propertyName
.- Returns:
- a
String
object.
-
getValue
public java.lang.Object getValue(java.lang.Object root) throws org.springframework.beans.InvalidPropertyException
getValue
- Parameters:
root
- aObject
object.- Returns:
- a
Object
object. - Throws:
org.springframework.beans.InvalidPropertyException
-
getValue
public java.lang.Object getValue(org.springframework.beans.BeanWrapper beanWrapper) throws org.springframework.beans.InvalidPropertyException
getValue
- Parameters:
beanWrapper
- aBeanWrapper
object.- Returns:
- a
Object
object. - Throws:
org.springframework.beans.InvalidPropertyException
-
-