com.esri.arcgis.editor
Class IAttributeTransferProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.editor.IAttributeTransferProxy
All Implemented Interfaces:
IAttributeTransfer, Externalizable, Serializable

public class IAttributeTransferProxy
extends com.esri.arcgis.interop.Dispatch
implements IAttributeTransfer, Serializable

Provides access to members that control the behavior of the attribute transfer tools.

When To Use

Use this interface to perform an Attribute Transfer via the Transfer method. This method requires a fieldmap which can either be created programmatically or retrieved from the Attribute Transfer environment if set by the dialog on the Spatial Adjustment menu.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IAttributeTransferProxy()
           
  IAttributeTransferProxy(Object obj)
           
protected IAttributeTransferProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void deleteFieldMap(IFieldMap pFieldMap)
          Delete a field map.
 IFieldMap findFieldMap(IObjectClass pSourceTable, IObjectClass pTargetTable)
          Finds a stored field mapping.
 void getName(String[] pName)
          Name of the current attribute type.
 void removeListener(String iidStr, Object theListener)
           
 void setFieldMapByRef(IFieldMap rhs1)
          Adds a field map.
 void transfer(IFieldMap pFieldMap, IRow pSourceRow, IRow pTargetRow, boolean[] pSuccessful)
          Transfer attributes between rows based on the field map.
 
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, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IAttributeTransferProxy

public IAttributeTransferProxy()

IAttributeTransferProxy

public IAttributeTransferProxy(Object obj)
                        throws IOException
Throws:
IOException

IAttributeTransferProxy

protected IAttributeTransferProxy(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

getName

public void getName(String[] pName)
             throws IOException,
                    AutomationException
Name of the current attribute type.

Product Availability

Available with ArcGIS Desktop.

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

setFieldMapByRef

public void setFieldMapByRef(IFieldMap rhs1)
                      throws IOException,
                             AutomationException
Adds a field map. This will overwrite any existing field map with the same pair of source and target object classes.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setFieldMapByRef in interface IAttributeTransfer
Parameters:
rhs1 - A reference to a com.esri.arcgis.editor.IFieldMap (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteFieldMap

public void deleteFieldMap(IFieldMap pFieldMap)
                    throws IOException,
                           AutomationException
Delete a field map.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
deleteFieldMap in interface IAttributeTransfer
Parameters:
pFieldMap - A reference to a com.esri.arcgis.editor.IFieldMap (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findFieldMap

public IFieldMap findFieldMap(IObjectClass pSourceTable,
                              IObjectClass pTargetTable)
                       throws IOException,
                              AutomationException
Finds a stored field mapping. A field map with any source or target can be found by place a null for the argument.

Remarks

A layer feature class (IFeatureClass) is a type of IObjectClass and can be used for these required objects.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
findFieldMap in interface IAttributeTransfer
Parameters:
pSourceTable - A reference to a com.esri.arcgis.geodatabase.IObjectClass (in)
pTargetTable - A reference to a com.esri.arcgis.geodatabase.IObjectClass (in)
Returns:
A reference to a com.esri.arcgis.editor.IFieldMap
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

transfer

public void transfer(IFieldMap pFieldMap,
                     IRow pSourceRow,
                     IRow pTargetRow,
                     boolean[] pSuccessful)
              throws IOException,
                     AutomationException
Transfer attributes between rows based on the field map.

Remarks

Features (IFeature) are a type of IRow object and may be used for these required objects.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
transfer in interface IAttributeTransfer
Parameters:
pFieldMap - A reference to a com.esri.arcgis.editor.IFieldMap (in)
pSourceRow - A reference to a com.esri.arcgis.geodatabase.IRow (in)
pTargetRow - A reference to a com.esri.arcgis.geodatabase.IRow (in)
pSuccessful - The pSuccessful (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.