ObjectDB ObjectDB

declareImports(imports) - JDO Query's method

Method
javax.jdo.Query
void declareImports(
  String imports
)

Set the import statements to be used to identify the fully qualified name of variables or parameters. Parameters and unbound variables might come from a different class from the candidate class, and the names need to be declared in an import statement to eliminate ambiguity. Import statements are specified as a String with semicolon-separated statements.

The String parameter to this method follows the syntax of the import statement of the Java language.

Parameters:
imports - import statements separated by semicolons.
Since:
JDO 1.0