com.esri.arcgis.geodatabase
Class ITopologyProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.ITopologyProxy
All Implemented Interfaces:
ITopology, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
ITopology2Proxy

public class ITopologyProxy
extends com.esri.arcgis.interop.Dispatch
implements ITopology, java.io.Serializable

Internal use class Proxy for COM Interface 'ITopology'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that control a topology.' 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
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITopology
IID, IIDc08348e2_5ac1_4d88_a2d0_b675317bb6cd
 
Constructor Summary
  ITopologyProxy()
          For internal use only
  ITopologyProxy(java.lang.Object obj)
           
protected ITopologyProxy(java.lang.Object obj, java.lang.String iid)
           
  ITopologyProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ITopologyProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addClass(IClass classToAdd, double weight, int xYRank, int zRank, boolean eventNotificationOnValidate)
          Add an object, feature, or attributed relationship class to the topology.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 ITopologyGraph getCache()
          The topology graph of the topology.
 double getClusterTolerance()
          The cluster tolerance of the topology.
 IPolygon getDirtyArea(IPolygon location)
          The dirty area polygon of the topology.
 IFeatureDataset getFeatureDataset()
          The feature dataset that contains the topology.
 int getMaximumGeneratedErrorCount()
          The maximum number of errors to generate when validating a topology.
 int getState()
          Indicates whether the topology is clean or not.
 int getTopologyID()
          The ID of the topology.
 void removeClass(IClass classToRemove)
          Remove an object, feature, or attributed relationship class to the topology.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 IEnvelope validateTopology(IEnvelope areaToValidate)
          Validate the specified area in the topology.
 
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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

ITopologyProxy

public ITopologyProxy(java.lang.String CLSID,
                      java.lang.String host,
                      com.esri.arcgis.interop.AuthInfo authInfo)
               throws java.net.UnknownHostException,
                      java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

ITopologyProxy

public ITopologyProxy()
For internal use only


ITopologyProxy

public ITopologyProxy(java.lang.Object obj)
               throws java.io.IOException
Throws:
java.io.IOException

ITopologyProxy

protected ITopologyProxy(java.lang.Object obj,
                         java.lang.String iid)
                  throws java.io.IOException
Throws:
java.io.IOException

ITopologyProxy

protected ITopologyProxy(java.lang.String CLSID,
                         java.lang.String iid,
                         java.lang.String host,
                         com.esri.arcgis.interop.AuthInfo authInfo)
                  throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getState

public int getState()
             throws java.io.IOException,
                    AutomationException
Indicates whether the topology is clean or not.

Specified by:
getState in interface ITopology
Returns:
A com.esri.arcgis.geodatabase.esriTopologyState constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validateTopology

public IEnvelope validateTopology(IEnvelope areaToValidate)
                           throws java.io.IOException,
                                  AutomationException
Validate the specified area in the topology.

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

getClusterTolerance

public double getClusterTolerance()
                           throws java.io.IOException,
                                  AutomationException
The cluster tolerance of the topology.

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

getCache

public ITopologyGraph getCache()
                        throws java.io.IOException,
                               AutomationException
The topology graph of the topology.

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

getFeatureDataset

public IFeatureDataset getFeatureDataset()
                                  throws java.io.IOException,
                                         AutomationException
The feature dataset that contains the topology.

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

addClass

public void addClass(IClass classToAdd,
                     double weight,
                     int xYRank,
                     int zRank,
                     boolean eventNotificationOnValidate)
              throws java.io.IOException,
                     AutomationException
Add an object, feature, or attributed relationship class to the topology.

Specified by:
addClass in interface ITopology
Parameters:
classToAdd - A reference to a com.esri.arcgis.geodatabase.IClass (in)
weight - The weight (in)
xYRank - The xYRank (in)
zRank - The zRank (in)
eventNotificationOnValidate - The eventNotificationOnValidate (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeClass

public void removeClass(IClass classToRemove)
                 throws java.io.IOException,
                        AutomationException
Remove an object, feature, or attributed relationship class to the topology.

Specified by:
removeClass in interface ITopology
Parameters:
classToRemove - A reference to a com.esri.arcgis.geodatabase.IClass (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaximumGeneratedErrorCount

public int getMaximumGeneratedErrorCount()
                                  throws java.io.IOException,
                                         AutomationException
The maximum number of errors to generate when validating a topology.

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

getTopologyID

public int getTopologyID()
                  throws java.io.IOException,
                         AutomationException
The ID of the topology.

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

getDirtyArea

public IPolygon getDirtyArea(IPolygon location)
                      throws java.io.IOException,
                             AutomationException
The dirty area polygon of the topology.

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