com.esri.arcgis.geodatabase
Class INetTopologyEditGENProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.INetTopologyEditGENProxy
All Implemented Interfaces:
INetTopologyEditGEN, Externalizable, Serializable

public class INetTopologyEditGENProxy
extends com.esri.arcgis.interop.Dispatch
implements INetTopologyEditGEN, Serializable

Provides access to members that add and delete network elements from the logical network. INetTopologyEditGEN is generic version of INetTopologyEdit.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  INetTopologyEditGENProxy()
           
  INetTopologyEditGENProxy(Object obj)
           
protected INetTopologyEditGENProxy(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[] 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 getAdjacentEdge(int atJunctionEID, int index, int[] adjacentEdge, boolean[] reverseOrientation)
          Returns the network element ID of the index'th adjacent edge to the specified junction.
 int getAdjacentEdgeCount(int atJunctionEID)
          Returns the number of edges adjacent to the specified junction.
 void getAdjacentEdges(int atJunctionEID, int[][] adjacentEdges, boolean[][] reverseOrientation)
          Returns the network element IDs of all the edges adjacent to the specified junction.
 void getFromToJunctionEIDs(int edgeEID, int[] fromJunctionEID, int[] toJunctionEID)
          Returns the network element IDs of the junctions adjacent to the specified edge.
 void removeListener(String iidStr, Object theListener)
           
 
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
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

INetTopologyEditGENProxy

public INetTopologyEditGENProxy()

INetTopologyEditGENProxy

public INetTopologyEditGENProxy(Object obj)
                         throws IOException
Throws:
IOException

INetTopologyEditGENProxy

protected INetTopologyEditGENProxy(Object obj,
                                   String iid)
                            throws IOException
Throws:
IOException
Method Detail

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

getFromToJunctionEIDs

public void getFromToJunctionEIDs(int edgeEID,
                                  int[] fromJunctionEID,
                                  int[] toJunctionEID)
                           throws IOException,
                                  AutomationException
Returns the network element IDs of the junctions adjacent to the specified edge.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getFromToJunctionEIDs in interface INetTopologyEditGEN
Parameters:
edgeEID - The edgeEID (in)
fromJunctionEID - The fromJunctionEID (out: use single element array)
toJunctionEID - The toJunctionEID (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAdjacentEdgeCount

public int getAdjacentEdgeCount(int atJunctionEID)
                         throws IOException,
                                AutomationException
Returns the number of edges adjacent to the specified junction.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getAdjacentEdgeCount in interface INetTopologyEditGEN
Parameters:
atJunctionEID - The atJunctionEID (in)
Returns:
The adjacentEdgesCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAdjacentEdge

public void getAdjacentEdge(int atJunctionEID,
                            int index,
                            int[] adjacentEdge,
                            boolean[] reverseOrientation)
                     throws IOException,
                            AutomationException
Returns the network element ID of the index'th adjacent edge to the specified junction.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getAdjacentEdge in interface INetTopologyEditGEN
Parameters:
atJunctionEID - The atJunctionEID (in)
index - The index (in)
adjacentEdge - The adjacentEdge (out: use single element array)
reverseOrientation - The reverseOrientation (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAdjacentEdges

public void getAdjacentEdges(int atJunctionEID,
                             int[][] adjacentEdges,
                             boolean[][] reverseOrientation)
                      throws IOException,
                             AutomationException
Returns the network element IDs of all the edges adjacent to the specified junction.

Remarks

GetAdjacentEdges returns an array of the edges connected to the specified junction, along with their orientation.

A ReverseOrientation of True indicates that the Junction is at the To end of the edge, while False indicates the opposite.

INetTopologyEditGEN::GetAdjacentEdges is marked as hidden, since its functionality is similar to IForwardStarGEN::QueryAdjacentEdges(). Clients should use QueryAdjacentEdges in lieu of using INetTopologyEditGEN::GetAdjacentEdges.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getAdjacentEdges in interface INetTopologyEditGEN
Parameters:
atJunctionEID - The atJunctionEID (in)
adjacentEdges - The adjacentEdges (in/out: use single element array)
reverseOrientation - The reverseOrientation (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addJunction

public int addJunction(INetElementDescription junctionDescription)
                throws IOException,
                       AutomationException
Adds a junction element to the logical network.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
addJunction in interface INetTopologyEditGEN
Parameters:
junctionDescription - A reference to a com.esri.arcgis.geodatabase.INetElementDescription (in)
Returns:
The junctionEID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addEdgeByEndEIDs

public int addEdgeByEndEIDs(INetElementDescription edgeDescription,
                            int fromJunctionEID,
                            int toJunctionEID)
                     throws IOException,
                            AutomationException
Adds an edge element to the logical network between the specified junction elements.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
addEdgeByEndEIDs in interface INetTopologyEditGEN
Parameters:
edgeDescription - A reference to a com.esri.arcgis.geodatabase.INetElementDescription (in)
fromJunctionEID - The fromJunctionEID (in)
toJunctionEID - The toJunctionEID (in)
Returns:
The edgeEID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteByID

public void deleteByID(int userClassID,
                       int userID,
                       int userSubID,
                       int elementType)
                throws IOException,
                       AutomationException
Deletes the specified network element from the logical network.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
deleteByID in interface INetTopologyEditGEN
Parameters:
userClassID - The userClassID (in)
userID - The userID (in)
userSubID - The userSubID (in)
elementType - A com.esri.arcgis.geodatabase.esriElementType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteByEID

public void deleteByEID(int eID,
                        int elementType)
                 throws IOException,
                        AutomationException
Deletes the specified network element from the logical network.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
deleteByEID in interface INetTopologyEditGEN
Parameters:
eID - The eID (in)
elementType - A com.esri.arcgis.geodatabase.esriElementType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteByEIDs

public void deleteByEIDs(int elementType,
                         int[] elementEIDs)
                  throws IOException,
                         AutomationException
Deletes the specified network elements from the logical network.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
deleteByEIDs in interface INetTopologyEditGEN
Parameters:
elementType - A com.esri.arcgis.geodatabase.esriElementType constant (in)
elementEIDs - The elementEIDs (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.