@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Query
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
name
Name of the query (mandatory)
|
java.lang.String |
value
The query string (mandatory)
|
Modifier and Type | Optional Element and Description |
---|---|
Extension[] |
extensions
Vendor extensions.
|
java.lang.String |
fetchPlan
The name of the fetch plan used by this query
|
java.lang.String |
language
The query language
|
java.lang.Class |
resultClass
Result class into which to put the results.
|
java.lang.String |
unique
Whether the query returns a single unique result.
|
java.lang.String |
unmodifiable
Whether the query is unmodifiable.
|
public abstract java.lang.String name
public abstract java.lang.String language
public abstract java.lang.String unmodifiable
public abstract java.lang.String unique
public abstract java.lang.Class resultClass
public abstract java.lang.String fetchPlan
public abstract Extension[] extensions