com.esri.arcgis.geoanalyst
Interface IRemap

All Superinterfaces:
Serializable
All Known Implementing Classes:
NumberRemap, StringRemap

public interface IRemap
extends Serializable

Provides access to members that control reclassification of data.

Product Availability

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


Method Summary
 void clear()
          Clears the remap object.
 void deleteRecord(int recordIndex)
          Deletes a remap record by index.
 int getMinOutputValue()
          The minimum output value.
 int getRecordCount()
          The number of remap records.
 void hasValueToNoData(boolean[] hasToNodata)
          Returns whether any record is mapped to nodata.
 void loadFromTable(ITable remapTable)
          Loads remap records from an ITable and creates the relevant remap object.
 void queryNoDataTo(boolean[] isMapped, int[] outValue)
          Returns whether nodata is mapped and if so, the mapped value.
 void queryRecord(int recordIndex, String[] sInValue, String[] sOutValue)
          Returns info for a remap record by index.
 ITable representAsTable()
          Stores the remap records in an ITable.
 void saveAsTable(String tableName)
          Saves the remap records to a table.
 void setNoDataTo(int rhs1)
          The nodata value.
 void validate(boolean[] bIsValid, String[] sErrorInfo)
          Validates the remap records.
 

Method Detail

getRecordCount

int getRecordCount()
                   throws IOException,
                          AutomationException
The number of remap records.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setNoDataTo

void setNoDataTo(int rhs1)
                 throws IOException,
                        AutomationException
The nodata value.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

queryRecord

void queryRecord(int recordIndex,
                 String[] sInValue,
                 String[] sOutValue)
                 throws IOException,
                        AutomationException
Returns info for a remap record by index.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
recordIndex - The recordIndex (in)
sInValue - The sInValue (out: use single element array)
sOutValue - The sOutValue (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryNoDataTo

void queryNoDataTo(boolean[] isMapped,
                   int[] outValue)
                   throws IOException,
                          AutomationException
Returns whether nodata is mapped and if so, the mapped value.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
isMapped - The isMapped (out: use single element array)
outValue - The outValue (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validate

void validate(boolean[] bIsValid,
              String[] sErrorInfo)
              throws IOException,
                     AutomationException
Validates the remap records.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
bIsValid - The bIsValid (out: use single element array)
sErrorInfo - The sErrorInfo (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteRecord

void deleteRecord(int recordIndex)
                  throws IOException,
                         AutomationException
Deletes a remap record by index.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

clear

void clear()
           throws IOException,
                  AutomationException
Clears the remap object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadFromTable

void loadFromTable(ITable remapTable)
                   throws IOException,
                          AutomationException
Loads remap records from an ITable and creates the relevant remap object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
remapTable - A reference to a com.esri.arcgis.geodatabase.ITable (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveAsTable

void saveAsTable(String tableName)
                 throws IOException,
                        AutomationException
Saves the remap records to a table.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

representAsTable

ITable representAsTable()
                        throws IOException,
                               AutomationException
Stores the remap records in an ITable.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinOutputValue

int getMinOutputValue()
                      throws IOException,
                             AutomationException
The minimum output value.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

hasValueToNoData

void hasValueToNoData(boolean[] hasToNodata)
                      throws IOException,
                             AutomationException
Returns whether any record is mapped to nodata.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
hasToNodata - The hasToNodata (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.