com.esri.arcgis.geodatabase
Class INetworkWorkspaceProxy
java.lang.Object
com.esri.arcgis.interop.Dispatch
com.esri.arcgis.geodatabase.INetworkWorkspaceProxy
- All Implemented Interfaces:
- INetworkWorkspace, Externalizable, Serializable
- Direct Known Subclasses:
- INetworkWorkspace2Proxy
public class INetworkWorkspaceProxy
- extends com.esri.arcgis.interop.Dispatch
- implements INetworkWorkspace, Serializable
Provides access to members that create and maintain information about logical networks.
Superseded By
INetworkWorkspace2
Remarks
The
INetworkWorkspace interface is used for creating and opening a logical network that does not have a corresponding geometric network. This may be necessary to model relationships that do not have a spatial representation. To create a geometric network from existing feature classes use the
INetworkLoader interface on the
NetworkLoader object.
When To Use
Use the INetworkWorkspace interface to open and create a logical network that does not have an associated geometric network.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Supported Platforms
Windows, Solaris, Linux
- See Also:
INetworkUpdate,
IForwardStar,
IGraph,
INetworkClass.getNetworkAncillaryRole(),
INetworkWorkspace,
INetworkClass.getGeometricNetwork(),
INetworkClass.getFieldToWeightMapping(int),
IUtilityNetwork,
INetwork,
Serialized Form
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Methods inherited from class com.esri.arcgis.interop.Dispatch |
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke |
INetworkWorkspaceProxy
public INetworkWorkspaceProxy()
INetworkWorkspaceProxy
public INetworkWorkspaceProxy(Object obj)
throws IOException
- Throws:
IOException
INetworkWorkspaceProxy
protected INetworkWorkspaceProxy(Object obj,
String iid)
throws IOException
- Throws:
IOException
addListener
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
- Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
- Throws:
IOException
removeListener
public void removeListener(String iidStr,
Object theListener)
throws IOException
- Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
- Throws:
IOException
createNetwork
public INetwork createNetwork(String networkName,
int networkType,
boolean buildNormalizedTables)
throws IOException,
AutomationException
- Creates a logical network.
Remarks
CreateNetwork should be used to create a logical network that is not associated with a geometric network. If you want to create a geometric network that with it's associated logical network, use:
The connectivity for the logical network is stored in a series of tables in the database. The actual connectivity is managed in a series of BLOBs.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Supported Platforms
Windows, Solaris, Linux
- Specified by:
createNetwork in interface INetworkWorkspace
- Parameters:
networkName - The networkName (in)networkType - A com.esri.arcgis.geodatabase.esriNetworkType constant (in)buildNormalizedTables - The buildNormalizedTables (in)
- Returns:
- A reference to a com.esri.arcgis.geodatabase.INetwork
- Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
openNetwork
public INetwork openNetwork(String networkName,
int networkType,
int networkAccess)
throws IOException,
AutomationException
- Opens a logical network.
Remarks
The OpenNetwork method should only be used to open a logical network that does not have any corresponding geometric network. Opening a logical network with a corresponding geometric network for the purposes of updating network elements, can lead to inconsistencies between the logical and geometric networks.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Supported Platforms
Windows, Solaris, Linux
- Specified by:
openNetwork in interface INetworkWorkspace
- Parameters:
networkName - The networkName (in)networkType - A com.esri.arcgis.geodatabase.esriNetworkType constant (in)networkAccess - A com.esri.arcgis.geodatabase.esriNetworkAccess constant (in)
- Returns:
- A reference to a com.esri.arcgis.geodatabase.INetwork
- Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
getNetworkNames
public IEnumBSTR getNetworkNames()
throws IOException,
AutomationException
- Returns an enumeration of the names of the logical networks within the current workspace.
Remarks
This method is not available in VisualBasic.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Supported Platforms
Windows, Solaris, Linux
- Specified by:
getNetworkNames in interface INetworkWorkspace
- Returns:
- A reference to a com.esri.arcgis.system.IEnumBSTR
- Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable- Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable- Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
- Throws:
IOException
ClassNotFoundException