com.esri.arcgis.geodatabase
Interface IEnumNameMapping

All Superinterfaces:
Serializable
All Known Implementing Classes:
IEnumNameMappingProxy

public interface IEnumNameMapping
extends Serializable

Provides access to members that enumerate and find specified name mappings.

Remarks

Provides an enumerator for name mapping collections. These are used when transferring a set of datasets and/or domains from one geodatabase to another. See the INameMapping and INameMapping2 interfaces for more information.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 INameMapping findDatasetName(String name, int type)
          Finds a particular source name.
 INameMapping findDomain(String name)
          Finds a particular Domain.
 INameMapping next()
          Retrieves the next Copy Name Mapping object.
 void reset()
          Resets the enumeration sequence to the beginning.
 

Method Detail

next

INameMapping next()
                  throws IOException,
                         AutomationException
Retrieves the next Copy Name Mapping object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.INameMapping
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

void reset()
           throws IOException,
                  AutomationException
Resets the enumeration sequence to the beginning.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findDatasetName

INameMapping findDatasetName(String name,
                             int type)
                             throws IOException,
                                    AutomationException
Finds a particular source name.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
name - The name (in)
type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INameMapping
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findDomain

INameMapping findDomain(String name)
                        throws IOException,
                               AutomationException
Finds a particular Domain.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INameMapping
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.