|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.schematic.INgDataSourceProxy
public class INgDataSourceProxy
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...).
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Constructor Summary | |
|---|---|
|
INgDataSourceProxy()
|
|
INgDataSourceProxy(Object obj)
|
protected |
INgDataSourceProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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 |
readExternal(ObjectInput in)
|
void |
removeListener(String iidStr,
Object theListener)
|
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. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class com.esri.arcgis.interop.Dispatch |
|---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public INgDataSourceProxy()
public INgDataSourceProxy(Object obj)
throws IOException
IOException
protected INgDataSourceProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public String getDescription()
throws IOException,
AutomationException
getDescription in interface INgDataSourceIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getName()
throws IOException,
AutomationException
getName in interface INgDataSourceIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(String pVal)
throws IOException,
AutomationException
setName in interface INgDataSourcepVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isPersisted()
throws IOException,
AutomationException
isPersisted in interface INgDataSourceIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPersisted(boolean pVal)
throws IOException,
AutomationException
setPersisted in interface INgDataSourcepVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getType()
throws IOException,
AutomationException
getType in interface INgDataSourceIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getObject()
throws IOException,
AutomationException
getObject in interface INgDataSourceIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setObjectByRef(Object pVal)
throws IOException,
AutomationException
setObjectByRef in interface INgDataSourcepVal - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getInitString()
throws IOException,
AutomationException
getInitString in interface INgDataSourceIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setInitString(String pVal)
throws IOException,
AutomationException
setInitString in interface INgDataSourcepVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void open()
throws IOException,
AutomationException
open in interface INgDataSourceIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgRecordset createRecordset(String request)
throws IOException,
AutomationException
createRecordset in interface INgDataSourcerequest - The request (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getClassID()
throws IOException,
AutomationException
getClassID in interface INgDataSourceIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class com.esri.arcgis.interop.DispatchIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class com.esri.arcgis.interop.DispatchIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||