|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geodatabase.NetworkDirections
public class NetworkDirections
A container for describing and using network directions.
Network Datasets can have direction information associated with them in order to provide more accurate and useful analysis results. Some properties of directions, such as the output length units or length attribute, are set at the network dataset level and are specified with the INetworkDirections interface. Other properties, such as the street name fields and the administrative boundary fields, are set at the source level using the INetworkSourceDirections interface. The highway signage information is specified with the ISignposts interface.
| Constructor Summary | |
|---|---|
NetworkDirections()
Constructs a NetworkDirections using ArcGIS Engine. |
|
NetworkDirections(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NetworkDirections theNetworkDirections = (NetworkDirections) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
IArray |
getAttributeMappings()
The collection of directions attribute mapping. |
static String |
getClsid()
getClsid. |
int |
getDefaultOutputLengthUnits()
The default length units that will be used for reporting distances in driving directions. |
String |
getLengthAttributeName()
The name of the network attribute to be used for reporting travel distances. |
String |
getRoadClassAttributeName()
The name of the network attribute to be used for road classification. |
String |
getSignpostFeatureClassName()
The name of the feature class containing the signposts. |
String |
getSignpostStreetsTableName()
The name of the indexed table of signpost street references. |
String |
getTimeAttributeName()
The name of the network attribute to be used for reporting travel time. |
int |
hashCode()
the hashcode for this object |
void |
setAttributeMappingsByRef(IArray attributeMappings)
The collection of directions attribute mapping. |
void |
setDefaultOutputLengthUnits(int units)
The default length units that will be used for reporting distances in driving directions. |
void |
setLengthAttributeName(String name)
The name of the network attribute to be used for reporting travel distances. |
void |
setRoadClassAttributeName(String name)
The name of the network attribute to be used for road classification. |
void |
setSignpostFeatureClassName(String className)
The name of the feature class containing the signposts. |
void |
setSignpostStreetsTableName(String tableName)
The name of the indexed table of signpost street references. |
void |
setTimeAttributeName(String name)
The name of the network attribute to be used for reporting travel time. |
| 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 |
|---|
public NetworkDirections()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public NetworkDirections(Object obj)
throws IOException
NetworkDirections theNetworkDirections = (NetworkDirections) obj;
obj to NetworkDirections.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getDefaultOutputLengthUnits()
throws IOException,
AutomationException
The DefaultOutputLengthUnits that will be used for generating directions. This property is required for Direction generation.
The valid values are: esriNAUMiles, esriNAUKilometers, esriNAUMeters, esriNAUYards, and esriNAUFeet from the esriNetworkAttributeUnits enumeration.
This value does not have to correspond to the units specified for the LengthAttributeName property.
getDefaultOutputLengthUnits in interface INetworkDirectionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaultOutputLengthUnits(int units)
throws IOException,
AutomationException
setDefaultOutputLengthUnits in interface INetworkDirectionsunits - A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getLengthAttributeName()
throws IOException,
AutomationException
The LengthAttributeName property is the attribute that will be used for distance measurements. The attribute must have a units value from the esriNetworkAttributeUnits enumeration that corresponds to a distance measurement and must be a Cost attribute. This does not have to be same value as specified in the DefaultOutputLengthUnits property. This property is required for Direction generation.
getLengthAttributeName in interface INetworkDirectionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLengthAttributeName(String name)
throws IOException,
AutomationException
setLengthAttributeName in interface INetworkDirectionsname - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getTimeAttributeName()
throws IOException,
AutomationException
The TimeAttributeName property is the attribute that will be used for time measurements. The attribute must have a units value from the esriNetworkAttributeUnits enumeration that corresponds to a unit of time and must be a Cost attribute.
getTimeAttributeName in interface INetworkDirectionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTimeAttributeName(String name)
throws IOException,
AutomationException
setTimeAttributeName in interface INetworkDirectionsname - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getRoadClassAttributeName()
throws IOException,
AutomationException
The RoadClassAttributeName property is the attribute that will be used for identifying different classes of roads in direction generation. The attribute must be of usage type: esriNAUTDescriptor and of data type: esriNADTInteger.
getRoadClassAttributeName in interface INetworkDirectionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRoadClassAttributeName(String name)
throws IOException,
AutomationException
setRoadClassAttributeName in interface INetworkDirectionsname - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArray getAttributeMappings()
throws IOException,
AutomationException
getAttributeMappings in interface INetworkDirections2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAttributeMappingsByRef(IArray attributeMappings)
throws IOException,
AutomationException
setAttributeMappingsByRef in interface INetworkDirections2attributeMappings - A reference to a com.esri.arcgis.system.IArray (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getSignpostFeatureClassName()
throws IOException,
AutomationException
getSignpostFeatureClassName in interface ISignpostsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSignpostFeatureClassName(String className)
throws IOException,
AutomationException
setSignpostFeatureClassName in interface ISignpostsclassName - The className (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getSignpostStreetsTableName()
throws IOException,
AutomationException
getSignpostStreetsTableName in interface ISignpostsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSignpostStreetsTableName(String tableName)
throws IOException,
AutomationException
setSignpostStreetsTableName in interface ISignpoststableName - The tableName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||