Annotation Type FeedSpecAnnotations.AliasSpec
- Enclosing interface:
FeedSpecAnnotations
@ExperimentalApi
@Target(METHOD)
@Retention(RUNTIME)
public static @interface FeedSpecAnnotations.AliasSpec
Annotation used to specify the mapping between a method in
a
Feed and a property in an external data source.
This allows methods in a feed interface to be explicitly
associated with properties by name.
The FeedSpecAnnotations.AliasSpec annotation should be placed on methods
within a Feed interface that return FeedSpec, enabling
explicit binding of the method to a named data source property.
- Since:
- 5.0.0
-
Required Element Summary
Required Elements
-
Element Details
-
value
Specifies the name of the property in the external data source to which the annotated method is explicitly mapped.- Returns:
- property name defined in an external data source
- Since:
- 5.0.0
-