com.esri.arcgis.gisclient
Class WCSConnectionName

java.lang.Object
  extended by com.esri.arcgis.gisclient.WCSConnectionName
All Implemented Interfaces:
IWCSConnectionName, com.esri.arcgis.interop.RemoteObjRef, IName, java.io.Serializable

public class WCSConnectionName
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IWCSConnectionName, IName

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

Description 'The WCS Connection name.' 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
 
Fields inherited from interface com.esri.arcgis.gisclient.IWCSConnectionName
IID, IIDe1a24fde_e0cb_4c17_bdc0_b5520df063cb, xxDummy
 
Constructor Summary
WCSConnectionName()
          Constructs a WCSConnectionName using ArcGIS Engine.
WCSConnectionName(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
WCSConnectionName theWCSConnectionName = (WCSConnectionName) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 IPropertySet getConnectionInfo()
          Connection info about this connection.
 IPropertySet getConnectionProperties()
          Connection properties that will be used to connect to the WCS server.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getNameString()
          The name string of the object.
 int hashCode()
          the hashcode for this object
 java.lang.Object open()
          Opens the object referred to by this name.
 java.lang.Object openEx(ITrackCancel pTrackCancel)
          Opens the WCS Connection.
 void release()
          Release a WCSConnectionName.
 void setConnectionInfo(IPropertySet ppConnInfo)
          Connection info about this connection.
 void setConnectionProperties(IPropertySet ppConnProps)
          Connection properties that will be used to connect to the WCS server.
 void setNameString(java.lang.String nameString)
          The name string of the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WCSConnectionName

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

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

WCSConnectionName

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

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

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 WCSConnectionName.

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

setConnectionProperties

public void setConnectionProperties(IPropertySet ppConnProps)
                             throws java.io.IOException,
                                    AutomationException
Connection properties that will be used to connect to the WCS server.

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

getConnectionProperties

public IPropertySet getConnectionProperties()
                                     throws java.io.IOException,
                                            AutomationException
Connection properties that will be used to connect to the WCS server.

Specified by:
getConnectionProperties in interface IWCSConnectionName
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConnectionInfo

public void setConnectionInfo(IPropertySet ppConnInfo)
                       throws java.io.IOException,
                              AutomationException
Connection info about this connection.

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

getConnectionInfo

public IPropertySet getConnectionInfo()
                               throws java.io.IOException,
                                      AutomationException
Connection info about this connection.

Specified by:
getConnectionInfo in interface IWCSConnectionName
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openEx

public java.lang.Object openEx(ITrackCancel pTrackCancel)
                        throws java.io.IOException,
                               AutomationException
Opens the WCS Connection.

Specified by:
openEx in interface IWCSConnectionName
Parameters:
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNameString

public void setNameString(java.lang.String nameString)
                   throws java.io.IOException,
                          AutomationException
The name string of the object.

Remarks

The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

getNameString

public java.lang.String getNameString()
                               throws java.io.IOException,
                                      AutomationException
The name string of the object.

Remarks

The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

open

public java.lang.Object open()
                      throws java.io.IOException,
                             AutomationException
Opens the object referred to by this name.

Remarks

The Open method lets you instantiate the actual object given the name object.

Note: Opening a feature class that participates in a topology or geometric network will also open all other feature classes participating in the topology or geometric network in memory.

Example:

IName   pName = pFeatureClassName; 
pFeatureClass = new IFeatureClassProxy(pName.open());

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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