com.esri.arcgis.arcweb
Class ArcWebDataSourceInfo

java.lang.Object
  extended by com.esri.arcgis.arcweb.ArcWebDataSourceInfo
All Implemented Interfaces:
IArcWebDataSourceInfo, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class ArcWebDataSourceInfo
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcWebDataSourceInfo

Contains general information about a data source.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ArcWebDataSourceInfo()
          Constructs a ArcWebDataSourceInfo using ArcGIS Engine.
ArcWebDataSourceInfo(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArcWebDataSourceInfo theArcWebDataSourceInfo = (ArcWebDataSourceInfo) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getName()
          The name of the data source.
 String getSummary()
          A summary of the data source.
 String getTitle()
          The title of the data source.
 int hashCode()
          the hashcode for this object
 void setName(String name)
          The name of the data source.
 void setSummary(String summary)
          A summary of the data source.
 void setTitle(String title)
          The title of the data source.
 
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

ArcWebDataSourceInfo

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

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

ArcWebDataSourceInfo

public ArcWebDataSourceInfo(Object obj)
                     throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArcWebDataSourceInfo theArcWebDataSourceInfo = (ArcWebDataSourceInfo) obj;

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

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

getName

public String getName()
               throws IOException,
                      AutomationException
The name of the data source.

Product Availability

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

Specified by:
getName in interface IArcWebDataSourceInfo
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(String name)
             throws IOException,
                    AutomationException
The name of the data source.

Product Availability

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

Specified by:
setName in interface IArcWebDataSourceInfo
Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSummary

public String getSummary()
                  throws IOException,
                         AutomationException
A summary of the data source.

Product Availability

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

Specified by:
getSummary in interface IArcWebDataSourceInfo
Returns:
The summary
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSummary

public void setSummary(String summary)
                throws IOException,
                       AutomationException
A summary of the data source.

Product Availability

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

Specified by:
setSummary in interface IArcWebDataSourceInfo
Parameters:
summary - The summary (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTitle

public String getTitle()
                throws IOException,
                       AutomationException
The title of the data source.

Product Availability

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

Specified by:
getTitle in interface IArcWebDataSourceInfo
Returns:
The title
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTitle

public void setTitle(String title)
              throws IOException,
                     AutomationException
The title of the data source.

Product Availability

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

Specified by:
setTitle in interface IArcWebDataSourceInfo
Parameters:
title - The title (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.