com.esri.arcgis.arcweb
Class ArcWebRouteStop

java.lang.Object
  extended by com.esri.arcgis.arcweb.ArcWebRouteStop
All Implemented Interfaces:
IArcWebRouteStop, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class ArcWebRouteStop
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcWebRouteStop

A stop along a route.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ArcWebRouteStop()
          Constructs a ArcWebRouteStop using ArcGIS Engine.
ArcWebRouteStop(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArcWebRouteStop theArcWebRouteStop = (ArcWebRouteStop) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getDescription()
          The name of the stop as it appears in the driving directions.
 IPoint getPoint()
          The x,y coordinates of the stop.
 int hashCode()
          the hashcode for this object
 void setDescription(String description)
          The name of the stop as it appears in the driving directions.
 void setPoint(IPoint point)
          The x,y coordinates of the stop.
 
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

ArcWebRouteStop

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

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

ArcWebRouteStop

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

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

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

getDescription

public String getDescription()
                      throws IOException,
                             AutomationException
The name of the stop as it appears in the driving directions.

Product Availability

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

Specified by:
getDescription in interface IArcWebRouteStop
Returns:
The description
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDescription

public void setDescription(String description)
                    throws IOException,
                           AutomationException
The name of the stop as it appears in the driving directions.

Product Availability

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

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

getPoint

public IPoint getPoint()
                throws IOException,
                       AutomationException
The x,y coordinates of the stop.

Product Availability

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

Specified by:
getPoint in interface IArcWebRouteStop
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPoint

public void setPoint(IPoint point)
              throws IOException,
                     AutomationException
The x,y coordinates of the stop.

Product Availability

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

Specified by:
setPoint in interface IArcWebRouteStop
Parameters:
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.