| java.lang.Object org.apache.ojb.jdo.jdoql.QueryTreeNode org.apache.ojb.jdo.jdoql.Import
Constructor Summary | |
public | Import(String spec, boolean isOnDemand) Creates a new import object. |
Method Summary | |
public void | accept(Visitor visitor) | public String | getSpec() Returns the import spec which is either a fully qualified class name or
a package. | public boolean | isOnDemand() Returns whether this import is direct (class) or on-demand (package). | public String | toString() |
Import | public Import(String spec, boolean isOnDemand)(Code) | | Creates a new import object.
Parameters: spec - The import spec Parameters: isOnDemand - Whether the import is on-demand or direct |
getSpec | public String getSpec()(Code) | | Returns the import spec which is either a fully qualified class name or
a package.
The spec |
isOnDemand | public boolean isOnDemand()(Code) | | Returns whether this import is direct (class) or on-demand (package).
true if this import is on-demand |
|
|