com.esri.arcgis.schematic
Class NgUserProcedureSet

java.lang.Object
  extended by com.esri.arcgis.schematic.NgUserProcedureSet
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, INgUserProcedureSet, Serializable

public class NgUserProcedureSet
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, INgUserProcedureSet

User-procedures set object.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
NgUserProcedureSet(Object obj)
          Construct a NgUserProcedureSet 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-procedures set to be referenced.
 Object getObject()
          COM object related to the user-procedures set.
 INgProject getProject()
          Project of the user-procedures set.
 int hashCode()
          the hashcode for this object
 void setName(String pVal)
          Name allowing the user-procedures set to be referenced.
 void setObjectByRef(Object pVal)
          COM object related to the user-procedures 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

NgUserProcedureSet

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

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

Throws:
IOException - if there are interop problems NgUserProcedureSet theNgUserProcedureSet = (NgUserProcedureSet) 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-procedures set to be referenced.

Product Availability

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

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

setName

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

Product Availability

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

Specified by:
setName in interface INgUserProcedureSet
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-procedures set.

Product Availability

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

Specified by:
getObject in interface INgUserProcedureSet
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-procedures set.

Product Availability

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

Specified by:
setObjectByRef in interface INgUserProcedureSet
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-procedures set.

Product Availability

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

Specified by:
getProject in interface INgUserProcedureSet
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.