|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.networkanalysis.NetworkLoader
public class NetworkLoader
COM Class 'NetworkLoader'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriNetworkAnalysis.olb'
Description 'A container for specifying the parameters for building a 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 |
---|
Fields inherited from interface com.esri.arcgis.networkanalysis.INetworkLoader3 |
---|
IID, IID3e11f7be_9c8e_4ce3_b282_91740166259f, xxDummy |
Fields inherited from interface com.esri.arcgis.networkanalysis.INetworkLoader2 |
---|
IIDdf31f749_148d_11d4_a0ea_00c04f6bdf0e |
Fields inherited from interface com.esri.arcgis.networkanalysis.INetworkLoader |
---|
IID3b310ed4_772a_11d1_b25b_0000f878229e |
Fields inherited from interface com.esri.arcgis.networkanalysis.INetworkLoaderProps |
---|
IID, IID8f313d14_49de_11d3_9f5a_00c04f68e627, xxDummy |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Constructor Summary | |
---|---|
NetworkLoader()
Constructs a NetworkLoader using ArcGIS Engine. |
|
NetworkLoader(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NetworkLoader theNetworkLoader = (NetworkLoader) obj; |
Method Summary | |
---|---|
void |
addFeatureClass(java.lang.String featureClassName,
int newFeatureType,
IUID newClsID,
boolean canChangeGeometry)
Adds a feature class to the new geometric network. |
void |
addINetworkLoaderProgressListener(INetworkLoaderProgress theListener)
addINetworkLoaderProgressListener. |
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. |
int |
canUseFeatureClass(java.lang.String featureClassName)
Determines if the given feature class can participate in a network. |
int |
checkAncillaryRoleField(java.lang.String featureClassName,
java.lang.String fieldName)
Determines whether the given AncillaryRole field is valid. |
int |
checkEnabledDisabledField(java.lang.String featureClassName,
java.lang.String fieldName)
Determines whether the given Enabled field is valid. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
java.lang.String |
getDefaultAncillaryRoleDomain()
Default ancillary role domain name. |
java.lang.String |
getDefaultAncillaryRoleField()
Default ancillary role field name. |
java.lang.String |
getDefaultEnabledDomain()
Default enabled domain name. |
java.lang.String |
getDefaultEnabledField()
Default enabled field name. |
double |
getDefaultSnapTolerance()
Default nonzero XY cluster tolerance. |
double |
getDefaultZSnapTolerance()
Default nonzero Z cluster tolerance. |
java.lang.String |
getErrorTableName()
Name of the table containing errors encountered while building the new geometric network. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
double |
getMaxSnapTolerance()
Maximum nonzero XY cluster tolerance. |
double |
getMaxZSnapTolerance()
Maximum nonzero Z cluster tolerance. |
double |
getMinSnapTolerance()
Minimum nonzero snap tolerance for creating a new geometric network. |
double |
getMinZSnapTolerance()
Minimum nonzero Z cluster tolerance. |
int |
getNumInvalidFeatures(java.lang.String featureClassName)
Number of features with invalid geometry in the given feature class. |
int |
getTotalNumInvalidFeatures()
Total number of features with invalid geometry. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isCanUseZs()
Indicates if Z coordinates are used for snapping and connectivity. |
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 |
release()
Release a NetworkLoader. |
void |
removeINetworkLoaderProgressListener(INetworkLoaderProgress theListener)
removeINetworkLoaderProgressListener. |
void |
setConfigurationKeyword(java.lang.String rhs1)
Configuration keyword for the new geometric network. |
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 |
setPreserveEnabledValues(boolean rhs1)
Indicates if the Network Loader should preserve the values in the existing Enabled fields. |
void |
setSnapTolerance(double rhs1)
Snap tolerance to be used in creating the new geometric network. |
void |
setUseXYsForSnapping(boolean rhs1)
Indicates if the feature classes are snapped on XY plane. |
void |
setUseZs(boolean rhs1)
Indicates if Z coordinates are used for snapping and connectivity. |
void |
setZSnapTolerance(double rhs1)
Snap tolerance for Z coordinates. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetworkLoader() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic NetworkLoader(java.lang.Object obj) throws java.io.IOException
NetworkLoader theNetworkLoader = (NetworkLoader) obj;
obj
to NetworkLoader
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void addINetworkLoaderProgressListener(INetworkLoaderProgress theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.networkanalysis.INetworkLoaderProgress interface.
java.io.IOException
- If there are communications problems.public void removeINetworkLoaderProgressListener(INetworkLoaderProgress theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.networkanalysis.INetworkLoaderProgress interface.
java.io.IOException
- If there are communications problems.public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setNetworkType(int rhs1) throws java.io.IOException, AutomationException
setNetworkType
in interface INetworkLoader
rhs1
- A com.esri.arcgis.geodatabase.esriNetworkType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSnapTolerance(double rhs1) throws java.io.IOException, AutomationException
setSnapTolerance
in interface INetworkLoader
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNetworkName(java.lang.String rhs1) throws java.io.IOException, AutomationException
setNetworkName
in interface INetworkLoader
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFeatureDatasetNameByRef(IDatasetName rhs1) throws java.io.IOException, AutomationException
setFeatureDatasetNameByRef
in interface INetworkLoader
rhs1
- A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addFeatureClass(java.lang.String featureClassName, int newFeatureType, IUID newClsID, boolean canChangeGeometry) throws java.io.IOException, AutomationException
addFeatureClass
in interface INetworkLoader
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addWeight(java.lang.String networkWeightName, int weightType, int bitGateSize) throws java.io.IOException, AutomationException
addWeight
in interface INetworkLoader
networkWeightName
- The networkWeightName (in)weightType
- A com.esri.arcgis.geodatabase.esriWeightType constant (in)bitGateSize
- The bitGateSize (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addWeightAssociation(java.lang.String networkWeightName, java.lang.String featureClassName, java.lang.String fieldName) throws java.io.IOException, AutomationException
addWeightAssociation
in interface INetworkLoader
networkWeightName
- The networkWeightName (in)featureClassName
- The featureClassName (in)fieldName
- The fieldName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void putAncillaryRole(java.lang.String featureClassName, int ancillaryRole, java.lang.String ancillaryRoleFieldName) throws java.io.IOException, AutomationException
putAncillaryRole
in interface INetworkLoader
featureClassName
- The featureClassName (in)ancillaryRole
- A com.esri.arcgis.geodatabase.esriNetworkClassAncillaryRole constant (in)ancillaryRoleFieldName
- The ancillaryRoleFieldName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void putEnabledDisabledFieldName(java.lang.String featureClassName, java.lang.String enabledDisabledFieldName) throws java.io.IOException, AutomationException
putEnabledDisabledFieldName
in interface INetworkLoader
featureClassName
- The featureClassName (in)enabledDisabledFieldName
- The enabledDisabledFieldName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadNetwork() throws java.io.IOException, AutomationException
loadNetwork
in interface INetworkLoader
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setConfigurationKeyword(java.lang.String rhs1) throws java.io.IOException, AutomationException
setConfigurationKeyword
in interface INetworkLoader2
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMinSnapTolerance() throws java.io.IOException, AutomationException
getMinSnapTolerance
in interface INetworkLoader2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int canUseFeatureClass(java.lang.String featureClassName) throws java.io.IOException, AutomationException
canUseFeatureClass
in interface INetworkLoader2
featureClassName
- The featureClassName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int checkEnabledDisabledField(java.lang.String featureClassName, java.lang.String fieldName) throws java.io.IOException, AutomationException
checkEnabledDisabledField
in interface INetworkLoader2
featureClassName
- The featureClassName (in)fieldName
- The fieldName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int checkAncillaryRoleField(java.lang.String featureClassName, java.lang.String fieldName) throws java.io.IOException, AutomationException
checkAncillaryRoleField
in interface INetworkLoader2
featureClassName
- The featureClassName (in)fieldName
- The fieldName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPreserveEnabledValues(boolean rhs1) throws java.io.IOException, AutomationException
setPreserveEnabledValues
in interface INetworkLoader2
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getErrorTableName() throws java.io.IOException, AutomationException
getErrorTableName
in interface INetworkLoader2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTotalNumInvalidFeatures() throws java.io.IOException, AutomationException
getTotalNumInvalidFeatures
in interface INetworkLoader2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNumInvalidFeatures(java.lang.String featureClassName) throws java.io.IOException, AutomationException
getNumInvalidFeatures
in interface INetworkLoader2
featureClassName
- The featureClassName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseXYsForSnapping(boolean rhs1) throws java.io.IOException, AutomationException
setUseXYsForSnapping
in interface INetworkLoader3
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanUseZs() throws java.io.IOException, AutomationException
isCanUseZs
in interface INetworkLoader3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseZs(boolean rhs1) throws java.io.IOException, AutomationException
setUseZs
in interface INetworkLoader3
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setZSnapTolerance(double rhs1) throws java.io.IOException, AutomationException
setZSnapTolerance
in interface INetworkLoader3
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMaxSnapTolerance() throws java.io.IOException, AutomationException
getMaxSnapTolerance
in interface INetworkLoader3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getDefaultSnapTolerance() throws java.io.IOException, AutomationException
getDefaultSnapTolerance
in interface INetworkLoader3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMinZSnapTolerance() throws java.io.IOException, AutomationException
getMinZSnapTolerance
in interface INetworkLoader3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMaxZSnapTolerance() throws java.io.IOException, AutomationException
getMaxZSnapTolerance
in interface INetworkLoader3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getDefaultZSnapTolerance() throws java.io.IOException, AutomationException
getDefaultZSnapTolerance
in interface INetworkLoader3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDefaultEnabledDomain() throws java.io.IOException, AutomationException
getDefaultEnabledDomain
in interface INetworkLoaderProps
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDefaultEnabledField() throws java.io.IOException, AutomationException
getDefaultEnabledField
in interface INetworkLoaderProps
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDefaultAncillaryRoleDomain() throws java.io.IOException, AutomationException
getDefaultAncillaryRoleDomain
in interface INetworkLoaderProps
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDefaultAncillaryRoleField() throws java.io.IOException, AutomationException
getDefaultAncillaryRoleField
in interface INetworkLoaderProps
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.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 |