com.esri.arcgis.geoprocessing
Interface IGPValueExpression

All Superinterfaces:
Serializable
All Known Implementing Classes:
GPMultiValue, GPSAWeightedSum, GPValueTable, MdVariable

public interface IGPValueExpression
extends Serializable

Provides access to GPExpression objects.

Product Availability

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


Method Summary
 String getAsText(IGPVariableManager pVariableManager)
          Gets the text value of the variable value.
 IStringArray getVariableNames()
          Returns a string array of the variable names.
 IArray getVariables()
          Returns an array of variables.
 boolean isResolved()
          Gets the resolved state.
 IGPValue resolveValue(IGPVariableManager pVariableManager)
          Resolves a given variable value.
 void setResolved(boolean pResolved)
          Gets the resolved state.
 void setVariablesByRef(IArray ppVariables)
          Returns an array of variables.
 

Method Detail

isResolved

boolean isResolved()
                   throws IOException,
                          AutomationException
Gets the resolved state.

Product Availability

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

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

setResolved

void setResolved(boolean pResolved)
                 throws IOException,
                        AutomationException
Gets the resolved state.

Product Availability

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

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

resolveValue

IGPValue resolveValue(IGPVariableManager pVariableManager)
                      throws IOException,
                             AutomationException
Resolves a given variable value.

Product Availability

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

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

getVariableNames

IStringArray getVariableNames()
                              throws IOException,
                                     AutomationException
Returns a string array of the variable names.

Product Availability

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

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

getVariables

IArray getVariables()
                    throws IOException,
                           AutomationException
Returns an array of variables.

Product Availability

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

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

setVariablesByRef

void setVariablesByRef(IArray ppVariables)
                       throws IOException,
                              AutomationException
Returns an array of variables.

Product Availability

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

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

getAsText

String getAsText(IGPVariableManager pVariableManager)
                 throws IOException,
                        AutomationException
Gets the text value of the variable value.

Product Availability

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

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