|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.geodatabase.NetworkSource
A container for describing a network dataset source.
A network source is a feature class or table that is used to generate network elements into a network dataset. A NetworkSource object is a light weight object that holds the information about a network source in a network dataset.
The NetworkSource object for an existing network dataset can be accessed through the INetworkDataset interface.
| Constructor Summary | |
NetworkSource()
Constructs a NetworkSource using ArcGIS Engine. |
|
NetworkSource(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Compare this object with another |
INetworkSource |
getAsINetworkSource()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
static java.lang.String |
getClsid()
|
int |
getElementType()
Network element type of this network source. |
int |
getID()
Unique identifier of this network source. |
java.lang.String |
getName()
Name of the class associated with this network source. |
INetworkSourceDirections |
getNetworkSourceDirections()
The driving directions settings for this network source. |
IPropertySet |
getProperties()
Property set of this network source. |
int |
getSourceType()
Type of network source. |
int |
hashCode()
the hashcode for this object |
boolean |
isUsesGeometryInConnectivity()
Indicates if the source object's geometry is used in determining network connectivity. |
void |
setElementType(int elementType)
Network element type of this network source. |
void |
setName(java.lang.String sourceName)
Name of the class associated with this network source. |
void |
setNetworkSourceDirectionsByRef(INetworkSourceDirections sourceDirections)
The driving directions settings for this network source. |
void |
setProperties(IPropertySet sourceProperties)
Property set of this network source. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NetworkSource()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public NetworkSource(java.lang.Object obj)
throws java.io.IOException
obj to NetworkSource. NetworkSource theNetworkSource = (NetworkSource) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public INetworkSource getAsINetworkSource()
public boolean equals(java.lang.Object o)
public int hashCode()
public int getID()
throws java.io.IOException,
AutomationException
INetworkSourceEach source in a Network Dataset is identified by a unique value, the ID property. The ID property can be used to get a reference to the corresponding network source through the INetworkDataset::SourceByID property. This ID is different than the ID value returned by the IObjectClass::ObjectClassID property.
As with ObjectID values, SourceID values are never reused. They are not guaranteed to be sequential, but are guaranteed to be in increasing order based on when the source was added to the network. Unless the source is added or deleted from the DataElement, the SourceID values will remain constant after the INetworkDataset::UpdateSchema method is called.
getID in interface INetworkSourcejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getElementType()
throws java.io.IOException,
AutomationException
INetworkSource
getElementType in interface INetworkSourcejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setElementType(int elementType)
throws java.io.IOException,
AutomationException
INetworkSource
setElementType in interface INetworkSourceelementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getName()
throws java.io.IOException,
AutomationException
INetworkSource
getName in interface INetworkSourceAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setName(java.lang.String sourceName)
throws java.io.IOException,
AutomationException
INetworkSource
setName in interface INetworkSourcesourceName - The sourceName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPropertySet getProperties()
throws java.io.IOException,
AutomationException
INetworkSource
getProperties in interface INetworkSourcejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setProperties(IPropertySet sourceProperties)
throws java.io.IOException,
AutomationException
INetworkSource
setProperties in interface INetworkSourcesourceProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isUsesGeometryInConnectivity()
throws java.io.IOException,
AutomationException
INetworkSourceThe UsesGeometryInConnectivity property indicates whether the geometries of the features in a NetworkSource are used in determining how its network elements are connected to each other.
For example, the geometries of the features in an EdgeFeatureSource and JunctionFeatureSource are used to determine how the generated edge and junction elements connect to each other. The UsesGeometryInConnectivity property for these sources is True.
In contrast, the geometries of the features in a TurnFeatureSource are not used in deteriming how the turn elements are associated with the edges and junctions of the network -- the fields of the TurnFeatureSource feature class determine this. The UsesGeometryInConnectivity property for the TurnFeatureSource is False.
isUsesGeometryInConnectivity in interface INetworkSourceAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getSourceType()
throws java.io.IOException,
AutomationException
INetworkSource
getSourceType in interface INetworkSourceAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public INetworkSourceDirections getNetworkSourceDirections()
throws java.io.IOException,
AutomationException
INetworkSourceThe NetworkSourceDirections property specifies the information needed to generate driving directions when reporting routes traversing elements from this NetworkSource.
getNetworkSourceDirections in interface INetworkSourcejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNetworkSourceDirectionsByRef(INetworkSourceDirections sourceDirections)
throws java.io.IOException,
AutomationException
INetworkSource
setNetworkSourceDirectionsByRef in interface INetworkSourcesourceDirections - A reference to a com.esri.arcgis.geodatabase.INetworkSourceDirections (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||