org.opennms.core.utils
Class PropertyPath

java.lang.Object
  extended by org.opennms.core.utils.PropertyPath

public class PropertyPath
extends Object

PropertyPath class.

Version:
$Id: $
Author:
ranger

Constructor Summary
PropertyPath(String nestedPath)
          Constructor for PropertyPath.
 
Method Summary
 String getKey()
          Getter for the field key.
 PropertyPath getParent()
          Getter for the field parent.
 String getPropertyName()
          Getter for the field propertyName.
 Object getValue(org.springframework.beans.BeanWrapper beanWrapper)
          getValue
 Object getValue(Object root)
          getValue
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyPath

public PropertyPath(String nestedPath)

Constructor for PropertyPath.

Parameters:
nestedPath - a String object.
Method Detail

toString

public String toString()

Overrides:
toString in class Object

getKey

public 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 String getPropertyName()

Getter for the field propertyName.

Returns:
a String object.

getValue

public Object getValue(Object root)
                throws org.springframework.beans.InvalidPropertyException

getValue

Parameters:
root - a Object object.
Returns:
a Object object.
Throws:
org.springframework.beans.InvalidPropertyException

getValue

public Object getValue(org.springframework.beans.BeanWrapper beanWrapper)
                throws org.springframework.beans.InvalidPropertyException

getValue

Parameters:
beanWrapper - a BeanWrapper object.
Returns:
a Object object.
Throws:
org.springframework.beans.InvalidPropertyException


Copyright © 2011. All Rights Reserved.