com.esri.arcgis.geoprocessing
Class EnumGPEnvironment

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

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

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

Description 'Enumeration of multiple geoprocessing environment 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.geoprocessing.IEnumGPEnvironment
IID, IID11ab998a_b838_434a_ae5f_bb865236c76d, xxDummy
 
Constructor Summary
EnumGPEnvironment()
          Constructs a EnumGPEnvironment using ArcGIS Engine.
EnumGPEnvironment(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EnumGPEnvironment theEnumGPEnvironment = (EnumGPEnvironment) 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.
 IGPEnvironment next()
          Returns the next geoprocessing environment in the enumeration.
 void release()
          Release a EnumGPEnvironment.
 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 current position of the enumeration.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumGPEnvironment

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

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

EnumGPEnvironment

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

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

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 EnumGPEnvironment.

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 IGPEnvironment next()
                    throws java.io.IOException,
                           AutomationException
Returns the next geoprocessing environment in the enumeration.

Specified by:
next in interface IEnumGPEnvironment
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGPEnvironment
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 current position of the enumeration.

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