|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.NetworkWorkspace
public class NetworkWorkspace
A container for creating and maintaining information about the logical networks in this workspace.
The NetworkWorkspace is a type of Workspace used to create and open logical networks in a geodatabase. You access the NetworkWorkspace by QI to the INetworkWorkspace interface of a Workspace.
Constructor Summary | |
---|---|
NetworkWorkspace(Object obj)
Construct a NetworkWorkspace using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
INetwork |
createNetwork(String networkName,
int networkType,
boolean buildNormalizedTables)
Creates a logical network. |
INetwork |
createNetworkEx(String networkName,
int networkType,
boolean buildNormalizedTables,
String configKeyword,
int formatNum)
Creates a logical network based on the specified configuration keyword. |
boolean |
equals(Object o)
Compare this object with another |
int |
getFormatNumber(int index)
The specified format number. |
int |
getFormatNumberCount()
The count of valid format numbers. |
int |
getMaxStorableClassID(int formatNum)
Returns the maximum storable feature class ID for the given format number. |
IEnumBSTR |
getNetworkNames()
Returns an enumeration of the names of the logical networks within the current workspace. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
INetwork |
openNetwork(String networkName,
int networkType,
int networkAccess)
Opens a logical network. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public NetworkWorkspace(Object obj) throws IOException
obj
to NetworkWorkspace
. *
NetworkWorkspace o = (NetworkWorkspace)obj; // will not work
NetworkWorkspace o = new NetworkWorkspace(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
NetworkWorkspace theNetworkWorkspace = (NetworkWorkspace) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public INetwork createNetwork(String networkName, int networkType, boolean buildNormalizedTables) throws IOException, AutomationException
createNetwork
in interface INetworkWorkspace
networkName
- The networkName (in)networkType
- A com.esri.arcgis.geodatabase.esriNetworkType constant (in)buildNormalizedTables
- The buildNormalizedTables (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INetwork openNetwork(String networkName, int networkType, int networkAccess) throws IOException, AutomationException
openNetwork
in interface INetworkWorkspace
networkName
- The networkName (in)networkType
- A com.esri.arcgis.geodatabase.esriNetworkType constant (in)networkAccess
- A com.esri.arcgis.geodatabase.esriNetworkAccess constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumBSTR getNetworkNames() throws IOException, AutomationException
getNetworkNames
in interface INetworkWorkspace
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFormatNumberCount() throws IOException, AutomationException
getFormatNumberCount
in interface INetworkWorkspace2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFormatNumber(int index) throws IOException, AutomationException
getFormatNumber
in interface INetworkWorkspace2
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMaxStorableClassID(int formatNum) throws IOException, AutomationException
getMaxStorableClassID
in interface INetworkWorkspace2
formatNum
- The formatNum (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INetwork createNetworkEx(String networkName, int networkType, boolean buildNormalizedTables, String configKeyword, int formatNum) throws IOException, AutomationException
createNetworkEx
in interface INetworkWorkspace2
networkName
- The networkName (in)networkType
- A com.esri.arcgis.geodatabase.esriNetworkType constant (in)buildNormalizedTables
- The buildNormalizedTables (in)configKeyword
- The configKeyword (in)formatNum
- The formatNum (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
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 |