|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface INgDataSource
Provides access to members that control the datasource.
The data source defines the data used as input to or output from the schematic diagrams and their contents (that is, the elements contained in the diagrams). Supported data sources include any type of database (Access, SDE, ESRI geodatabase...).
| Method Summary | |
|---|---|
INgRecordset |
createRecordset(String request)
Create a recordset by executing the 'request' request from the datasource. |
String |
getClassID()
CLSID of the schematic datasource. |
String |
getDescription()
Description of the datasource. |
String |
getInitString()
Name of the UDL Microsoft component used for connecting to the database. |
String |
getName()
Name allowing the datasource to be referenced. |
Object |
getObject()
COM object related to the datasource. |
int |
getType()
Type of the connection used to connect the datasource. |
boolean |
isPersisted()
Indicates if the datasource must be automatically reopened by the framework. |
void |
open()
Opens the datasource. |
void |
setInitString(String pVal)
Name of the UDL Microsoft component used for connecting to the database. |
void |
setName(String pVal)
Name allowing the datasource to be referenced. |
void |
setObjectByRef(Object pVal)
COM object related to the datasource. |
void |
setPersisted(boolean pVal)
Indicates if the datasource must be automatically reopened by the framework. |
| Method Detail |
|---|
String getDescription()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getName()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setName(String pVal)
throws IOException,
AutomationException
pVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isPersisted()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setPersisted(boolean pVal)
throws IOException,
AutomationException
pVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getType()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
Object getObject()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setObjectByRef(Object pVal)
throws IOException,
AutomationException
pVal - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getInitString()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setInitString(String pVal)
throws IOException,
AutomationException
pVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void open()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
INgRecordset createRecordset(String request)
throws IOException,
AutomationException
request - The request (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getClassID()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||