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, Serializable

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

The WCS Connection name.

Description

This object is new at ArcGIS 9.3.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
WCSConnectionName()
          Constructs a WCSConnectionName using ArcGIS Engine.
WCSConnectionName(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
WCSConnectionName theWCSConnectionName = (WCSConnectionName) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IPropertySet getConnectionInfo()
          Connection info about this connection.
 IPropertySet getConnectionProperties()
          Connection properties that will be used to connect to the WCS server.
 String getNameString()
          The name string of the object.
 int hashCode()
          the hashcode for this object
 Object open()
          Opens the object referred to by this name.
 Object openEx(ITrackCancel pTrackCancel)
          Opens the WCS Connection.
 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(String nameString)
          The name string of the 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

WCSConnectionName

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

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

WCSConnectionName

public WCSConnectionName(Object obj)
                  throws 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:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

setConnectionProperties

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

Product Availability

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

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

getConnectionProperties

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

Product Availability

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

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

setConnectionInfo

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

Product Availability

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

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

getConnectionInfo

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

Product Availability

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

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

openEx

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

Product Availability

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

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:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNameString

public void setNameString(String nameString)
                   throws 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:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNameString

public String getNameString()
                     throws 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:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

open

public Object open()
            throws 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:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.