Class Accessor

java.lang.Object
org.springframework.data.projection.Accessor

public final class Accessor extends Object
Helper value to abstract an accessor.
Since:
1.13
Author:
Oliver Gierke, Christoph Strobl, Johannes Englmeier
  • Constructor Details

  • Method Details

    • isGetter

      public boolean isGetter()
      Returns whether the accessor is a getter.
      Returns:
    • isSetter

      public boolean isSetter()
      Returns whether the accessor is a setter.
      Returns:
    • getPropertyName

      public String getPropertyName()
      Returns the name of the property this accessor handles.
      Returns:
      will never be null.