Annotation Interface PropertyExtractor


A ExtractorBinding annotation representing a UniversalExtractor.
Since:
3.0
Author:
Gunnar Hillert
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    A holder for the repeatable PropertyExtractor annotation.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns a method or property name to use when creating a UniversalExtractor.
  • Element Details

    • value

      String value
      Returns a method or property name to use when creating a UniversalExtractor.

      If the value does not end in "()" the value is assumed to be a property name. If the value is prefixed with one of the accessor prefixes "get" or "is" and ends in "()" this extractor is a property extractor. Otherwise, if the value just ends in "()" this value is considered a method name.

      Returns:
      the value used for the where clause when creating a UniversalExtractor