com.esri.arcgis.schematic
Class SchematicDAOOdbcDirectConnection

java.lang.Object
  extended by com.esri.arcgis.schematic.SchematicDAOOdbcDirectConnection
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ISchematicConnection, IPersist, IPersistStream, ISupportErrorInfo, java.io.Externalizable, java.io.Serializable

public class SchematicDAOOdbcDirectConnection
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IPersistStream, ISupportErrorInfo, ISchematicConnection, java.io.Externalizable

COM Class 'SchematicDAOOdbcDirectConnection'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSchematic.olb'

Description 'Schematic DAO Odbc direct connection object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Fields inherited from interface com.esri.arcgis.system.IPersistStream
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersist
IID0000010c_0000_0000_c000_000000000046
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.schematic.ISchematicConnection
IID, IID22fda053_5eba_4c54_ae60_9c6de836ea8d, xxDummy
 
Constructor Summary
SchematicDAOOdbcDirectConnection()
          Constructs a SchematicDAOOdbcDirectConnection using ArcGIS Engine.
SchematicDAOOdbcDirectConnection(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SchematicDAOOdbcDirectConnection theSchematicDAOOdbcDirectConnection = (SchematicDAOOdbcDirectConnection) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 void getClassID(GUID[] pClassID)
          getClassID
static java.lang.String getClsid()
          getClsid.
 java.lang.String getCLSID()
          The CLSID of the schematic connection.
 java.lang.String getDescription()
          The description of the schematic connection.
 java.lang.String getInitString()
          String used to initialize the schematic connection.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.Object getObject()
          Encapsulated object of the schematic connection.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          getSizeMax
 int getState()
          The schematic connection state of the schematic connection.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void isDirty()
          isDirty
 void load(IStream pstm)
          load
 void open()
          Opens the schematic connection.
 void readExternal(java.io.ObjectInput in)
           
 void release()
          Release a SchematicDAOOdbcDirectConnection.
 void save(IStream pstm, int fClearDirty)
          save
 void setInitString(java.lang.String initString)
          String used to initialize the schematic connection.
 void setObjectByRef(java.lang.Object object)
          Encapsulated object of the schematic connection.
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

SchematicDAOOdbcDirectConnection

public SchematicDAOOdbcDirectConnection()
                                 throws java.io.IOException,
                                        java.net.UnknownHostException
Constructs a SchematicDAOOdbcDirectConnection using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

SchematicDAOOdbcDirectConnection

public SchematicDAOOdbcDirectConnection(java.lang.Object obj)
                                 throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SchematicDAOOdbcDirectConnection theSchematicDAOOdbcDirectConnection = (SchematicDAOOdbcDirectConnection) obj;

Construct a SchematicDAOOdbcDirectConnection using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SchematicDAOOdbcDirectConnection.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a SchematicDAOOdbcDirectConnection.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
isDirty

Specified by:
isDirty in interface IPersistStream
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws java.io.IOException,
                 AutomationException
load

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
save

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws java.io.IOException,
                       AutomationException
getSizeMax

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
getClassID

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getObject

public java.lang.Object getObject()
                           throws java.io.IOException,
                                  AutomationException
Encapsulated object of the schematic connection.

Specified by:
getObject in interface ISchematicConnection
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setObjectByRef

public void setObjectByRef(java.lang.Object object)
                    throws java.io.IOException,
                           AutomationException
Encapsulated object of the schematic connection.

Specified by:
setObjectByRef in interface ISchematicConnection
Parameters:
object - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInitString

public java.lang.String getInitString()
                               throws java.io.IOException,
                                      AutomationException
String used to initialize the schematic connection.

Specified by:
getInitString in interface ISchematicConnection
Returns:
The initString
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setInitString

public void setInitString(java.lang.String initString)
                   throws java.io.IOException,
                          AutomationException
String used to initialize the schematic connection.

Specified by:
setInitString in interface ISchematicConnection
Parameters:
initString - The initString (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

open

public void open()
          throws java.io.IOException,
                 AutomationException
Opens the schematic connection.

Specified by:
open in interface ISchematicConnection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCLSID

public java.lang.String getCLSID()
                          throws java.io.IOException,
                                 AutomationException
The CLSID of the schematic connection.

Specified by:
getCLSID in interface ISchematicConnection
Returns:
The cLSID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDescription

public java.lang.String getDescription()
                                throws java.io.IOException,
                                       AutomationException
The description of the schematic connection.

Specified by:
getDescription in interface ISchematicConnection
Returns:
The description
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getState

public int getState()
             throws java.io.IOException,
                    AutomationException
The schematic connection state of the schematic connection.

Specified by:
getState in interface ISchematicConnection
Returns:
A com.esri.arcgis.schematic.esriSchematicConnectionState constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException