com.esri.arcgis.schematic
Class NgUserData

java.lang.Object
  extended by com.esri.arcgis.schematic.NgUserData
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, INgUserData, ISupportErrorInfo, Serializable

public class NgUserData
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, INgUserData, ISupportErrorInfo

Userdata object.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
NgUserData()
          Constructs a NgUserData using ArcGIS Engine.
NgUserData(Object obj)
          Construct a NgUserData using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getName()
          Name of the userdata.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void setName(String pVal)
          Name of the userdata.
 
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

NgUserData

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

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

NgUserData

public NgUserData(Object obj)
           throws IOException
Construct a NgUserData using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to NgUserData.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems NgUserData theNgUserData = (NgUserData) obj;
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
Name of the userdata.

Description

This name is defined:

- Either when the INgUserdata is created by code (note that the associated NgUserdata class is a creatable class),

- Or when the userdata is created through ArcGIS Schematics Designer GUI

Product Availability

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

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

setName

public void setName(String pVal)
             throws IOException,
                    AutomationException
Name of the userdata.

Product Availability

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

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

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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