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