|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.editor.IFieldMapProxy
public class IFieldMapProxy
Provides access to members that control the behavior of the field mapping tools.
A FieldMap contains a number source and target fields for use in attribute transfer.
To create a new FieldMap, instantiate a new FieldMap object then set its source and target feature class via the SourceClass and TargetClass properties. Next set each source and target pair via the SetFieldMap method.
Source/Target field pairs can be can be queried via the FieldMap property, which returns an IEnumFieldMap object containing the field pairs.
A source/target field pair can be removed from a FieldMap by using the DeleteFieldMap method. Only the source field is specified.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IFieldMapProxy()
|
|
IFieldMapProxy(Object obj)
|
protected |
IFieldMapProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
deleteFieldMap(boolean sourceLayer,
IField pField)
Delete an individual field map (source or destination). |
IEnumFieldMap |
getFieldMap()
Enum of field maps. |
IObjectClass |
getSourceClass()
Source class (required) for field mapping. |
IField |
getSourceField(IField pTargetField)
The source field for the provided target field. |
IObjectClass |
getTargetClass()
Target class (required) for field mapping. |
IField |
getTargetField(IField pSourceField)
The target field for the provided source field. |
boolean |
isEmpty()
Indicates if any field mappings have been set. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setFieldMap(IField pSourceField,
IField pTargetField)
Establishes a field mapping between the source and target fields. |
void |
setSourceClassByRef(IObjectClass ppSourceTable)
Source class (required) for field mapping. |
void |
setTargetClassByRef(IObjectClass ppTargetTable)
Target class (required) for field mapping. |
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 |
---|
public boolean noncastable
Constructor Detail |
---|
public IFieldMapProxy()
public IFieldMapProxy(Object obj) throws IOException
IOException
protected IFieldMapProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void setSourceClassByRef(IObjectClass ppSourceTable) throws IOException, AutomationException
setSourceClassByRef
in interface IFieldMap
ppSourceTable
- A reference to a com.esri.arcgis.geodatabase.IObjectClass (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IObjectClass getSourceClass() throws IOException, AutomationException
getSourceClass
in interface IFieldMap
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTargetClassByRef(IObjectClass ppTargetTable) throws IOException, AutomationException
setTargetClassByRef
in interface IFieldMap
ppTargetTable
- A reference to a com.esri.arcgis.geodatabase.IObjectClass (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IObjectClass getTargetClass() throws IOException, AutomationException
getTargetClass
in interface IFieldMap
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFieldMap(IField pSourceField, IField pTargetField) throws IOException, AutomationException
setFieldMap
in interface IFieldMap
pSourceField
- A reference to a com.esri.arcgis.geodatabase.IField (in)pTargetField
- A reference to a com.esri.arcgis.geodatabase.IField (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteFieldMap(boolean sourceLayer, IField pField) throws IOException, AutomationException
deleteFieldMap
in interface IFieldMap
sourceLayer
- The sourceLayer (in)pField
- A reference to a com.esri.arcgis.geodatabase.IField (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumFieldMap getFieldMap() throws IOException, AutomationException
getFieldMap
in interface IFieldMap
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IField getSourceField(IField pTargetField) throws IOException, AutomationException
getSourceField
in interface IFieldMap
pTargetField
- A reference to a com.esri.arcgis.geodatabase.IField (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IField getTargetField(IField pSourceField) throws IOException, AutomationException
getTargetField
in interface IFieldMap
pSourceField
- A reference to a com.esri.arcgis.geodatabase.IField (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEmpty() throws IOException, AutomationException
isEmpty
in interface IFieldMap
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |