com.esri.arcgis.geodatabase
Class DirectionsFieldMapping

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

public class DirectionsFieldMapping
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IDirectionsFieldMapping

A container for a directions field mapping.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
DirectionsFieldMapping()
          Constructs a DirectionsFieldMapping using ArcGIS Engine.
DirectionsFieldMapping(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DirectionsFieldMapping theDirectionsFieldMapping = (DirectionsFieldMapping) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getFieldName(int direction)
          The network source field name associated with the directions key name and direction.
 String getKeyName()
          The directions key name of the directions field mapping.
 int hashCode()
          the hashcode for this object
 void setFieldName(int direction, String fieldName)
          The network source field name associated with the directions key name and direction.
 void setKeyName(String keyName)
          The directions key name of the directions field mapping.
 
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

DirectionsFieldMapping

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

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

DirectionsFieldMapping

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

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

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 directions key name of the directions field mapping.

Product Availability

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

Specified by:
setKeyName in interface IDirectionsFieldMapping
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 directions key name of the directions field mapping.

Product Availability

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

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

setFieldName

public void setFieldName(int direction,
                         String fieldName)
                  throws IOException,
                         AutomationException
The network source field name associated with the directions key name and direction.

Product Availability

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

Specified by:
setFieldName in interface IDirectionsFieldMapping
Parameters:
direction - A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant (in)
fieldName - The fieldName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldName

public String getFieldName(int direction)
                    throws IOException,
                           AutomationException
The network source field name associated with the directions key name and direction.

Product Availability

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

Specified by:
getFieldName in interface IDirectionsFieldMapping
Parameters:
direction - A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant (in)
Returns:
The fieldName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.