com.esri.arcgis.location
Class GeocodedFeatureClassExtension

java.lang.Object
  extended by com.esri.arcgis.location.GeocodedFeatureClassExtension
All Implemented Interfaces:
IClassExtension, IFeatureClassExtension, IObjectClassExtension, IRelatedObjectClassEvents, com.esri.arcgis.interop.RemoteObjRef, IGeocodedFeatureClass, ISupportErrorInfo, java.io.Serializable

public class GeocodedFeatureClassExtension
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IClassExtension, IObjectClassExtension, IFeatureClassExtension, IRelatedObjectClassEvents, IGeocodedFeatureClass, ISupportErrorInfo

COM Class 'GeocodedFeatureClassExtension'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriLocation.olb'

Description 'A class extension for automatically maintaining geocoded feature classes.' 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.IObjectClassExtension
IID, IID01b7e2d1_e2ee_11d2_8a56_000000000000, xxDummy
 
Fields inherited from interface com.esri.arcgis.location.IGeocodedFeatureClass
IID, IID0c79caa6_cdef_11d3_9f6e_00c04f8ed1c4, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
GeocodedFeatureClassExtension()
          Constructs a GeocodedFeatureClassExtension using ArcGIS Engine.
GeocodedFeatureClassExtension(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeocodedFeatureClassExtension theGeocodedFeatureClassExtension = (GeocodedFeatureClassExtension) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 void geocodeAddress(IObject address, IFeature result)
          Updates the geocoded feature.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void init(IClassHelper classHelper, IPropertySet extensionProperties)
          Initializes the extension, passing in a reference to its class helper.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean needsUpdate(IObject address, IFeature shape)
          Indicates if a geocoded feature needs to be updated.
 void relatedObjectCreated(IRelationshipClass relationshipClass, IObject objectThatWasCreated)
          Notifies this object class that a related object was created.
 void release()
          Release a GeocodedFeatureClassExtension.
 void shutdown()
          Informs the extension that its class helper is going away.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeocodedFeatureClassExtension

public GeocodedFeatureClassExtension()
                              throws java.io.IOException,
                                     java.net.UnknownHostException
Constructs a GeocodedFeatureClassExtension using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GeocodedFeatureClassExtension

public GeocodedFeatureClassExtension(java.lang.Object obj)
                              throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeocodedFeatureClassExtension theGeocodedFeatureClassExtension = (GeocodedFeatureClassExtension) obj;

Construct a GeocodedFeatureClassExtension using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GeocodedFeatureClassExtension.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


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 GeocodedFeatureClassExtension.

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

init

public void init(IClassHelper classHelper,
                 IPropertySet extensionProperties)
          throws java.io.IOException,
                 AutomationException
Initializes the extension, passing in a reference to its class helper.

Remarks

If a reference to the class is required by other class extension members, the class helper should be stored in a member variable. Storing an object or feature class directly within a class extension is strongly discouraged.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
init in interface IClassExtension
Parameters:
classHelper - A reference to a com.esri.arcgis.geodatabase.IClassHelper (in)
extensionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdown

public void shutdown()
              throws java.io.IOException,
                     AutomationException
Informs the extension that its class helper is going away.

Remarks

Shutdown is called when the extension's class is cleared from the client's memory, or when the extension is removed from the class. Note that if a class is deleted from a geodatabase, it may remain in memory, so this should not be relied upon for behavior that should be triggered by a class' deletion.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
shutdown in interface IClassExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

relatedObjectCreated

public void relatedObjectCreated(IRelationshipClass relationshipClass,
                                 IObject objectThatWasCreated)
                          throws java.io.IOException,
                                 AutomationException
Notifies this object class that a related object was created.

Remarks

The RelationshipClass argument is useful for establishing new relationships. Since an object class may often participate in many relationships, the properties of RelationshipClass can be used to modify behavior of this method.

In order for this method to be called, the relationship class must have messaging set. If the object class which this class extension is associated with is the origin class in the relationship class, then the messaging should be set to Backward or Both. If the object class is the destination class in the relationship, then messaging should be set to Forward or Both.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
relatedObjectCreated in interface IRelatedObjectClassEvents
Parameters:
relationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
objectThatWasCreated - A reference to a com.esri.arcgis.geodatabase.IObject (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

needsUpdate

public boolean needsUpdate(IObject address,
                           IFeature shape)
                    throws java.io.IOException,
                           AutomationException
Indicates if a geocoded feature needs to be updated.

Specified by:
needsUpdate in interface IGeocodedFeatureClass
Parameters:
address - A reference to a com.esri.arcgis.geodatabase.IObject (in)
shape - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
Returns:
The bNeedsUpdate
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

geocodeAddress

public void geocodeAddress(IObject address,
                           IFeature result)
                    throws java.io.IOException,
                           AutomationException
Updates the geocoded feature.

Specified by:
geocodeAddress in interface IGeocodedFeatureClass
Parameters:
address - A reference to a com.esri.arcgis.geodatabase.IObject (in)
result - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.