|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IConnection
This interface allows you to get and set information about a data source connection and the tables that belong to it.
IDatabase.setConnections(Connections)| Method Summary | |
|---|---|
IConnectionInfo |
getConnectionInfo()
For internal use only |
java.lang.String |
getDescription()
For internal use only |
java.lang.String |
getLocation()
The location of the connection (for example, a URI). |
java.lang.String |
getName()
Gets the connection name. |
NavigationHierarchyNodes |
getNavigationHierarchyNodes()
For internal use only |
Fields |
getParameters()
For internal use only |
TableLinks |
getTableLinks()
Returns the links between the tables that belong to the connection. |
Tables |
getTables()
Returns the tables that belong to the connection. |
boolean |
getTablesFetched()
Returns whether the tables that belong to the connection have been fetched from the server. |
void |
setConnectionInfo(IConnectionInfo connectionInfo)
For internal use only |
void |
setDescription(java.lang.String description)
For internal use only |
void |
setLocation(java.lang.String location)
The location of the connection (for example, a URI). |
void |
setName(java.lang.String name)
Sets the connection name. |
void |
setNavigationHierarchyNodes(NavigationHierarchyNodes navigationHierarchyNodes)
For internal use only |
void |
setParameters(Fields parameters)
For internal use only |
void |
setTableLinks(TableLinks tableLinks)
Sets the links between the tables that belong to the connection. |
void |
setTables(Tables tables)
Returns the tables that belong to the connection. |
void |
setTablesFetched(boolean tablesFetched)
Sets whether the tables that belong to the connection have been fetched from the server. |
| Method Detail |
|---|
java.lang.String getName()
void setName(java.lang.String name)
name - the name for the data source connectionIConnectionInfo getConnectionInfo()
void setConnectionInfo(IConnectionInfo connectionInfo)
java.lang.String getDescription()
void setDescription(java.lang.String description)
Fields getParameters()
void setParameters(Fields parameters)
java.lang.String getLocation()
String.TableLinks getTableLinks()
Returns the links between the tables that belong to the connection.
Use IConnection.getTablesFetched() to see if these tables
and TableLinks have been fetched from the server.
TableLinks object.ITableLinkTables getTables()
IConnection.getTablesFetched() to see if
these tables and TableLinks have been fetched from the server.
Tables object.boolean getTablesFetched()
true if the tables that belong to the connection have been fetched
from the server, and false otherwise.void setLocation(java.lang.String location)
location - The location of the connection as a String.void setTableLinks(TableLinks tableLinks)
Sets the links between the tables that belong to the connection.
Use IConnection.getTablesFetched() to see if these tables
and TableLinks have been fetched from the server.
tableLinks - The table links as a
TableLinks object.ITableLinkvoid setTables(Tables tables)
IConnection.getTablesFetched() to see if
these tables and TableLinks have been fetched from the server.
tables - The tables as a Table object.void setTablesFetched(boolean tablesFetched)
tablesFetched - true if the tables that belong to the connection have been
fetched from the server, and false otherwise.NavigationHierarchyNodes getNavigationHierarchyNodes()
void setNavigationHierarchyNodes(NavigationHierarchyNodes navigationHierarchyNodes)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||