jet.server.api.db
Interface Workspace

All Superinterfaces:
DBObject

public interface Workspace
extends DBObject

A Workspace is database container.


Method Summary
 Databases databases()
          Retrieves the Database container in this Workspace
 Database databases(int index)
          Retrieves the Database that specified by index
 Database databases(java.lang.String dbName)
          Retrieves the Database that specified by name.
 
Methods inherited from interface jet.server.api.db.DBObject
getName, getProperties, getProperty, getProperty, getUCName, setProperty
 

Method Detail

databases

Databases databases()
Retrieves the Database container in this Workspace

Returns:
the Databases

databases

Database databases(int index)
Retrieves the Database that specified by index

Parameters:
index -
Returns:
the Database instance.

databases

Database databases(java.lang.String dbName)
Retrieves the Database that specified by name.

Parameters:
dbName -
Returns:
the Database instance.