com.esri.arcgis.geodatabase
Class TopologyNode

java.lang.Object
  extended by com.esri.arcgis.geodatabase.TopologyNode
All Implemented Interfaces:
ITopologyElement, ITopologyNode, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class TopologyNode
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITopologyElement, ITopologyNode

COM Class 'TopologyNode'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'Esri Topology Node object.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITopologyNode
IID, IIDd04b7154_4989_11d5_9fe9_00c04f6bdd7f, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITopologyElement
IID9a876db1_4a30_11d5_9fe9_00c04f6bdd7f
 
Constructor Summary
TopologyNode(java.lang.Object obj)
          Construct a TopologyNode using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 int getDegree()
          The number of edges entering and leaving this node.
 IEnumNodeEdge getEdges(boolean clockwise)
          The set of topological edges incident on this node.
 IGeometry getGeometry()
          The geometry of the topology element.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IEnumTopologyParent getParents()
          The set of parents (features) of this topology element.
 int hashCode()
          the hashcode for this object
 boolean isDegreeKnown()
          Indicates if the degree of this node is known.
 boolean isDeleted()
          Indicates if this element has been deleted from its containing topology graph.
 boolean isSelected()
          Indicates if this element is part of its containing topology graph's selected set.
 boolean isVisited()
          Indicates if the topology element has been visited.
 void queryGeometry(IGeometry geometry)
          Copies the element's geometry into the specified geometry.
 void release()
          Release a TopologyNode.
 void setVisited(boolean isVisited)
          Indicates if the topology element has been visited.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopologyNode

public TopologyNode(java.lang.Object obj)
             throws java.io.IOException
Construct a TopologyNode using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to TopologyNode.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
TopologyNode o = (TopologyNode)obj; // will not work

TopologyNode o = new TopologyNode(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems TopologyNode theTopologyNode = (TopologyNode) obj;
Method Detail

equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a TopologyNode.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getGeometry

public IGeometry getGeometry()
                      throws java.io.IOException,
                             AutomationException
The geometry of the topology element.

Specified by:
getGeometry in interface ITopologyElement
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSelected

public boolean isSelected()
                   throws java.io.IOException,
                          AutomationException
Indicates if this element is part of its containing topology graph's selected set.

Specified by:
isSelected in interface ITopologyElement
Returns:
The selected
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryGeometry

public void queryGeometry(IGeometry geometry)
                   throws java.io.IOException,
                          AutomationException
Copies the element's geometry into the specified geometry.

Specified by:
queryGeometry in interface ITopologyElement
Parameters:
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDeleted

public boolean isDeleted()
                  throws java.io.IOException,
                         AutomationException
Indicates if this element has been deleted from its containing topology graph.

Specified by:
isDeleted in interface ITopologyElement
Returns:
The deleted
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParents

public IEnumTopologyParent getParents()
                               throws java.io.IOException,
                                      AutomationException
The set of parents (features) of this topology element.

Specified by:
getParents in interface ITopologyElement
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTopologyParent
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVisited

public boolean isVisited()
                  throws java.io.IOException,
                         AutomationException
Indicates if the topology element has been visited.

Specified by:
isVisited in interface ITopologyElement
Returns:
The isVisited
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVisited

public void setVisited(boolean isVisited)
                throws java.io.IOException,
                       AutomationException
Indicates if the topology element has been visited.

Specified by:
setVisited in interface ITopologyElement
Parameters:
isVisited - The isVisited (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEdges

public IEnumNodeEdge getEdges(boolean clockwise)
                       throws java.io.IOException,
                              AutomationException
The set of topological edges incident on this node.

Specified by:
getEdges in interface ITopologyNode
Parameters:
clockwise - The clockwise (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumNodeEdge
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDegree

public int getDegree()
              throws java.io.IOException,
                     AutomationException
The number of edges entering and leaving this node. Closed edges are counted twice.

Specified by:
getDegree in interface ITopologyNode
Returns:
The degree
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDegreeKnown

public boolean isDegreeKnown()
                      throws java.io.IOException,
                             AutomationException
Indicates if the degree of this node is known. Nodes constructed from edges that are partially outside the build extent have unknown degrees.

Specified by:
isDegreeKnown in interface ITopologyNode
Returns:
The degreeKnown
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.