com.esri.arcgis.geoprocessing
Class GpRandomNumberGeneratorObject

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.GpRandomNumberGeneratorObject
All Implemented Interfaces:
IGpRandomNumberGeneratorObject, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class GpRandomNumberGeneratorObject
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IGpRandomNumberGeneratorObject

Geoprocessing RandomGenerator object.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
GpRandomNumberGeneratorObject()
          Constructs a GpRandomNumberGeneratorObject using ArcGIS Engine.
GpRandomNumberGeneratorObject(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GpRandomNumberGeneratorObject theGpRandomNumberGeneratorObject = (GpRandomNumberGeneratorObject) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 String exportToString()
          Get the string representation of the generator
static String getClsid()
          getClsid.
 IGPRandomNumberGenerator getRandomNumberGenerator()
          The RandomNumberGenerator.
 int hashCode()
          the hashcode for this object
 void loadFromString(String valueText)
          Initialize the generator by text string
 void setRandomNumberGeneratorByRef(IGPRandomNumberGenerator ppRandGen)
          The RandomNumberGenerator.
 
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

GpRandomNumberGeneratorObject

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

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

GpRandomNumberGeneratorObject

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

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

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

getRandomNumberGenerator

public IGPRandomNumberGenerator getRandomNumberGenerator()
                                                  throws IOException,
                                                         AutomationException
The RandomNumberGenerator.

Product Availability

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

Specified by:
getRandomNumberGenerator in interface IGpRandomNumberGeneratorObject
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGPRandomNumberGenerator
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRandomNumberGeneratorByRef

public void setRandomNumberGeneratorByRef(IGPRandomNumberGenerator ppRandGen)
                                   throws IOException,
                                          AutomationException
The RandomNumberGenerator.

Product Availability

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

Specified by:
setRandomNumberGeneratorByRef in interface IGpRandomNumberGeneratorObject
Parameters:
ppRandGen - A reference to a com.esri.arcgis.geoprocessing.IGPRandomNumberGenerator (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadFromString

public void loadFromString(String valueText)
                    throws IOException,
                           AutomationException
Initialize the generator by text string

Product Availability

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

Specified by:
loadFromString in interface IGpRandomNumberGeneratorObject
Parameters:
valueText - The valueText (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportToString

public String exportToString()
                      throws IOException,
                             AutomationException
Get the string representation of the generator

Product Availability

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

Specified by:
exportToString in interface IGpRandomNumberGeneratorObject
Returns:
The valueText
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.