com.esri.arcgis.networkanalysis
Interface INetworkLoader

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
INetworkLoader2, INetworkLoader3
All Known Implementing Classes:
INetworkLoader2Proxy, INetworkLoader3Proxy, INetworkLoaderProxy, NetworkLoader

public interface INetworkLoader
extends java.io.Serializable

COM Interface 'INetworkLoader'. Generated 3/19/2015 1:20:58 PM from 'C:\ArcGIS\COM\esriNetworkAnalysis.olb'

Description: 'Provides access to members used to create a new geometric network.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID3b310ed4_772a_11d1_b25b_0000f878229e
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void addFeatureClass(java.lang.String featureClassName, int newFeatureType, IUID newClsID, boolean canChangeGeometry)
          Adds a feature class to the new geometric network.
 void addWeight(java.lang.String networkWeightName, int weightType, int bitGateSize)
          Adds a weight to the new geometric network.
 void addWeightAssociation(java.lang.String networkWeightName, java.lang.String featureClassName, java.lang.String fieldName)
          Adds an association between a network weight and a feature class attribute.
 void loadNetwork()
          Creates the new geometric network inside the feature dataset.
 void putAncillaryRole(java.lang.String featureClassName, int ancillaryRole, java.lang.String ancillaryRoleFieldName)
          Specifies the ancillary role attribute field for the specified feature class.
 void putEnabledDisabledFieldName(java.lang.String featureClassName, java.lang.String enabledDisabledFieldName)
          Specifies the enabled/disabled field for the specified feature class.
 void setFeatureDatasetNameByRef(IDatasetName rhs1)
          Feature dataset name to where the new geometric network is to be created.
 void setNetworkName(java.lang.String rhs1)
          Name of the new geometric network.
 void setNetworkType(int rhs1)
          Network type of the new geometric network.
 void setSnapTolerance(double rhs1)
          Snap tolerance to be used in creating the new geometric network.
 

Field Detail

IID3b310ed4_772a_11d1_b25b_0000f878229e

static final int IID3b310ed4_772a_11d1_b25b_0000f878229e
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

setNetworkType

void setNetworkType(int rhs1)
                    throws java.io.IOException,
                           AutomationException
Network type of the new geometric network.

Parameters:
rhs1 - A com.esri.arcgis.geodatabase.esriNetworkType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSnapTolerance

void setSnapTolerance(double rhs1)
                      throws java.io.IOException,
                             AutomationException
Snap tolerance to be used in creating the new geometric network.

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

setNetworkName

void setNetworkName(java.lang.String rhs1)
                    throws java.io.IOException,
                           AutomationException
Name of the new geometric network.

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

setFeatureDatasetNameByRef

void setFeatureDatasetNameByRef(IDatasetName rhs1)
                                throws java.io.IOException,
                                       AutomationException
Feature dataset name to where the new geometric network is to be created.

Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFeatureClass

void addFeatureClass(java.lang.String featureClassName,
                     int newFeatureType,
                     IUID newClsID,
                     boolean canChangeGeometry)
                     throws java.io.IOException,
                            AutomationException
Adds a feature class to the new geometric network.

Parameters:
featureClassName - The featureClassName (in)
newFeatureType - A com.esri.arcgis.geodatabase.esriFeatureType constant (in)
newClsID - A reference to a com.esri.arcgis.system.IUID (in)
canChangeGeometry - The canChangeGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addWeight

void addWeight(java.lang.String networkWeightName,
               int weightType,
               int bitGateSize)
               throws java.io.IOException,
                      AutomationException
Adds a weight to the new geometric network.

Parameters:
networkWeightName - The networkWeightName (in)
weightType - A com.esri.arcgis.geodatabase.esriWeightType constant (in)
bitGateSize - The bitGateSize (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addWeightAssociation

void addWeightAssociation(java.lang.String networkWeightName,
                          java.lang.String featureClassName,
                          java.lang.String fieldName)
                          throws java.io.IOException,
                                 AutomationException
Adds an association between a network weight and a feature class attribute.

Parameters:
networkWeightName - The networkWeightName (in)
featureClassName - The featureClassName (in)
fieldName - The fieldName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putAncillaryRole

void putAncillaryRole(java.lang.String featureClassName,
                      int ancillaryRole,
                      java.lang.String ancillaryRoleFieldName)
                      throws java.io.IOException,
                             AutomationException
Specifies the ancillary role attribute field for the specified feature class.

Parameters:
featureClassName - The featureClassName (in)
ancillaryRole - A com.esri.arcgis.geodatabase.esriNetworkClassAncillaryRole constant (in)
ancillaryRoleFieldName - The ancillaryRoleFieldName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putEnabledDisabledFieldName

void putEnabledDisabledFieldName(java.lang.String featureClassName,
                                 java.lang.String enabledDisabledFieldName)
                                 throws java.io.IOException,
                                        AutomationException
Specifies the enabled/disabled field for the specified feature class.

Parameters:
featureClassName - The featureClassName (in)
enabledDisabledFieldName - The enabledDisabledFieldName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadNetwork

void loadNetwork()
                 throws java.io.IOException,
                        AutomationException
Creates the new geometric network inside the feature dataset.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.