com.esri.arcgis.carto
Interface IStatisticDescription

All Superinterfaces:
Serializable
All Known Implementing Classes:
StatisticDescription

public interface IStatisticDescription
extends Serializable

Provides access to properties describing a statistic to be requested from the server.

Product Availability

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


Method Summary
 String getResultFieldName()
          Optional name of field containing result.
 String getStatisticFieldName()
          Name of field for which statistic should be calculated.
 int getStatisticType()
          Type of statistic.
 void setResultFieldName(String resultFieldName)
          Optional name of field containing result.
 void setStatisticFieldName(String statFieldName)
          Name of field for which statistic should be calculated.
 void setStatisticType(int statType)
          Type of statistic.
 

Method Detail

getStatisticFieldName

String getStatisticFieldName()
                             throws IOException,
                                    AutomationException
Name of field for which statistic should be calculated.

Product Availability

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

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

setStatisticFieldName

void setStatisticFieldName(String statFieldName)
                           throws IOException,
                                  AutomationException
Name of field for which statistic should be calculated.

Product Availability

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

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

getStatisticType

int getStatisticType()
                     throws IOException,
                            AutomationException
Type of statistic.

Product Availability

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

Returns:
A com.esri.arcgis.carto.esriDataStatType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStatisticType

void setStatisticType(int statType)
                      throws IOException,
                             AutomationException
Type of statistic.

Product Availability

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

Parameters:
statType - A com.esri.arcgis.carto.esriDataStatType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getResultFieldName

String getResultFieldName()
                          throws IOException,
                                 AutomationException
Optional name of field containing result.

Product Availability

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

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

setResultFieldName

void setResultFieldName(String resultFieldName)
                        throws IOException,
                               AutomationException
Optional name of field containing result.

Product Availability

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

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