com.esri.arcgis.networkanalyst
Interface INALayer3

All Superinterfaces:
INALayer, INALayer2, Serializable
All Known Implementing Classes:
NALayer

public interface INALayer3
extends INALayer2, Serializable

Provides access to the network analysis layer.

Product Availability

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


Method Summary
 int findDataLayerByNAClassName(String name)
          The index of the named datalayer in the collection of DataLayers of the network analysis layer.
 int getAllDataLayerCount()
          The total number of data layers (layers and standalone tables) in the network analysis layer.
 int getAllLayerCount()
          The total number of layers in the network analysis layer.
 int getAllStandaloneTableCount()
          The total number of standalone tables in the network analysis layer.
 IDataLayer getDataLayer(int index)
          The datalayer at the specified index in the collection of DataLayers of the network analysis layer.
 boolean isAccessible(int index)
          Indicates whether the datalayer at the specified index in the collection of DataLayers of the network analysis layer is accessible by ICompositeLayer methods.
 boolean isCanRestrictAccessibility(int index)
          Indicates whether the datalayer at the specified index in the collection of DataLayers of the network analysis layer can be hidden from ICompositeLayer methods.
 void reorder(ILongArray reorderedIndices)
          Reorders the data layers in the network analysis layer based on the input array containing the new datalayer index value for each current index.
 void setAccessible(int index, boolean flag)
          Indicates whether the datalayer at the specified index in the collection of DataLayers of the network analysis layer is accessible by ICompositeLayer methods.
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INALayer2
attachContext, copyContext, getDataLayerByNAClassName
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INALayer
add, clear, delete, getContext, getLayerByNAClassName, isExpanded, setContextByRef, setExpanded
 

Method Detail

getAllDataLayerCount

int getAllDataLayerCount()
                         throws IOException,
                                AutomationException
The total number of data layers (layers and standalone tables) in the network analysis layer.

Product Availability

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

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAllLayerCount

int getAllLayerCount()
                     throws IOException,
                            AutomationException
The total number of layers in the network analysis layer.

Product Availability

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

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAllStandaloneTableCount

int getAllStandaloneTableCount()
                               throws IOException,
                                      AutomationException
The total number of standalone tables in the network analysis layer.

Product Availability

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

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findDataLayerByNAClassName

int findDataLayerByNAClassName(String name)
                               throws IOException,
                                      AutomationException
The index of the named datalayer in the collection of DataLayers of the network analysis layer.

Product Availability

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

Parameters:
name - The name (in)
Returns:
The index
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataLayer

IDataLayer getDataLayer(int index)
                        throws IOException,
                               AutomationException
The datalayer at the specified index in the collection of DataLayers of the network analysis layer.

Product Availability

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

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.carto.IDataLayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanRestrictAccessibility

boolean isCanRestrictAccessibility(int index)
                                   throws IOException,
                                          AutomationException
Indicates whether the datalayer at the specified index in the collection of DataLayers of the network analysis layer can be hidden from ICompositeLayer methods.

Product Availability

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

Parameters:
index - The index (in)
Returns:
The flag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAccessible

boolean isAccessible(int index)
                     throws IOException,
                            AutomationException
Indicates whether the datalayer at the specified index in the collection of DataLayers of the network analysis layer is accessible by ICompositeLayer methods.

Product Availability

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

Parameters:
index - The index (in)
Returns:
The flag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAccessible

void setAccessible(int index,
                   boolean flag)
                   throws IOException,
                          AutomationException
Indicates whether the datalayer at the specified index in the collection of DataLayers of the network analysis layer is accessible by ICompositeLayer methods.

Product Availability

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

Parameters:
index - The index (in)
flag - The flag (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reorder

void reorder(ILongArray reorderedIndices)
             throws IOException,
                    AutomationException
Reorders the data layers in the network analysis layer based on the input array containing the new datalayer index value for each current index.

Product Availability

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

Parameters:
reorderedIndices - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.