com.esri.arcgis.networkanalyst
Interface INAClassFieldMap

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
INAClassFieldMapProxy, NAClassFieldMap

public interface INAClassFieldMap
extends java.io.Serializable

COM Interface 'INAClassFieldMap'. Generated 3/19/2015 1:20:59 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'

Description: 'Provides access to the the mapping of input fields to output fields.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDcab2ff06_6d86_405d_982f_6f30f3bc58ac
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void createMapping(INAClassDefinition classDef, IFields fields)
          Creates a new field name mapping.
 int getCount()
          The count of field mappings defined.
 java.lang.Object getDefaultValue(java.lang.String fieldName)
          The default field value for a given input field name.
 java.lang.String getFieldName(int index)
          The mapping for the given index.
 java.lang.String getMappedField(java.lang.String fieldName)
          The output field name mapped to a given input field name.
 void remove(java.lang.String fieldName)
          Removes the entry for an existing field name mapping.
 void setDefaultValue(java.lang.String fieldName, java.lang.Object value)
          The default field value for a given input field name.
 void setMappedField(java.lang.String fieldName, java.lang.String mappedField)
          The output field name mapped to a given input field name.
 

Field Detail

IIDcab2ff06_6d86_405d_982f_6f30f3bc58ac

static final int IIDcab2ff06_6d86_405d_982f_6f30f3bc58ac
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

setMappedField

void setMappedField(java.lang.String fieldName,
                    java.lang.String mappedField)
                    throws java.io.IOException,
                           AutomationException
The output field name mapped to a given input field name.

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

getMappedField

java.lang.String getMappedField(java.lang.String fieldName)
                                throws java.io.IOException,
                                       AutomationException
The output field name mapped to a given input field name.

Parameters:
fieldName - The fieldName (in)
Returns:
The mappedField
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultValue

void setDefaultValue(java.lang.String fieldName,
                     java.lang.Object value)
                     throws java.io.IOException,
                            AutomationException
The default field value for a given input field name.

Parameters:
fieldName - The fieldName (in)
value - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultValue

java.lang.Object getDefaultValue(java.lang.String fieldName)
                                 throws java.io.IOException,
                                        AutomationException
The default field value for a given input field name.

Parameters:
fieldName - The fieldName (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(java.lang.String fieldName)
            throws java.io.IOException,
                   AutomationException
Removes the entry for an existing field name mapping.

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

createMapping

void createMapping(INAClassDefinition classDef,
                   IFields fields)
                   throws java.io.IOException,
                          AutomationException
Creates a new field name mapping.

Parameters:
classDef - A reference to a com.esri.arcgis.networkanalyst.INAClassDefinition (in)
fields - A reference to a com.esri.arcgis.geodatabase.IFields (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

int getCount()
             throws java.io.IOException,
                    AutomationException
The count of field mappings defined.

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

getFieldName

java.lang.String getFieldName(int index)
                              throws java.io.IOException,
                                     AutomationException
The mapping for the given index.

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