@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Query
The Query annotation attached to a public method specifies
that the method implements the query operation of an entity in a service.
A method to which this annotation is attached must provide the following:
QueryRequest
QueryResponse
| Modifier and Type | Required Element and Description |
|---|---|
String |
entity |
String |
serviceName |
| Modifier and Type | Optional Element and Description |
|---|---|
String |
sourceEntity |
Copyright © 2020 SAP. All Rights Reserved.