|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface Query
Annotation for a named query. Maps across to the JDO2 element "query".
| Required Element Summary | |
|---|---|
java.lang.String |
name
Name of the query (mandatory) |
java.lang.String |
value
The query string (mandatory) |
| Optional Element Summary | |
|---|---|
QueryLanguage |
language
The query language |
java.lang.String |
resultClass
Result Class to dump the results into |
java.lang.String |
unique
Whether the query returns unique results. |
boolean |
unmodifiable
Whether the query is unmodifiable. |
| Element Detail |
|---|
public abstract java.lang.String name
public abstract java.lang.String value
public abstract QueryLanguage language
public abstract boolean unmodifiable
public abstract java.lang.String unique
public abstract java.lang.String resultClass
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||