com.esri.arcgis.geoprocessing
Class EnumGPName

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.EnumGPName
All Implemented Interfaces:
IEnumGPName, com.esri.arcgis.interop.RemoteObjRef, IArray, IArray2, java.io.Serializable

public class EnumGPName
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IArray, IArray2, IEnumGPName

COM Class 'EnumGPName'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'

Description 'Enumeration of multiple geoprocessing name objects.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IArray
IID, IIDaafb54d9_aaf8_11d2_87f3_0000f8751720, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IArray2
IID, IIDc4b2bfc5_eb46_4909_801c_c32a6ede120d, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IEnumGPName
IID, IID4daa55f1_b959_4c53_990b_a871b19ba3d6, xxDummy
 
Constructor Summary
EnumGPName()
          Constructs a EnumGPName using ArcGIS Engine.
EnumGPName(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EnumGPName theEnumGPName = (EnumGPName) obj;
 
Method Summary
 void add(java.lang.Object unk)
          Adds an object to the array.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 int getCount()
          The element count of the array.
 java.lang.Object getElement(int index)
          Searches for the object in the array.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void insert(int index, java.lang.Object unk)
          Adds an object to the array at the specified index.
 IGPName next()
          Provides the next name object in the enumeration.
 void release()
          Release a EnumGPName.
 void remove(int index)
          Removes an object from the array.
 void removeAll()
          Removes all objects from the array.
 void replace(int index, java.lang.Object unk)
          Replaces an object in the array.
 void reset()
          Resets the enumerator such that a subsequent next returns the first name object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumGPName

public EnumGPName()
           throws java.io.IOException,
                  java.net.UnknownHostException
Constructs a EnumGPName using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

EnumGPName

public EnumGPName(java.lang.Object obj)
           throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EnumGPName theEnumGPName = (EnumGPName) obj;

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a EnumGPName.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
The element count of the array.

Specified by:
getCount in interface IArray
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElement

public java.lang.Object getElement(int index)
                            throws java.io.IOException,
                                   AutomationException
Searches for the object in the array.

Specified by:
getElement in interface IArray
Parameters:
index - The index (in)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public void add(java.lang.Object unk)
         throws java.io.IOException,
                AutomationException
Adds an object to the array.

Specified by:
add in interface IArray
Parameters:
unk - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

public void insert(int index,
                   java.lang.Object unk)
            throws java.io.IOException,
                   AutomationException
Adds an object to the array at the specified index.

Specified by:
insert in interface IArray
Parameters:
index - The index (in)
unk - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int index)
            throws java.io.IOException,
                   AutomationException
Removes an object from the array.

Specified by:
remove in interface IArray
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

public void removeAll()
               throws java.io.IOException,
                      AutomationException
Removes all objects from the array.

Specified by:
removeAll in interface IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

replace

public void replace(int index,
                    java.lang.Object unk)
             throws java.io.IOException,
                    AutomationException
Replaces an object in the array.

Specified by:
replace in interface IArray2
Parameters:
index - The index (in)
unk - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

public IGPName next()
             throws java.io.IOException,
                    AutomationException
Provides the next name object in the enumeration.

Specified by:
next in interface IEnumGPName
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Resets the enumerator such that a subsequent next returns the first name object.

Specified by:
reset in interface IEnumGPName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.