com.esri.arcgis.schematic
Class NgUserAttributeSet

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

public class NgUserAttributeSet
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, INgUserAttributeSet, ISupportErrorInfo

User-attributes set object.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
NgUserAttributeSet(Object obj)
          Construct a NgUserAttributeSet using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 String getName()
          Name allowing the user-attributes set to be referenced.
 Object getObject()
          COM object related to the user-attributes set.
 INgProject getProject()
          Project of the user-attributes set.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void setName(String pVal)
          Name allowing the user-attributes set to be referenced.
 void setObjectByRef(Object pVal)
          COM object related to the user-attributes set.
 
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

NgUserAttributeSet

public NgUserAttributeSet(Object obj)
                   throws IOException
Construct a NgUserAttributeSet using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to NgUserAttributeSet.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
NgUserAttributeSet o = (NgUserAttributeSet)obj; // will not work

NgUserAttributeSet o = new NgUserAttributeSet(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems NgUserAttributeSet theNgUserAttributeSet = (NgUserAttributeSet) obj;
Method Detail

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 allowing the user-attributes set to be referenced.

Product Availability

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

Specified by:
getName in interface INgUserAttributeSet
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
INgProject.getUserAttributeSets(), INgProject.addUserAttributes(java.lang.Object, String)

setName

public void setName(String pVal)
             throws IOException,
                    AutomationException
Name allowing the user-attributes set to be referenced.

Product Availability

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

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

getObject

public Object getObject()
                 throws IOException,
                        AutomationException
COM object related to the user-attributes set.

Product Availability

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

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

setObjectByRef

public void setObjectByRef(Object pVal)
                    throws IOException,
                           AutomationException
COM object related to the user-attributes set.

Product Availability

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

Specified by:
setObjectByRef in interface INgUserAttributeSet
Parameters:
pVal - A reference to another Automation Object (IDispatch) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProject

public INgProject getProject()
                      throws IOException,
                             AutomationException
Project of the user-attributes set.

Product Availability

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

Specified by:
getProject in interface INgUserAttributeSet
Returns:
A reference to a com.esri.arcgis.schematic.INgProject
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.