|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geoprocessing.EnumGPName
public class EnumGPName
Enumeration of multiple geoprocessing name objects.
| Constructor Summary | |
|---|---|
EnumGPName()
Constructs a EnumGPName using ArcGIS Engine. |
|
EnumGPName(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. EnumGPName theEnumGPName = (EnumGPName) obj; |
|
| Method Summary | |
|---|---|
void |
add(Object unk)
Adds an object to the array. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getCount()
The element count of the array. |
Object |
getElement(int index)
Searches for the object in the array. |
int |
hashCode()
the hashcode for this object |
void |
insert(int index,
Object unk)
Adds an object to the array at the specified index. |
IGPName |
next()
Provides the next name object in the enumeration. |
void |
remove(int index)
Removes an object from the array. |
void |
removeAll()
Removes all objects from the array. |
void |
replace(int index,
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 |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public EnumGPName()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public EnumGPName(Object obj)
throws IOException
EnumGPName theEnumGPName = (EnumGPName) obj;
obj to EnumGPName.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getCount()
throws IOException,
AutomationException
Returns the number of elements in the array.
getCount in interface IArrayIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getElement(int index)
throws IOException,
AutomationException
getElement in interface IArrayindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void add(Object unk)
throws IOException,
AutomationException
Adds the element to the end of the array.
When adding an object to an Array, you are merely adding a new reference to the object not copying it. The reference is released when the Array is destroyed or the object is removed.
add in interface IArrayunk - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void insert(int index,
Object unk)
throws IOException,
AutomationException
Adds the element to the array at the specified index. The element at the beginning or the array has an index of 0, and the element at the end of the array has in index of Count - 1.
insert in interface IArrayindex - The index (in)unk - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void remove(int index)
throws IOException,
AutomationException
Removes the element at the specified index from the array. The element at the beginning or the array has an index of 0, and the element at the end of the array has in index of Count - 1.
remove in interface IArrayindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeAll()
throws IOException,
AutomationException
Removes all of the elements from the array.
removeAll in interface IArrayIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void replace(int index,
Object unk)
throws IOException,
AutomationException
Replaces the element at the specified index in the array with the specified element. The element at the beginning or the array has an index of 0, and the element at the end of the array has in index of Count - 1.
replace in interface IArray2index - The index (in)unk - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGPName next()
throws IOException,
AutomationException
next in interface IEnumGPNameIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void reset()
throws IOException,
AutomationException
reset in interface IEnumGPNameIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||