Package org.apache.tapestry5.beanmodel.internal

# Interface InternalPropertyConduit

All Superinterfaces:
  `AnnotationProvider`, `PropertyConduit`, `PropertyConduit2`

All Known Implementing Classes:
  `LiteralPropertyConduit`

public interface InternalPropertyConduit extends PropertyConduit2
Extension to `PropertyConduit2` that adds a method to determine the name of the property.

Since:
  5.2.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getPropertyName()`
  Returns the name of the property read or updated by the conduit or null.

  ### Methods inherited from interface org.apache.tapestry5.commons.AnnotationProvider

  `getAnnotation`

  ### Methods inherited from interface org.apache.tapestry5.beanmodel.PropertyConduit

  `get, getPropertyType, set`

  ### Methods inherited from interface org.apache.tapestry5.beanmodel.PropertyConduit2

  `getPropertyGenericType`

- ## Method Details

  - ### getPropertyName

    String getPropertyName()
    Returns the name of the property read or updated by the conduit or null. If the expression points to a property on a bean (e.g. user.name) this method returns the last property in the chain. Otherwise this method returns `null`.
    Returns:
      property name or `null`