com.esri.arcgis.networkanalyst
Class TrafficRegion

java.lang.Object
  extended by com.esri.arcgis.networkanalyst.TrafficRegion
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ITrafficRegion, Serializable

public class TrafficRegion
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ITrafficRegion

Traffic region class.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
TrafficRegion()
          Constructs a TrafficRegion using ArcGIS Engine.
TrafficRegion(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TrafficRegion theTrafficRegion = (TrafficRegion) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IArray getFeeds()
          The collection of feeds.
 String getName()
          The region name.
 int hashCode()
          the hashcode for this object
 void setFeeds(IArray ppVal)
          The collection of feeds.
 void setName(String pVal)
          The region name.
 
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

TrafficRegion

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

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

TrafficRegion

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

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

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

getName

public String getName()
               throws IOException,
                      AutomationException
The region name.

Product Availability

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

Specified by:
getName in interface ITrafficRegion
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(String pVal)
             throws IOException,
                    AutomationException
The region name.

Product Availability

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

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

getFeeds

public IArray getFeeds()
                throws IOException,
                       AutomationException
The collection of feeds.

Remarks

Feeds is an IArray of objects that implement ITrafficFeed. It is used to hold a set of traffic feed specifications that are associated with a given region.

Product Availability

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

Specified by:
getFeeds in interface ITrafficRegion
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.

setFeeds

public void setFeeds(IArray ppVal)
              throws IOException,
                     AutomationException
The collection of feeds.

Product Availability

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

Specified by:
setFeeds in interface ITrafficRegion
Parameters:
ppVal - 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.