com.esri.arcgis.geodatabase
Class DirectionsAttributeMapping

java.lang.Object
  extended by com.esri.arcgis.geodatabase.DirectionsAttributeMapping
All Implemented Interfaces:
IDirectionsAttributeMapping, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class DirectionsAttributeMapping
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IDirectionsAttributeMapping

A container for a directions attribute mapping.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
DirectionsAttributeMapping()
          Constructs a DirectionsAttributeMapping using ArcGIS Engine.
DirectionsAttributeMapping(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DirectionsAttributeMapping theDirectionsAttributeMapping = (DirectionsAttributeMapping) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 String getAttributeName()
          The network attribute name associated with the directions key name.
static String getClsid()
          getClsid.
 String getKeyName()
          The key name to be used for driving directions generation.
 int hashCode()
          the hashcode for this object
 void setAttributeName(String attributeName)
          The network attribute name associated with the directions key name.
 void setKeyName(String keyName)
          The key name to be used for driving directions generation.
 
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

DirectionsAttributeMapping

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

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

DirectionsAttributeMapping

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

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

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

setKeyName

public void setKeyName(String keyName)
                throws IOException,
                       AutomationException
The key name to be used for driving directions generation.

Product Availability

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

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

getKeyName

public String getKeyName()
                  throws IOException,
                         AutomationException
The key name to be used for driving directions generation.

Product Availability

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

Specified by:
getKeyName in interface IDirectionsAttributeMapping
Returns:
The keyName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAttributeName

public void setAttributeName(String attributeName)
                      throws IOException,
                             AutomationException
The network attribute name associated with the directions key name.

Product Availability

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

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

getAttributeName

public String getAttributeName()
                        throws IOException,
                               AutomationException
The network attribute name associated with the directions key name.

Product Availability

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

Specified by:
getAttributeName in interface IDirectionsAttributeMapping
Returns:
The attributeName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.