|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.NetworkSourceDirections
public class NetworkSourceDirections
A container for describing how to generate driving directions for a network dataset source.
The NetworkSourceDirections coclass contains members for setting directions information at the network source level.
Constructor Summary | |
---|---|
NetworkSourceDirections()
Constructs a NetworkSourceDirections using ArcGIS Engine. |
|
NetworkSourceDirections(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NetworkSourceDirections theNetworkSourceDirections = (NetworkSourceDirections) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
String |
getAdminAreaFieldName()
The name of the field containing the administrative area information for generating driving directions. |
static String |
getClsid()
getClsid. |
IArray |
getFieldMappings()
The collection of directions field mapping. |
IArray |
getLandmarkEventSources()
The collection of DirectionsLandmarkSource items used to generate event bypass instructions. |
IArray |
getLandmarkManeuverSources()
The collection of DirectionsLandmarkSource items used to improve maneuver guidance. |
IShields |
getShields()
The directions shields settings for this source. |
IArray |
getStreetNameFields()
The fields containing the street names used in reporting driving directions. |
int |
hashCode()
the hashcode for this object |
void |
setAdminAreaFieldName(String name)
The name of the field containing the administrative area information for generating driving directions. |
void |
setFieldMappingsByRef(IArray fieldMappings)
The collection of directions field mapping. |
void |
setLandmarkEventSourcesByRef(IArray eventSources)
The collection of DirectionsLandmarkSource items used to generate event bypass instructions. |
void |
setLandmarkManeuverSourcesByRef(IArray maneuverSources)
The collection of DirectionsLandmarkSource items used to improve maneuver guidance. |
void |
setShieldsByRef(IShields shields)
The directions shields settings for this source. |
void |
setStreetNameFieldsByRef(IArray fields)
The fields containing the street names used in reporting driving directions. |
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 NetworkSourceDirections() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic NetworkSourceDirections(Object obj) throws IOException
NetworkSourceDirections theNetworkSourceDirections = (NetworkSourceDirections) obj;
obj
to NetworkSourceDirections
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IShields getShields() throws IOException, AutomationException
The Shields property takes in an IShields object that contains the Shields information for each network source.
getShields
in interface INetworkSourceDirections
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShieldsByRef(IShields shields) throws IOException, AutomationException
setShieldsByRef
in interface INetworkSourceDirections
shields
- A reference to a com.esri.arcgis.geodatabase.IShields (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getAdminAreaFieldName() throws IOException, AutomationException
The AdminAreaFieldName property takes in a field name pointing to a field that contains information on moving from one region to another. For example, a network source may have a field called "States" that lists which state each feature is in. When directions are generated, this field can be used for indicating when the network analysis result crosses from one region into another.
Only one AdminAreaFieldName can be specified for each network source.
getAdminAreaFieldName
in interface INetworkSourceDirections
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAdminAreaFieldName(String name) throws IOException, AutomationException
setAdminAreaFieldName
in interface INetworkSourceDirections
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray getStreetNameFields() throws IOException, AutomationException
The StreetNameFields property takes in an IArray object that contains one to many IStreetNameFields objects. This property allows the specification of a primary name and many alternate names for edge sources.
getStreetNameFields
in interface INetworkSourceDirections
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStreetNameFieldsByRef(IArray fields) throws IOException, AutomationException
setStreetNameFieldsByRef
in interface INetworkSourceDirections
fields
- 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 IArray getFieldMappings() throws IOException, AutomationException
getFieldMappings
in interface INetworkSourceDirections2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFieldMappingsByRef(IArray fieldMappings) throws IOException, AutomationException
setFieldMappingsByRef
in interface INetworkSourceDirections2
fieldMappings
- 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 IArray getLandmarkEventSources() throws IOException, AutomationException
getLandmarkEventSources
in interface INetworkSourceDirections3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLandmarkEventSourcesByRef(IArray eventSources) throws IOException, AutomationException
setLandmarkEventSourcesByRef
in interface INetworkSourceDirections3
eventSources
- 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 IArray getLandmarkManeuverSources() throws IOException, AutomationException
getLandmarkManeuverSources
in interface INetworkSourceDirections3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLandmarkManeuverSourcesByRef(IArray maneuverSources) throws IOException, AutomationException
setLandmarkManeuverSourcesByRef
in interface INetworkSourceDirections3
maneuverSources
- A reference to a com.esri.arcgis.system.IArray (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 |