|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabase.INetTopologyProxy com.esri.arcgis.geodatabase.INetTopologyEditProxy
public class INetTopologyEditProxy
Provides access to members that add and delete network elements from the logical network.
Use the INetTopologyEdit interface to add and delete elements from a logical network.
This interface is designed specifically for the editing of a stand-alone logical network, a logical network that does not have an associated geometric network. It is imperative that if you have a geometric network, the logical network must be edited through its associated geometric network. You risk data corruption if you use the INetTopologyEdit interface on logical networks that have an associated geometric network. When a feature is created or removed in the geometric network, the corresponding element in the logical network is added or deleted as well.
The logical network maintains its own topology for the purpose of faster access. Directly manipulating the logical network's topology will cause the features in the geometric network to be out of sync with the topology maintained by the logical network.
INetTopologyEdit
,
Not all members are callable from Java. Please use INetTopologyEditGEN instead.
,
Serialized FormField Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
INetTopologyEditProxy()
|
|
INetTopologyEditProxy(Object obj)
|
protected |
INetTopologyEditProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
int |
addEdgeByEndEIDs(INetElementDescription edgeDescription,
int fromJunctionEID,
int toJunctionEID)
Adds an edge element to the logical network between the specified junction elements. |
int |
addJunction(INetElementDescription junctionDescription)
Adds a junction element to the logical network. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
deleteByEID(int eID,
int elementType)
Deletes the specified network element from the logical network. |
void |
deleteByEIDs(int elementType,
int elementCount,
int[] elementEIDs)
Deletes the specified network elements from the logical network. |
void |
deleteByID(int userClassID,
int userID,
int userSubID,
int elementType)
Deletes the specified network element from the logical network. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.geodatabase.INetTopologyProxy |
---|
getAdjacentEdge, getAdjacentEdgeCount, getAdjacentEdges, getFromToJunctionEIDs |
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, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.geodatabase.INetTopology |
---|
getAdjacentEdge, getAdjacentEdgeCount, getAdjacentEdges, getFromToJunctionEIDs |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public INetTopologyEditProxy()
public INetTopologyEditProxy(Object obj) throws IOException
IOException
protected INetTopologyEditProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class INetTopologyProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class INetTopologyProxy
IOException
public int addJunction(INetElementDescription junctionDescription) throws IOException, AutomationException
The value returned by AddJunction is the Element ID (EID) for the newly created junction. This value is unique.
Unlike edges, a junction can exist in a logical network without attachment to any edges. When a junction exits in this state (once it has been created using this function call), it is not connected to any other portion of the network, but may have edges connected to it so that it will be part of the network.
Only use this method on stand-alone logical networks.
addJunction
in interface INetTopologyEdit
junctionDescription
- A reference to a com.esri.arcgis.geodatabase.INetElementDescription (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int addEdgeByEndEIDs(INetElementDescription edgeDescription, int fromJunctionEID, int toJunctionEID) throws IOException, AutomationException
AddEdgeByEndEIDs adds a new edge between the specified junctions. The value returned by AddEdgeByEndEIDs is the Element ID (EID) for the newly created edge. This value is unique.
Define the parameters of the edge to add in the INetElementDescription object that you pass in.
Only use this method on stand-alone logical networks.
addEdgeByEndEIDs
in interface INetTopologyEdit
edgeDescription
- A reference to a com.esri.arcgis.geodatabase.INetElementDescription (in)fromJunctionEID
- The fromJunctionEID (in)toJunctionEID
- The toJunctionEID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteByID(int userClassID, int userID, int userSubID, int elementType) throws IOException, AutomationException
DeleteByID removes the specified feature from the network. Only use this method to remove elements from stand-alone logical networks.
deleteByID
in interface INetTopologyEdit
userClassID
- The userClassID (in)userID
- The userID (in)userSubID
- The userSubID (in)elementType
- A com.esri.arcgis.geodatabase.esriElementType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteByEID(int eID, int elementType) throws IOException, AutomationException
DeleteByEID removes the specified element from the network. Only use this method on a stand-alone logical network.
deleteByEID
in interface INetTopologyEdit
eID
- The eID (in)elementType
- A com.esri.arcgis.geodatabase.esriElementType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteByEIDs(int elementType, int elementCount, int[] elementEIDs) throws IOException, AutomationException
DeleteByEIDs removes the specified array of elements from the network.
Only use this method on stand-alone logical networks.
This method is not callable from Java. Please use INetTopologyEditGEN::DeleteByEIDs.
deleteByEIDs
in interface INetTopologyEdit
elementType
- A com.esri.arcgis.geodatabase.esriElementType constant (in)elementCount
- The elementCount (in)elementEIDs
- The elementEIDs (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 |