com.esri.arcgis.geodatabase
Interface ITopologyClass

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
FeatureClass, ITopologyClassProxy

public interface ITopologyClass
extends java.io.Serializable

Provides access to topology class members.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Remarks

The ITopologyClass interface provides read-only access to the properties of feature classes in a Topology.  Most of these properties are specified when the feature class is added to the Topology.


Method Summary
 ITopology getTopology()
          The Topology associated with the class.
 double getWeight()
          The weight of the class in the topology.
 int getXYRank()
          The XY rank of the class in the topology.
 int getZRank()
          The Z rank of the class in the topology.
 boolean isEventNotificationOnValidate()
          Indicates if event notification is fired on validate.
 boolean isInTopology()
          Indicates if the class is in a topology.
 

Method Detail

getTopology

public ITopology getTopology()
                      throws java.io.IOException,
                             AutomationException
The Topology associated with the class.

Supported Platforms

Windows, Solaris, Linux

Remarks

Returns the Topology this FeatureClass is associated with.  A FeatureClass can be associated with only 1 Topology.

Returns:
A reference to a com.esri.arcgis.geodatabase.ITopology
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isInTopology

public boolean isInTopology()
                     throws java.io.IOException,
                            AutomationException
Indicates if the class is in a topology.

Returns:
The inTopology
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWeight

public double getWeight()
                 throws java.io.IOException,
                        AutomationException
The weight of the class in the topology.

Supported Platforms

Windows, Solaris, Linux

Remarks

The Weight of the feature class is a long between 1 and 10. This property is not currently implemented.

Returns:
The weight
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getXYRank

public int getXYRank()
              throws java.io.IOException,
                     AutomationException
The XY rank of the class in the topology.

Supported Platforms

Windows, Solaris, Linux

Remarks

The XYRank of a feature class in the topology is a long between 1 and 50.  It represents the relative accuracy of the features in the feature class with respect to their surrounding features.

Returns:
The xYRank
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getZRank

public int getZRank()
             throws java.io.IOException,
                    AutomationException
The Z rank of the class in the topology.

Supported Platforms

Windows, Solaris, Linux

Remarks

The ZRank of a feature class in the topology is a long between 1 and 50.  It represents the relative accuracy of the features in the feature class with respect to their surrounding features.  If a feature class is not Z aware it will return a ZRank of zero.

Returns:
The zRank
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEventNotificationOnValidate

public boolean isEventNotificationOnValidate()
                                      throws java.io.IOException,
                                             AutomationException
Indicates if event notification is fired on validate.

Supported Platforms

Windows, Solaris, Linux

Remarks

EventNotificationOnValidate returns a Boolean value indicating if the ITopologyClassEvents::OnValidate event is broadcast when the Topology of the participating feature class is validated.  The EventNotificationOnValidate property is only set when the feature class is added to the Topology and can only be set if the Topology is created programmatically.  Feature classes participating in topologies created with the use of the Topology Wizard in ArcCatalog, return False for EventNotificationOnValidate.

Returns:
The eventNotification
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.