|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesoledb.FdoAdoConnection
public class FdoAdoConnection
ESRI FDO to ADO Connection Object.
Create a new FdoAdoConnection object whenever you want to create or connect to an ADO (ActiveX Data Objects) connection object from an existing workspace object.
IWorkspace
,
Serialized FormConstructor Summary | |
---|---|
FdoAdoConnection()
Constructs a FdoAdoConnection using ArcGIS Engine. |
|
FdoAdoConnection(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. FdoAdoConnection theFdoAdoConnection = (FdoAdoConnection) obj; |
Method Summary | |
---|---|
void |
connect(IWorkspace pWorkspace,
Object pADOConnection)
Connects a Workspace object to an ADO connection object. |
Object |
createADOConnection(IWorkspace pWorkspace)
Creates an ADO connection from a Workspace. |
Object |
createDataSource(IWorkspace pWorkspace)
Creates an OLEDB-FDO Data Source object and connects to existing Workspace. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public FdoAdoConnection() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic FdoAdoConnection(Object obj) throws IOException
FdoAdoConnection theFdoAdoConnection = (FdoAdoConnection) obj;
obj
to FdoAdoConnection
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Object createDataSource(IWorkspace pWorkspace) throws IOException, AutomationException
createDataSource
in interface IESRIDataSourceCreate
pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void connect(IWorkspace pWorkspace, Object pADOConnection) throws IOException, AutomationException
The Connect method connects a workspace object to an ADO (ActiveX Data Objects) connection object. The ADO connection object must exist BUT not be opened, before this method is called. If the ADO connection has any existing properties, they will be over-written.
connect
in interface IFDOToADOConnection
pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)pADOConnection
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IWorkspace
public Object createADOConnection(IWorkspace pWorkspace) throws IOException, AutomationException
The CreateADOConnection method creates an ADO (ActiveX Data Objects) connection from a workspace object. The ADO connection object should not exist before this method is called.
createADOConnection
in interface IFDOToADOConnection
pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IWorkspace
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |