Annotation Interface PropertyExtractor
@Inherited
@ExtractorBinding
@Documented
@Retention(RUNTIME)
@Repeatable(Extractors.class)
public @interface PropertyExtractor
A
ExtractorBinding
annotation representing a UniversalExtractor
.- Since:
- 1.0
- Author:
- Jonathan Knight
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic @interface
A holder for the repeatablePropertyExtractor
annotation.static final class
An annotation literal for thePropertyExtractor
annotation. -
Required Element Summary
-
Element Details
-
value
String valueReturns the method or property name to use when creating aUniversalExtractor
.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
-