com.esri.arcgis.geodatabase
Interface INameMapping

All Superinterfaces:
Serializable
All Known Subinterfaces:
INameMapping2
All Known Implementing Classes:
INameMapping2Proxy, INameMappingProxy

public interface INameMapping
extends Serializable

Provides access to members that manage name mapping and conflicts between two locations.

Superseded By

INameMapping2

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 IEnumNameMapping getChildren()
          Children objects (if any).
 Object getSourceObject()
          The Source Object.
 String getSuggestedName(IName toName)
          Gets the suggested name of the copied object (if conflict).
 String getTargetName()
          The name of the copied object.
 boolean isNameConflicts()
          Indicates if target name conflicts with source name.
 void setConfigKeyword(String rhs1)
          The configuration keyword (for the data transfer).
 void setTargetName(String name)
          The name of the copied object.
 void validateTargetName(IName toName)
          Checks whether target name conflicts or not.
 

Method Detail

getSourceObject

Object getSourceObject()
                       throws IOException,
                              AutomationException
The Source Object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to another Object (IUnknown)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTargetName

void setTargetName(String name)
                   throws IOException,
                          AutomationException
The name of the copied object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTargetName

String getTargetName()
                     throws IOException,
                            AutomationException
The name of the copied object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

isNameConflicts

boolean isNameConflicts()
                        throws IOException,
                               AutomationException
Indicates if target name conflicts with source name.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

validateTargetName

void validateTargetName(IName toName)
                        throws IOException,
                               AutomationException
Checks whether target name conflicts or not.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
toName - A reference to a com.esri.arcgis.system.IName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSuggestedName

String getSuggestedName(IName toName)
                        throws IOException,
                               AutomationException
Gets the suggested name of the copied object (if conflict).

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getChildren

IEnumNameMapping getChildren()
                             throws IOException,
                                    AutomationException
Children objects (if any).

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.IEnumNameMapping
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConfigKeyword

void setConfigKeyword(String rhs1)
                      throws IOException,
                             AutomationException
The configuration keyword (for the data transfer).

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.