com.esri.arcgis.datasourcesraster
Class RasterCommandResult

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.RasterCommandResult
All Implemented Interfaces:
IRasterCommandResult, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class RasterCommandResult
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterCommandResult

The coclass for a raster command result from executing a raster command.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
RasterCommandResult()
          Constructs a RasterCommandResult using ArcGIS Engine.
RasterCommandResult(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterCommandResult theRasterCommandResult = (RasterCommandResult) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IRasterCommand getCommand()
          The executed command.
 void getStatus()
          The return status.
 Object getValue()
          The return value.
 int hashCode()
          the hashcode for this object
 void init(IRasterCommand pCommand, Object value, long status)
          Initializes a raster command result.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

RasterCommandResult

public RasterCommandResult()
                    throws IOException,
                           UnknownHostException
Constructs a RasterCommandResult using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

RasterCommandResult

public RasterCommandResult(Object obj)
                    throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterCommandResult theRasterCommandResult = (RasterCommandResult) obj;

Construct a RasterCommandResult using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RasterCommandResult.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getCommand

public IRasterCommand getCommand()
                          throws IOException,
                                 AutomationException
The executed command.

Product Availability

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

Specified by:
getCommand in interface IRasterCommandResult
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterCommand
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValue

public Object getValue()
                throws IOException,
                       AutomationException
The return value.

Product Availability

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

Specified by:
getValue in interface IRasterCommandResult
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStatus

public void getStatus()
               throws IOException,
                      AutomationException
The return status.

Product Availability

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

Specified by:
getStatus in interface IRasterCommandResult
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init

public void init(IRasterCommand pCommand,
                 Object value,
                 long status)
          throws IOException,
                 AutomationException
Initializes a raster command result.

Product Availability

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

Specified by:
init in interface IRasterCommandResult
Parameters:
pCommand - A reference to a com.esri.arcgis.datasourcesraster.IRasterCommand (in)
value - A Variant (in)
status - An error code (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.