com.esri.arcgis.geoprocessing
Interface IMdModelIteration2

All Superinterfaces:
Serializable
All Known Implementing Classes:
MdModel

public interface IMdModelIteration2
extends Serializable

Provides access to properties/methods of a model iteration.

Product Availability

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


Method Summary
 int getCurrentIteration()
          Current model iteration.
 int getIterationCount()
          Number of times to iterate the model.
 IMdElement getIterationElement()
          Model iteration element.
 int getIterationType()
          Indicates model iteration type.
 void setIterationCount(int count)
          Number of times to iterate the model.
 void setIterationElementByRef(IMdElement ppElement)
          Model iteration element.
 void setIterationType(int type)
          Indicates model iteration type.
 

Method Detail

getIterationType

int getIterationType()
                     throws IOException,
                            AutomationException
Indicates model iteration type.

Product Availability

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

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

setIterationType

void setIterationType(int type)
                      throws IOException,
                             AutomationException
Indicates model iteration type.

Product Availability

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

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

getIterationCount

int getIterationCount()
                      throws IOException,
                             AutomationException
Number of times to iterate the model.

Product Availability

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

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

setIterationCount

void setIterationCount(int count)
                       throws IOException,
                              AutomationException
Number of times to iterate the model.

Product Availability

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

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

getIterationElement

IMdElement getIterationElement()
                               throws IOException,
                                      AutomationException
Model iteration element.

Product Availability

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

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

setIterationElementByRef

void setIterationElementByRef(IMdElement ppElement)
                              throws IOException,
                                     AutomationException
Model iteration element.

Product Availability

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

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

getCurrentIteration

int getCurrentIteration()
                        throws IOException,
                               AutomationException
Current model iteration.

Product Availability

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

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