setClass(cls) - JDO Query's method
Method javax.jdo.Query
void setClass(
Class cls
)
The class specifies the class of the candidates of the query. Elements of the candidate collection that are of the specified class are filtered before being put into the result Collection
.
- Parameters:
-
cls
- theClass
of the candidate instances.
- Since:
- JDO 1.0