public String getPropertyName()
	{
		if (isPropertyAware())
		{
			return ((PropertyAwareAccessor) accessor).getPropertyName();
		}
		else if (parentNode != null)
		{
			return parentNode.getPropertyName();
		}
		return null;
	}
public String getPropertyName ( ) { if ( isPropertyAware ( ) ) { return ( ( PropertyAwareAccessor ) accessor ) . getPropertyName ( ) ; } else if ( parentNode != null ) { return parentNode . getPropertyName ( ) ; } return null ; }
If this node represents a bean property, this method will simply return its name. Otherwise it will return the
property name of its closest bean property representing ancestor. This way intermediate nodes like those
representing collection, map or array items will be semantically tied to their container objects.
<p/>
That is especially useful for inclusion and exclusion rules. For example, when a List is explicitly included by
property name, it would be weird if the inclusion didn't also apply to its items.