com.esri.arcgis.geodatabase
Class INameMappingProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.INameMappingProxy
All Implemented Interfaces:
INameMapping, Externalizable, Serializable
Direct Known Subclasses:
INameMapping2Proxy

public class INameMappingProxy
extends com.esri.arcgis.interop.Dispatch
implements INameMapping, 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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  INameMappingProxy()
           
  INameMappingProxy(Object obj)
           
protected INameMappingProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 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 readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 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.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

INameMappingProxy

public INameMappingProxy()

INameMappingProxy

public INameMappingProxy(Object obj)
                  throws IOException
Throws:
IOException

INameMappingProxy

protected INameMappingProxy(Object obj,
                            String iid)
                     throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getSourceObject

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setTargetName

public 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

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

getTargetName

public 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

Specified by:
getTargetName in interface INameMapping
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isNameConflicts

public 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

Specified by:
isNameConflicts in interface INameMapping
Returns:
The conflicts
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validateTargetName

public 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

Specified by:
validateTargetName in interface INameMapping
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

public 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

Specified by:
getSuggestedName in interface INameMapping
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

public 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

Specified by:
getChildren in interface INameMapping
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

public 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

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

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException