com.esri.arcgis.geodatabase
Class NamesEnumerator

java.lang.Object
  extended by com.esri.arcgis.geodatabase.NamesEnumerator
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IEnumName, IEnumNameEdit, java.io.Serializable

public class NamesEnumerator
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumName, IEnumNameEdit

COM Class 'NamesEnumerator'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'Esri Name Enumerator object.' 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.IEnumName
IID, IIDef237a51_cb69_11d2_9f26_00c04f6bc69e, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IEnumNameEdit
IID, IIDfdafad91_67fe_11d4_8155_00c04f686238, xxDummy
 
Constructor Summary
NamesEnumerator()
          Constructs a NamesEnumerator using ArcGIS Engine.
NamesEnumerator(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NamesEnumerator theNamesEnumerator = (NamesEnumerator) obj;
 
Method Summary
 void add(IName name)
          Adds a Name in the list.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 IName next()
          Obtains the next Name in the list.
 void release()
          Release a NamesEnumerator.
 void remove(IName name)
          Removes a Name from the list.
 void removeCurrent()
          Removes current name from the list (when enumerating).
 void reset()
          Resets the current position to the beginning.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamesEnumerator

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

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

NamesEnumerator

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

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

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

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

next

public IName next()
           throws java.io.IOException,
                  AutomationException
Obtains the next Name in the list.

Specified by:
next in interface IEnumName
Returns:
A reference to a com.esri.arcgis.system.IName
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 to the beginning.

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

add

public void add(IName name)
         throws java.io.IOException,
                AutomationException
Adds a Name in the list.

Specified by:
add in interface IEnumNameEdit
Parameters:
name - A reference to a com.esri.arcgis.system.IName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(IName name)
            throws java.io.IOException,
                   AutomationException
Removes a Name from the list.

Specified by:
remove in interface IEnumNameEdit
Parameters:
name - A reference to a com.esri.arcgis.system.IName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeCurrent

public void removeCurrent()
                   throws java.io.IOException,
                          AutomationException
Removes current name from the list (when enumerating).

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