@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Documented
@SchemaMapping(typeName="Subscription")
public @interface SubscriptionMapping
@SubscriptionMapping is a composed annotation that acts as a
shortcut for @SchemaMapping with
typeName="Subscription".
You can use this annotation both at the method and at the class level, in which case all handlers methods in the controller are subscriptions, unless the typeName is overridden.
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
name
Alias for
SchemaMapping.field(). |
java.lang.String |
value
Alias for
SchemaMapping.field(). |
@AliasFor(annotation=SchemaMapping.class, attribute="field") public abstract java.lang.String name
SchemaMapping.field().@AliasFor(annotation=SchemaMapping.class, attribute="field") public abstract java.lang.String value
SchemaMapping.field().