Class 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 field key.
      PropertyPath getParent()
      Getter for the field parent.
      java.lang.String getPropertyName()
      Getter for the field propertyName.
      java.lang.Object getValue​(java.lang.Object root)
      getValue
      java.lang.Object getValue​(org.springframework.beans.BeanWrapper beanWrapper)
      getValue
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PropertyPath

        public PropertyPath​(java.lang.String nestedPath)

        Constructor for PropertyPath.

        Parameters:
        nestedPath - a String object.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getKey

        public java.lang.String getKey()

        Getter for the field key.

        Returns:
        a String 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 - a Object 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 - a BeanWrapper object.
        Returns:
        a Object object.
        Throws:
        org.springframework.beans.InvalidPropertyException