Class PropertyPath


  • public class PropertyPath
    extends Object

    PropertyPath class.

    Version:
    $Id: $
    Author:
    ranger
    • Constructor Detail

      • PropertyPath

        public PropertyPath​(String nestedPath)

        Constructor for PropertyPath.

        Parameters:
        nestedPath - a String object.
    • Method Detail

      • getKey

        public String getKey()

        Getter for the field key.

        Returns:
        a String 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