|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IFieldMap
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.
| Method Summary | |
|---|---|
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 |
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. |
| Method Detail |
|---|
void setSourceClassByRef(IObjectClass ppSourceTable)
throws IOException,
AutomationException
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.
IObjectClass getSourceClass()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setTargetClassByRef(IObjectClass ppTargetTable)
throws IOException,
AutomationException
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.
IObjectClass getTargetClass()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setFieldMap(IField pSourceField,
IField pTargetField)
throws IOException,
AutomationException
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.
void deleteFieldMap(boolean sourceLayer,
IField pField)
throws IOException,
AutomationException
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.
IEnumFieldMap getFieldMap()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IField getSourceField(IField pTargetField)
throws IOException,
AutomationException
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.
IField getTargetField(IField pSourceField)
throws IOException,
AutomationException
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.
boolean isEmpty()
throws IOException,
AutomationException
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 | ||||||||